This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CRC for nRF8001 Setup Message

Hi,

I have a problem in CRC of setup message for nRF8001, and I already try the CCITT-16 algorithm with below conditions:

Poly = 0x1021, Init = 0xFFFF, Ignore all Zero, exclude last 2 bytes

but still got an incorrect CRC16 value.

Could you please provide more CRC details or source code for me?

Cheers, JASON

Parents
  • Hi, I also have a problem of "CRC mismatch" during nRF8001 setup data loading. The nRF8001 seems to read the configuration fine except it throws a "ACI_STATUS_ERROR_CRC_MISMATCH" in the end. I am using Arduino SDK and the "ble_heart_rate_template" example, nRF8001 D chip.

    Below is the verbose output of ACI library.

    Why is nRF8001 throwing this error?

    Cheers, Clément.

    ACI lib verbose output:
    
    Arduino setup
     E4 :4, 81, 2, 0, 2,
    Evt Device Started: Setup
    C7 :7, 6, 0, 0, 3, 2, 41, FE,
    [...]
     E3 :3, 84, 6, 1,
     E3 :3, 84, 6, 88,
    ACI Status of ACI Evt Cmd Rsp 0x88
    ACI Command 0x6
    Evt Cmd respone: Error. Arduino is in an while(1); loop
    
Reply
  • Hi, I also have a problem of "CRC mismatch" during nRF8001 setup data loading. The nRF8001 seems to read the configuration fine except it throws a "ACI_STATUS_ERROR_CRC_MISMATCH" in the end. I am using Arduino SDK and the "ble_heart_rate_template" example, nRF8001 D chip.

    Below is the verbose output of ACI library.

    Why is nRF8001 throwing this error?

    Cheers, Clément.

    ACI lib verbose output:
    
    Arduino setup
     E4 :4, 81, 2, 0, 2,
    Evt Device Started: Setup
    C7 :7, 6, 0, 0, 3, 2, 41, FE,
    [...]
     E3 :3, 84, 6, 1,
     E3 :3, 84, 6, 88,
    ACI Status of ACI Evt Cmd Rsp 0x88
    ACI Command 0x6
    Evt Cmd respone: Error. Arduino is in an while(1); loop
    
Children
Related