1 """Pin definitions for Udoo x86 Ultra
2 (should work for Ultra and Ultra II)
4 There are 2 naming systems. A Digital Pin system which includes
5 the arduino chip (Leonardo or 101). The Braswell #s start at 16 and
6 is documented in the diagram and text for linux version later than 4.15 in:
7 https://www.udoo.org/docs-x86II/Introduction/Introduction.html
8 The other is based on the hardware manual:
9 https://udoo.org/download/files/UDOO_X86/Doc/UDOO_X86II_MANUAL.pdf
11 This will use the D system based on the diagram in the user guide
13 i2c use i2c(board.I2C0_SCL, board_I2C0_SDA) or i2c(board.I2C1_SCL, board_I2C1_SDA)
14 for the i2c(board.SCL, board.SCL) in the examples
16 UART use pyserial not busio
19 from adafruit_blinka.microcontroller.pentium.n3710 import pin
31 # Connector CN13 LPC interface
50 # Connector CN12 SDIO SD/MMC interfaces
66 I2C0_SCL = D34 # labeled on diagram as I2C1, hardware manual port 0
67 I2C0_SDA = D35 # i2cdetect-l lists it as i2c-0
69 I2C1_SCL = D38 # Labeled on diagram as I2C2, hardware manual port 5
70 I2C1_SCL = D39 # i2cdetect lists it as i2c-1