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

propreitary RF send data from 51822 to 52840

I'm sending Data from nRF51822 to nRF24L01.

The configuration of the nRF51822 is

NRF_RADIO->PREFIX0 = 0x43434343UL;
NRF_RADIO->BASE0   = 0x43434343UL;

The address of the 24L01 is 0x2C2C2C2C2C

This is working perfect.



Now I need to replace the 24L01 by the nRF52840
How to adjust the Address of the nRF5280

uint8_t base_addr_0[4] =  {0x2C, 0x2C, 0x2C, 0x2C};
uint8_t base_addr_1[4] = {0x2C, 0x2C, 0x2C, 0x2C};
uint8_t addr_prefix[8] = {0x2C, 0x2C, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8 };

is not working.

( but maybe there is a problem in my software somewhere else ...)

Parents
  • Hi Kenneth,

    I'm able to receive Data from 51822 -> to 52840 now.

    But it seems that my Payload is shifted 2 Bytes to the left, that

    the

    received rx_payload.data[0] holds the data of the send data[2]

    received rx_payload.data[1] holds the data of the send data[3]

    received rx_payload.data[2] holds the data of the send data[4]

    ...

    received rx_payload.data[14] = 0x00

    received rx_payload.date[15] = 0x00

    how to shift the rx_payload data 2bytes to the right ?

    do I have to use S0 / LENGHTH / S1 for this ?

    best regards wenne

Reply
  • Hi Kenneth,

    I'm able to receive Data from 51822 -> to 52840 now.

    But it seems that my Payload is shifted 2 Bytes to the left, that

    the

    received rx_payload.data[0] holds the data of the send data[2]

    received rx_payload.data[1] holds the data of the send data[3]

    received rx_payload.data[2] holds the data of the send data[4]

    ...

    received rx_payload.data[14] = 0x00

    received rx_payload.date[15] = 0x00

    how to shift the rx_payload data 2bytes to the right ?

    do I have to use S0 / LENGHTH / S1 for this ?

    best regards wenne

Children
Related