Difference between revisions of "Serial peripherals"

From Take-Air Wiki
Jump to navigation Jump to search
Line 53: Line 53:
 
| '''Voltage level''' || 3.3V
 
| '''Voltage level''' || 3.3V
 
|-
 
|-
| '''On-board peripherals''' || 0x48 - Thermometer (LM75BD)<br> 0x49 - ADC (ADS1015)<br>0x60 - DAC (MCP47CBV12)<br>0x64 (1) - Crypto chip (ATSHA204A)
+
| '''On-board peripherals''' || 0x48 - Thermometer (LM75BD)<br> 0x49 - ADC (ADS1015)<br>0x60 - DAC (MCP47CBV12)<br>0x64<ref>Configurable address</ref> - Crypto chip (ATSHA204A)
 +
|-
 +
| '''External connectors''' || N/A
 
|}
 
|}
(1) - Configurable address
+
 
 +
=== I2C 1 ===
 +
{|
 +
|+
 +
|-
 +
| '''Device path''' || <code>/dev/i2c-1</code>
 +
|-
 +
| '''Voltage level''' || 3.3V
 +
|-
 +
| '''On-board peripherals''' || 0x48 - Thermometer (LM75BD)<br>0x48<ref>conflictXXX</ref> - ADC (ADS1015)<br> 0x51 - RTC (PCF8563)
 +
|-
 +
| '''External connectors''' || J15
 +
|}
 +
 
  
 
== Jetson module SPI ==
 
== Jetson module SPI ==

Revision as of 12:33, 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)
External connectors N/A

I2C 1

Device path /dev/i2c-1
Voltage level 3.3V
On-board peripherals 0x48 - Thermometer (LM75BD)
0x48[2] - ADC (ADS1015)
0x51 - RTC (PCF8563)
External connectors J15


Jetson module SPI

  1. Configurable address
  2. conflictXXX