SPI Slave Mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI Slave Mode

652 Views
moose
Contributor IV

Is there a driver, example or a user space application that configure the SPI module within imx8mn in slave mode? Thx!

Labels (1)
0 Kudos
Reply
1 Reply

635 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @moose ,

 

You can refer to arch/arm/boot/dts/imx6ul-14x14-evk-ecspi-slave.dts and arch/arm/boot/dts/imx6ul-14x14-evk-ecspi.dts.

Make sure not to use “cs-gpios” in dts. 

You should use should use “MX8MM_IOMUXC_ECSPI2_SS0_ECSPI2_SS0” instead of “MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13”.

 

Best regards.

 

Salas.

0 Kudos
Reply