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?
UART2 Not Working
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel