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

Is there any spis event generated when the slave is selected?

Currently I am using the spis driver to send data through the SPI peripheral. On the event handler I want to capture the time in which the chip is selected, which in the case of my application, is when the 'slave select' signal goes low. Is there any way of doing this? or should I start using the SPIS HAL instead of the SPIS driver? Or maybe the solution would be to connect the chip select pin to a gpio pin and generate an gpioevent to get an interrupt as soon as the slave select signal goes down.

Thank you in advance for your attention,

Kind regards,

Parents Reply Children
No Data
Related