How to control ECSPI2 on i.MX8M Mini EVK

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

How to control ECSPI2 on i.MX8M Mini EVK

565 Views
eric_m_will
Contributor I

I want to use the ECSPI2 interface (available on J1003) on a i.MX8M Mini EVK to send data to a D/A chip and to receive data from an A/D chip. I am running a yocto 4.19.35 linux build, although I could shift to a different release if necessary.

Can someone point me to information that would allow me to exercise the ECSPI2 interface from a C program, ideally in user space? Any associated command line tools would also be welcome.

Thank you,

Eric

0 Kudos
1 Reply

480 Views
igorpadykov
NXP Employee
NXP Employee

Hi Eric

one can look at dts change:

bulix.org / pastebin 

imx8mm-nitrogen8mm.dts example

linux-imx6/imx8mm-nitrogen8mm.dts at boundary-imx_4.14.x_1.0.0_ga · boundarydevices/linux-imx6 · Git... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos