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

Point to point communication using 802.15.4 between nRf52840 and CC2530?

Where to start? Is it possible?

I need to send data between the two chips using 802.15.4.

There is no need to form a network.

I was looking at the Wireless Uart example in SDK 15. It looks like what we need, but I am not sure how to add more functionality.

Is it by updating the "m_transition_table"?

We need to change the 15.4 channels with UART commands.

Thanks

  • Hello, 

    I was thinking that the problem was in a file that is part of the 802.15.4 library, that is what I meant with " I don't have the source files".  The problem was that we handle the 15.4 packet structure differently so I was able to fix it by modifying mcps_data_ind() function.

    Now I have another question:

    How can I use both UARTE on the chip. The reason I'm asking is that hal_uart.h says" /**< UART module number. By now zero is the only option.*/" .

    Does this mean that with the provided drivers we can instantiate only UARTE0 ?

    Some of our applications require both UARTs working.

    Thanks

  • Hello,

    Sorry for the late reply. I assume that it is possible to use both of the UARTs with the 802.15.4 driver, but I am not sure exactly how. I have forwarded your question to someone who has worked with these drivers, and I will let you know as soon as I hear back from them. Again, sorry for the delay.

     

    BR,

    Edvin

  • Hello,

    Received a response today:

    The 802.15.4 library uses some old uart hal files that was built for an older SDK when the nRF52 only supported one physical UART, so in this API, it is only possible to use one physical UART at the time. 

    The suggested solution is to use one UART using the 802.15.4 driver, and another using the later versions of nrf_drivers for UART, found in some of the later SDKs (preferably SDK15).

     

    Best regards,

    Edvin

Related