I'm trying to configure IMXRT1170 as slave for to master which is different MCU (not nxp product) of M4 core.
What is basic step to do to config the as SPI slave?
Kindly do needful.
Solved! Go to Solution.
Hi @KAVIN_M ,
Thank you so much for your interest in our products and for using our community.
I suggest you can refer to NXP SDK demo.
There are several drive ways, It depend on your needs.
For example, You can refer to SDK demo "evkbmimxrt1170_lpspi_edma_b2b_transfer_slave_cm7", If you want set SPI pin ,you can use Config Tool.
Finally, please double check that the Clock polarity and Clock phase settings of the SPI slave device are consistent with those of the master SPI.
Wish it helps you.
If you still have question about it, please kindly let me know.
BR
mayliu
Hi @KAVIN_M ,
Thank you so much for your interest in our products and for using our community.
I suggest you can refer to NXP SDK demo.
There are several drive ways, It depend on your needs.
For example, You can refer to SDK demo "evkbmimxrt1170_lpspi_edma_b2b_transfer_slave_cm7", If you want set SPI pin ,you can use Config Tool.
Finally, please double check that the Clock polarity and Clock phase settings of the SPI slave device are consistent with those of the master SPI.
Wish it helps you.
If you still have question about it, please kindly let me know.
BR
mayliu
Hi @KAVIN_M
I'm glad to hear you that iMXRT1176 as SPI slave works successful.
I'm sorry, I don't quite understand your question. Could you please explain it in more detail?
BR
mayliu
Hi @KAVIN_M
Thanks for your update information.
I suggest you use an oscilloscope to check the SPI signals of the MCU which as the SPI master( SCK, PCS, SDI, and SDO). Please check whether the signals are correct as SPI master sends.
Please pay attention to the following points.
1: Double check the SPI clock speed is within the operational limits for both SPI master and SPI slave.
2: Confirm SPI mode ,especially CPOL and CPHA settings. PCS Chip select setting.
3: Double check hardware connections( SCK, PCS, SDI, and SDO) between the master and slave
Wish it helps you.
If you still have question about it, You can create a new case, I will do my best to support you.
BR
mayliu