Addressable USART 16F628A


Results 1 to 5 of 5

Threaded View

  1. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    >> so I can store the ID in the EEPROM or load it upon start up as a lookup table

    Might be difficult to modify the program each time you program a new chip.
    Maybe you could Poll the master (if there is one) for a new unique ID, and store that in EEPROM. Could be tricky if 10 devices all want an ID at the same time though.

    The ID Locations (4 bytes) aren't much use on the 16F's. The program can't read them. You can only read/write them with a programmer.
    On the 18F's (8 bytes), the program can read/write the ID's (with a little help).

    Along with the Config words, this program can read/write the ID Locations too.
    Added: And some programmers can auto-increment the ID's

    Run-Time Config
    http://www.picbasic.co.uk/forum/showthread.php?t=4093
    Last edited by Darrel Taylor; - 9th July 2007 at 01:53. Reason: Added
    DT

Similar Threads

  1. byte Tx w/ USART 16f876a problem
    By GargamelDigi in forum mel PIC BASIC
    Replies: 2
    Last Post: - 15th July 2008, 05:50
  2. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  3. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07
  4. 9 bit addressable USART
    By barkerben in forum General
    Replies: 9
    Last Post: - 4th January 2005, 22:57
  5. Replies: 5
    Last Post: - 1st December 2004, 12:49

Members who have read this thread : 0

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