UART2 Not Working

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
MarkW
Flowcode v5 User
Posts: 118
Joined: Thu Sep 17, 2009 1:30 pm
Has thanked: 3 times
Been thanked: 11 times
Contact:

UART2 Not Working

Post by MarkW »

Hello

Been using a 18F46K22 for sometime now in TQFP package, without any problems.

Using FC6.1.2.0

changed chip package to smallest one UQFP, but now the uart2 TX is not working.
i can toggle the pin as a I/O no problem, but when i try send a string there is
nothing doing....same code....nothing changed.

Pretty stumped by this....anybody know?

The pin is both same for both packages, TX2 is port RD6, so i think theres
an issue with the compiler....for some reason?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: UART2 Not Working

Post by Benj »

Hello,

The silicone processor core inside the TQFP and UQFP packages will be identical. So if code runs fine on one type it should also run fine on the other. The compiler doesn't know which package you're using and so I can't see how this could be causing problems.

On the smaller package is it possible that maybe some of the power supply pins are shorted or disconnected? This may lead to some things running ok but others not.

It might also be worth checking the Microchip Errata document for the device to see if there are any known issues.

Post Reply