I.MX8M SPI device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I.MX8M SPI device

1,155 次查看
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 项奖励
回复
1 回复

1,147 次查看
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 项奖励
回复