How to Read the data From Sensor Through SPI Protocol.

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

How to Read the data From Sensor Through SPI Protocol.

1,012 Views
SudarshanSingathala
Contributor I

Hi,

How to read the data from a sensor(Accelerometer) Through SPI protocol in MCU Xpresso IDE. Which API need use to read the data. Kindly help me with an example.

 

Regards,

Sudarshan.

0 Kudos
Reply
1 Reply

994 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Sudarshan,

A good starting points would be the SDK for the i.MXRT board you are using and it’s documentation. There are some examples that can be run to test the SPI module. You may download the SDK for your board on the link below or directly from within MCUXpresso IDE.

https://mcuxpresso.nxp.com/en/select

I hope that this information helps!


Regards,
Gustavo

0 Kudos
Reply