Enable 4 SPI instances in nrf52840

Hi,

I am using nrf52840. we have already used 3 SPI instance (SPIM1, SPIM 2, SPIM 3). wanted to use one more SPI instance i.e. SPIM 0. but if I enable this I am getting                                                                                                                                                                                                                                                                                                                                                             " 'NRF_DRV_SPI_INSTANCE_SPI_INSTANCE_0' undeclared here (not in a function)" this error. 

can you please help us to solve this issue.

Thank you,

Shreya 

Related