Difference between revisions of "Serial peripherals"
Jump to navigation
Jump to search
Joost.Weijs (talk | contribs) |
Joost.Weijs (talk | contribs) |
||
| Line 43: | Line 43: | ||
== Jetson module I2C == | == Jetson module I2C == | ||
| + | The Jetson i2c interfaces are used to communicate with onboard peripherals, and can also be used to connect external devices | ||
| + | === I2C 0 === | ||
| + | {| | ||
| + | |+ | ||
| + | |- | ||
| + | | '''Device path''' || <code>/dev/i2c-0</code> | ||
| + | |- | ||
| + | | '''Voltage level''' || 3.3V | ||
| + | |- | ||
| + | | '''On-board peripherals''' || 0x48 - Thermometer (LM75BD)<br> 0x49 - ADC (ADS1015)<br>0x60 - DAC (MCP47CBV12)<br>0x64 (1) - Crypto chip (ATSHA204A) | ||
| + | |} | ||
| + | (1) - Configurable address | ||
== Jetson module SPI == | == Jetson module SPI == | ||
Revision as of 12:20, 18 October 2021
Refer to pinouts for pinouts
Jetson module UART
The Open.OC2 carrier board brings out several of the Jetson's UART interfaces which can be used to communicate with external devices.
J2 (Connector)
| Device path | /dev/ttyS0
|
| Voltage level | 3.3V |
| Jetson name | UART2 |
| Remarks | 1.8V on Jetson module, shifted to 3.3V by SN74AVC4T245 Boots into console, can be used for debugging during boot |
ESP-WROOM-02
| Device path | /dev/ttyTHS1
|
| Voltage level | 3.3V |
| Jetson name | UART1 |
| Remarks | 1.8V on Jetson module, shifted to 3.3V by SN74AVC4T245 Connected to ESP-WROOM-02 module, used to flash or communicate with ESP-WROOM-02 module, see XXX (PAGE) for details |
Cube
| Device path | /dev/ttyTHS2
|
| Voltage level | 3.3V |
| Jetson name | UART0 |
| Remarks | 1.8V on Jetson module, shifted to 3.3V by SN74AVC4T245 Connected to Cube flight controller (SERIALXXX) used to flash or communicate with Cube, see XXX (PAGE) for details |
Jetson module I2C
The Jetson i2c interfaces are used to communicate with onboard peripherals, and can also be used to connect external devices
I2C 0
| Device path | /dev/i2c-0
|
| Voltage level | 3.3V |
| On-board peripherals | 0x48 - Thermometer (LM75BD) 0x49 - ADC (ADS1015) 0x60 - DAC (MCP47CBV12) 0x64 (1) - Crypto chip (ATSHA204A) |
(1) - Configurable address