16F88 is not the dream device I thought it was.


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2003
    Posts
    432

    Unhappy 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

  2. #2
    tdavis80's Avatar
    tdavis80 Guest


    Did you find this post helpful? Yes | No

    Cool

    Howdy,

    I see that you made this post a month ago. I am not sure if you still are active on this board. I also just started reading about this chip, mainly because of the boot loader capability. I am currently using 16f628a chips with boards (with max232 installed) and thought 'wow, I can simply swap processors'. BUT, moving some of the pins around forces me to not use the 16f88 for now.

    Since the 16f88 does not appear to be an exact match up with the 16f628, does it in reality match up with some other older chip?

  3. #3
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tdavis80
    I see that you made this post a month ago. I am not sure if you still are active on this board.

    Since the 16f88 does not appear to be an exact match up with the 16f628, does it in reality match up with some other older chip?
    I'm still here. Not posting that much but reading and bookmarking lots of stuff.

    During the last week I have got a Keypad multiplexed with an LCD,
    got a rotary encoder working,
    and have tried out Melanie's 1307 RTC code having modified it to run on an 18F452.

    Gradually getting all the building blocks ready for my "big" project.

    I still havent used the 16F88 yet as I havent bothered building up a board for it. I was hoping to drop it into my existing PCB's but the different pinouts killed that idea stone dead
    Keith

    www.diyha.co.uk
    www.kat5.tv

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    keithdoxey, I thought I would be on the cutting edge and use the 18F1320 device because of the self program eeprom feature but had many problems with the oscillator circuitry. I fought these problems for months readin g all of the errata sheets. Finally I gave up and went to the 16F88 and to this day have never looked back. The F88 has all the same features as the 1320 except the 4xPLL for the oscillator. I just thought I would add my 2 cents....

    Dave Purola,
    N8NTA

  5. #5
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dave
    Finally I gave up and went to the 16F88 and to this day have never looked back.I just thought I would add my 2 cents....
    Hi Dave,

    I'm sure the 16F88 is a very good device and I will definately be using it in a design that I am working on at the moment. My disappointment was not with the features of the device but the fact that several dedicated hardware pins have shifted places from the 16F628 that I already use meaning that an easy upgrade to a bootloadable device want possible.

    If the hardware pins for existing features had been kept compatible with the 16F628 then it would have been just perfect. For new designs it doesnt really matter where the pins are but when you already have PCB's designed and in use then it does become an issue.

    Regards
    Keith

    www.diyha.co.uk
    www.kat5.tv

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    keithdoxey, If the PCB has some complexity to it and you have many already made why not think about a small transition pcb that has a pin header to plug into the exsisting PCB processor socket, and a socket for the new processor? I have done this in the past for upgrades of old PCB rev's during the transition to new artwork. The small pcb wouldn't be much bigger than the exsisting processor.

    Dave Purola,
    N8NTA

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. RF Modules
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 26th June 2010, 17:42
  3. Device Resets / erratic operation - 16F88
    By turbokinetic in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 11th April 2009, 03:08
  4. 16F88 and TMR0 Interrupt - where's the fish?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 5th November 2007, 06:54
  5. @ Device Parameters
    By Randy_Suwanee in forum General
    Replies: 2
    Last Post: - 11th August 2004, 14:40

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts