Accessing GPIO/SPI/I2C/UART4 in the NavQ

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

Accessing GPIO/SPI/I2C/UART4 in the NavQ

2,072 次查看
srijal
Contributor I

How do I access the GPIOs or SPI/I2C/UART4 interfaces in software in the NavQ Linux build? Where do I begin if I had to use these peripherals in a C++/Python program?  

标记 (6)
0 项奖励
2 回复数

2,042 次查看
Landon_Haugh
NXP Employee
NXP Employee

Hey Srijal,

 

I have written a quick-and-dirty guide on getting I2C working. I will add more details to this guide in the coming days, but here's a base guide on the LED setup I have working on my NavQ/Teensy LC.

https://nxp.gitbook.io/8mmnavq/navq-developer-guide/i2c

0 项奖励

2,046 次查看
iaingalloway
NXP Employee
NXP Employee

Examples are being prepared now on using the I2C port on a NavQ to communicate with a Teensy (to drive some WS2812 LEDs.
They will be posted here when completed: https://nxp.gitbook.io/8mmnavq/

 

0 项奖励