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

problem with spi transfer for nrf52832 and nrf52840

Hi

I am developing with nrf52832 development board and sdk17. I'm trying to communicate with redpine rs9116w through spi but get some problems.

I have an other nrf52840 development board. Using the same code and same configuration file (the only difference is the makefile), the nrf52840 board is able to transfer data through spi. However, for the nrf52832 board, the program stuck at 

while (!nrf_spim_event_check(p_spim, NRF_SPIM_EVENT_END)){}
and never exist.

I want to use the nrf52832 board so I'm wondering what caused this problem. Is there some problem with my configuration file? Or what is difference between nrf52832 and nrf52840 will cause the spi not working? Below is my configuration file.

7288.sdk_config.h

Related