16F88 is not the dream device I thought it was.
Hi All,
When I first saw the features of the 16F88 it seemed like the perfect device to use in my existing project which currently has a 16F628A.
I thought adding the ability for a bootloader would be superb but having examined it more closely I have realised it has a number of shortcomings when used with PBP.
My project currently uses the 628's Comparators and I also use the USART. In addition to that I have an LCD display connected.
Now the problem.....
Microchip in their "wisdom" have seen fit to move the USART to different pins
16F88 = RX on RB2 and TX on RB5
16F628 = RX on RB1 and TX on RB2
initially meaning that the PCB needs to be reworked but more significantly I cant see an easy way to connect an LCD as the USART is split across the lower and upper half of PortB.
I notice that the SSP is also split across the lower and upper half of PortB.
PortA is currently not an option as that port is being used for Analogue.
Is there an easy way of getting an LCD to work?
The only ways I can see for my project are.....
1. Use portA 0-3 for the LCD and use AN4, AN5 or AN6 for the analogue.
2. Use a serial LCD and SEROUT to drive it from a spare pin
3. Use an additonal PIC to create my own Serial LCD.
4. Write my own LCDOUT routine that would allow non-continuous pins to be used.
Non of the above options are particularly appealing.
What on earth made Microchip assign hardware devices to pins spread across a whole port?
Regards
Keith
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks