This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Creating Two SPI instances for same slave

We are using NRF52832, SDK 11.0.0.2 alpha, S132 soft Device ,I need some clarifications on using SPI,

  1. In nrf52832 SPI Master driver is it possible to create two SPI instances for the same slave device.
  2. If Yes is it possible to configure the instance as one for DMA transactions(USE_EASY_DMA==1) and the other for normal SPI transactions(USE_EASY_DMA==0).
Parents
  • Are you going to use the same pins (MISO, MOSI, SCK, CS) for both SPI instances? If so it will most likely not work unless you always makes sure that the two instances doesn't use the pins at the same time. If you are not going to use the same pins, using two SPI instances for the same slave device is just fine.

Reply
  • Are you going to use the same pins (MISO, MOSI, SCK, CS) for both SPI instances? If so it will most likely not work unless you always makes sure that the two instances doesn't use the pins at the same time. If you are not going to use the same pins, using two SPI instances for the same slave device is just fine.

Children
No Data
Related