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

[nRF51422] SPI Slave solution

Hello,

I'm using an external chip that decodes my RF transmission and outputs the data on two pins DAT, and CLK (data and clock). Currently I'm reading the data with GPIOTE, and was thinking about using SPI to collect the output.

SPI Slave uses CS pin to control the data gathering, so is there any method to "emulate" the chip select pin without need of physical pin connected ? I'm trying to lower the current consumption as much as possible and just need to catch several milliseconds of transmission.

Parents
  • Hi

    Unfortunately there is no way to manually start an SPI slave transaction without the physical chip select line.
    The most direct way to do this would be to connect a different GPIO to CSN physically, and set/clear the output pin from your software.

    This could be automated through the task/event system by using a GPIOTE channel to control the output pin.

    Best regards
    Torbjørn

Reply
  • Hi

    Unfortunately there is no way to manually start an SPI slave transaction without the physical chip select line.
    The most direct way to do this would be to connect a different GPIO to CSN physically, and set/clear the output pin from your software.

    This could be automated through the task/event system by using a GPIOTE channel to control the output pin.

    Best regards
    Torbjørn

Children
No Data
Related