How to calculate CRC16 checksum for iButton


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Daer Andre
    can you please post the circuit schematic for such code?

    i want to know what is the use for the
    PORTB.4 = 1
    PORTB.5 = 0

    any clue?

    best regards

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Have you read the document emplementing modbus on serial comms,
    You can get it at www.modbus.org

  3. #3
    Join Date
    Feb 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Dear Andre

    yes i have the modbus specification.

    but these pins or at least PortB.5 is not something related to the specification,i think it is related to RS485 handshaking (correct me if i am wrong).

    is it correct?and which pin it is connected to?

  4. #4


    Did you find this post helpful? Yes | No

    Talking

    Sorry for the delay
    Yes pin portb.5 is for rs485 communication but this part is not working yet still need to try and find out why
    ps. any idea why it does not work
    Portb.4 is only showing running
    Hope this help

Similar Threads

  1. Checksum
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th October 2009, 04:09
  2. Calculate Byte Value Checksum in PBP Pro
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th July 2009, 22:50
  3. Dallas CRC16 Routines
    By Tom Estes in forum Code Examples
    Replies: 0
    Last Post: - 16th May 2005, 15:29
  4. Checksum problem!
    By atomski in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd November 2004, 07:21
  5. Checksum / CRC8 / CRC16
    By treitmey in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2003, 14:40

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