Enable LPSPI2 for iMX8QUADMAX

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

Enable LPSPI2 for iMX8QUADMAX

515 Views
kasandesh
Contributor II

Hello ALL,

What is the procedure to enable SPI2 in iMX8QUADMAX ? 

It is seen from the device tree that lpspi0 is at address 5a000000 and also lpspi3 is at address 5a030000.

lpspi0 creates a flash device and lpspi3 creates a spidev. 

I want to enable the SPI2 device and use it in master mode to connect to a sensor and measure a value.

Any leads on this would be appreciated. 

Best Regards

0 Kudos
1 Reply

431 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sandesh

one can look at explanations provided on

Adding new spi module on IMX8 quad max with Yocto 

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

0 Kudos