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

Multiple Instances of SPI doesn't seem to be working.

Hi Everyone

I am trying to use 2 instances of SPI SPI0 AND SPI2 for Epaper Display and MCP2515 CAN bus module respectively. 

Epaper and CAN are working fine if one of them is run. However if i run both of them , only one of the Peripherals work either CAN or the EPAPER.

What can be the possible reason for this behaviour.

I am suing SDK 15.0 with S140 Softdevice on Segger Embedded Studio on NRF52840.

Thanks 

Rajat!

Parents Reply
  •  So far we are not using the Epaper, But still i would like to let you know that 

    The problem was whenever i remove the Epaper, then CAN Works 

    But whenever i connect the epaper , CAN initalization gets failed. 

    I saw on logic analyzer which showed me that Epaper was causing the BUSY(MISO) pin to be low and hence instead of data that was supposed to be on MISO Lines , it became 0 .

    So CAN  Initilazation failed.

    Do You have any workaround for this in your mind?

    Thanks!

Children
Related