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

How can I make nrf52832 talk to Microbit by RADIO (Gazell) ?

I see that BBC Micro:bit uses nrf51822 and can use RADIO peripheral.

So I tried to make my nrf52832 DK to talk to Micro:bit by using Gazell library and referencing MicroBitRadio of Github.

(nrf5 SDK version is 14.0)

But it cannot get any data packet. (No "nrf_gzll_host_rx_data_ready" callback)

    #define MICROBIT_RADIO_BASE_ADDRESS 0x75626974
    
    // in main() function, I have added the followings before enable gazell.
    GAZELLE_ERROR_CODE_CHECK(nrf_gzll_set_base_address_0(MICROBIT_RADIO_BASE_ADDRESS));
    GAZELLE_ERROR_CODE_CHECK(nrf_gzll_set_address_prefix_byte(0, 0));// pipe, address_prefix_byte

How can I do this ? Is there any mistakes ?

I made a test code as the attached zip

by modifying \nRF5_SDK_14.0.0_3bcc1f7\examples\proprietary_rf\gzll\gzll_ack_payload\host.

Micro:bit code is here.

makecode.microbit.org/_EJJcxY5C2d6k

Other references:

github.com/.../MicroBitRadio.cpp

https://github.com/lancaster-university/microbit-dal/blob/master/inc/drivers/MicroBitRadio.h

https://tech.microbit.org/hardware/#low-level-radio-communications

host_test.zip

Parents Reply Children
No Data
Related