Hi ,
We have Android11_2.2.0 BSP(5.10.35) running on our custom hardware (imx8qm based).
We have SPI0 connected to a SPI slave, and also to a SPI master with different chip selects CS0 and CSI respectively.
We have validated individually, that SPI controller(lpspi0) works in master and slave mode dynamically. Is it possible to configure same controller as both master and slave at different instance? So far from the dts it looks like either the controller is configured as master or slave at boot time using dts. But we want to have a usecase something like device boots as SPI in master mode, later SPI switches to slave mode. Or just switch the modes at runtime between slave/master mode.
From the reference module, it looks like doable with the register settings. Please let me know
Thanks!
Hi @Nishal