I.MX8M SPI device

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

I.MX8M SPI device

1,102 Views
pjw
Contributor II

Hi 

I'm using I.MX8MQ EVK and will development custom product.

I have a plan to use a spi device. Currently, we are operating with androidoreo. Do we just need to modify the dts file? And I wonder how to modify it.


One more rudimentary question is, if the above processes are successful and the spi device is connected after the boot (assuming you've even raised the device driver), how can I confirm the connection?

If you can give me any information, please reply.

 

0 Kudos
Reply
1 Reply

1,094 Views
igorpadykov
NXP Employee
NXP Employee

Hi pjw

 

for using spi device one can add driver for it using linux guidelines and rules

as android is based on linux. In particular one can look at sect.3.8 SPI NOR Flash

Memory Technology Device (MTD), sect.3.8.5 Menu Configuration Options

i.MX Linux Reference Manual​

for testing use unit test:

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_spi_test?h=imx_5.4.24_2.1.0

 

Best regards
igor

0 Kudos
Reply