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

Issue regarding spi register settings

I am trying to establish communication using SPIM. when I checked the macro definition of NRFX_SPIM0_ENABLED it's present in apply_old_config.h. I am using nrfx_spim driver file to establish spi communication.

Can you please explain why the nrfx_spim is taking macro definitions from apply_old_config.h. I tried to make NRFX_SPIM0_ENABLED macro as 1 available in sdkconfig.h but it is not working. 

Thanks in advance.

Regards

uday

Parents
  • Please try to remove all legacy defines related to SPI from sdk_config.h file and keep only nrfx ones.

    You will have your problems as long as you have SPI_ENABLED defined in the sdk_config file (doesn't matter if set to 0 or 1).

Reply
  • Please try to remove all legacy defines related to SPI from sdk_config.h file and keep only nrfx ones.

    You will have your problems as long as you have SPI_ENABLED defined in the sdk_config file (doesn't matter if set to 0 or 1).

Children
No Data