AnsweredAssumed Answered

SPI: CS GPIO not working

Question asked by Santosh Voonna on Jun 5, 2018
Latest reply on Nov 8, 2018 by Jonah Petri

I am using board with freescale SOC and kernel. I have SPI having three slaves and all of them are controlled by CS GPIOs. The CS GPIOs are configured in DTS with cs-gpios=<>, <>, <>. In my driver source, I am properly using "chipslect to use". Device is getting created and spi_setup succeeds.


But when I call spi_write() I don't see the chipselect being toggled. I believe the CS-GPIO should be automatically toggled when we call spi_write(). Please give me pointers to troubleshoot this issue.