Difference between revisions of "BBB-COMMS-2"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 35: | Line 35: | ||
==== H2-H9 = 4 Pin Headers ==== | ==== H2-H9 = 4 Pin Headers ==== | ||
− | + | <pre> | |
Card Header GPIO BBB Pin | Card Header GPIO BBB Pin | ||
H2-3 N/A N/A | H2-3 N/A N/A | ||
Line 56: | Line 56: | ||
H9-3 UART4_TX P9_13 | H9-3 UART4_TX P9_13 | ||
H9-4 UART4_RX P9_11 | H9-4 UART4_RX P9_11 | ||
− | H10-H17 = 3 Pin Headers | + | </pre> |
+ | |||
+ | ==== H10-H17 = 3 Pin Headers ==== | ||
+ | <pre> | ||
Card Header GPIO BBB Pin | Card Header GPIO BBB Pin | ||
H10-3 (KEY) | H10-3 (KEY) | ||
Line 69: | Line 72: | ||
H16-3 GPIO1_12 P8_12 | H16-3 GPIO1_12 P8_12 | ||
H17-3 GPIO1_13 P8_11 | H17-3 GPIO1_13 P8_11 | ||
− | Production Testing | + | </pre> |
− | Setup | + | |
− | Install BBB-COMMS-2 on BBB | + | == Production Testing == |
− | Install shunt at H1 (Write Enable) | + | |
− | Ethernet connection to BBB | + | === Setup === |
− | Power via 5V jack to BBB | + | |
− | Verify 3.3V LED is lit | + | * Install BBB-COMMS-2 on BBB |
− | Log in via putty | + | * Install shunt at H1 (Write Enable) |
− | User = root | + | * Ethernet connection to BBB |
− | Password = enter | + | * Power via 5V jack to BBB |
− | GPIO Testing | + | * Verify 3.3V LED is lit |
− | Hook up LED-32 Card to these pins | + | * Log in via putty |
+ | ** User = root | ||
+ | ** Password = enter | ||
+ | |||
+ | === GPIO Testing === | ||
+ | |||
+ | * Hook up LED-32 Card to these pins | ||
+ | <pre> | ||
D0 = "P8_26" | D0 = "P8_26" | ||
D1 = "P8_17" | D1 = "P8_17" | ||
Line 101: | Line 111: | ||
D23 = "P9_14" | D23 = "P9_14" | ||
D24 = "P9_13" | D24 = "P9_13" | ||
− | Run test via: | + | </pre> |
+ | * Run test via: | ||
+ | <pre> | ||
cd ~/pyBBB/BBB-COMMS-2/blink-BBB-COMMS-2/ | cd ~/pyBBB/BBB-COMMS-2/blink-BBB-COMMS-2/ | ||
python blink-BBB-COMMS-2.py | python blink-BBB-COMMS-2.py | ||
+ | <pre> | ||
− | I2C Testing/EEPROM Programming | + | === I2C Testing/EEPROM Programming === |
− | Go to directory | + | |
− | Program the EEPROM | + | * Go to directory |
− | Verify by typing | + | * Program the EEPROM |
+ | * Verify by typing | ||
+ | <pre> | ||
cd ~/pyBBB/BBB-COMMS-2/mkeeprom | cd ~/pyBBB/BBB-COMMS-2/mkeeprom | ||
cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom | cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom | ||
cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C | cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C | ||
− | + | </pre> | |
− | Result should be like - | + | * Result should be like - |
+ | <pre> | ||
00000000 aa 55 33 ee 41 30 42 42 42 2d 47 56 53 2d 33 00 |.U3.A0BBB-COMMS-| | 00000000 aa 55 33 ee 41 30 42 42 42 2d 47 56 53 2d 33 00 |.U3.A0BBB-COMMS-| | ||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |2...............| | 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |2...............| | ||
Line 126: | Line 142: | ||
* | * | ||
00008000 | 00008000 | ||
− | Remove WE jumper | + | </pre> |
− | Type | + | * Remove WE jumper |
+ | * Type | ||
+ | <pre> | ||
cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom | cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom | ||
− | Result should be error | + | </pre> |
+ | * Result should be error | ||
+ | <pre> | ||
root@BBB01:~/pyBBB/BBB-COMMS-2/mkeeprom# cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom | root@BBB01:~/pyBBB/BBB-COMMS-2/mkeeprom# cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom | ||
cat: write error: Connection timed out | cat: write error: Connection timed out | ||
− | Prepare to re-run | + | </pre> |
− | Type | + | * Prepare to re-run |
+ | * Type | ||
+ | <pre> | ||
halt | halt | ||
− | Combined Copy/Paste | + | </pre> |
+ | *Combined Copy/Paste | ||
+ | <pre> | ||
cd ~/pyBBB/BBB-COMMS-2/blink-BBB-COMMS-2 | cd ~/pyBBB/BBB-COMMS-2/blink-BBB-COMMS-2 | ||
python blink-BBB-COMMS-2.py | python blink-BBB-COMMS-2.py | ||
Line 144: | Line 168: | ||
cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C | cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C | ||
− | + | <pre> | |
− | |||
− | |||
− | |||
== BBB-COMMS-2 Assembly Sheet/Parts List == | == BBB-COMMS-2 Assembly Sheet/Parts List == | ||
* [[BBB-COMMS-2 Rev X1 Assembly Sheet]] | * [[BBB-COMMS-2 Rev X1 Assembly Sheet]] |
Revision as of 11:35, 25 January 2020
Contents
Features
Extensive I/O connections
- (13) GPIOs - GVS (Ground/Voltage/Signal) pins
- GVS (Ground/Voltage/Signal) pins
- (3) UARTs - GVTxRx (Ground/Voltage/Tx/Rx) pins
- GVTxRx (Ground/Voltage/Tx/Rx) pins
- (1) I2C bus- GVSdaScl (Ground/Voltage/SDA/SCL) pins
- GVSdaScl (Ground/Voltage/SDA/SCL) pins
- Support for keyed headers
- Cape Support features
- Cape configuration EEPROM with write enable jumper
- Beaglebone Black form factor
- Power LED
Headers and Connectors
Header
H1 - Write Enable Header
- Install jumper onto header to allow writes to EEPROM
- Remove jumper from header to prevent writes to EEPROM
Connectors
H2-H9 = 4 Pin Headers
Card Header GPIO BBB Pin H2-3 N/A N/A H2-4 (Key) No pin N/A N/A H3-3 GPIO3_19 P9_27 H3-4 GPIO1_17 P9_23 H4-3 UART1_TX P9_24 H4-4 UART1_RX P9_26 H5-3 UART2_TX P9_21 H5-4 UART2_RX P9_22 H6-3 I2C_SDA P9_18 H6-4 I2C_SCL P9_17 H7-3 EHPWM1B P9_16 H7-4 GPIO1_16 P9_15 H8-3 EHRPWM1A P9_14 H8-4 GPIO1_28 P9_12 H9-3 UART4_TX P9_13 H9-4 UART4_RX P9_11
H10-H17 = 3 Pin Headers
Card Header GPIO BBB Pin H10-3 (KEY) No pin N/A N/A H11-3 GPIO1_29 P8_26 H12-3 GPIO2_1 P8_18 H13-3 GPIO0_27 P8_17 H14-3 GPIO1_14 P8_16 H15-3 GPIO1_15 P8_15 H16-3 GPIO1_12 P8_12 H17-3 GPIO1_13 P8_11
Production Testing
Setup
- Install BBB-COMMS-2 on BBB
- Install shunt at H1 (Write Enable)
- Ethernet connection to BBB
- Power via 5V jack to BBB
- Verify 3.3V LED is lit
- Log in via putty
- User = root
- Password = enter
GPIO Testing
- Hook up LED-32 Card to these pins
D0 = "P8_26" D1 = "P8_17" D2 = "P8_15" D3 = "P8_11" D4 = "P9_23" D5 = "P9_26" D6 = "P9_22" D7 = "P9_15" D8 = "P9_12" D9 = "P9_11" D16 = "P8_18" D17 = "P8_16" D18 = "P8_12" D19 = "P9_27" D20 = "P9_24" D21 = "P9_21" D22 = "P9_16" D23 = "P9_14" D24 = "P9_13"
- Run test via:
cd ~/pyBBB/BBB-COMMS-2/blink-BBB-COMMS-2/ python blink-BBB-COMMS-2.py <pre> === I2C Testing/EEPROM Programming === * Go to directory * Program the EEPROM * Verify by typing <pre> cd ~/pyBBB/BBB-COMMS-2/mkeeprom cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C
- Result should be like -
00000000 aa 55 33 ee 41 30 42 42 42 2d 47 56 53 2d 33 00 |.U3.A0BBB-COMMS-| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |2...............| 00000020 00 00 00 00 00 00 58 31 00 00 4c 61 6e 64 20 42 |......X1..Land B| 00000030 6f 61 72 64 73 2c 20 4c 4c 43 42 42 42 2d 47 56 |oards, LLCBBB-CO| 00000040 53 2d 33 00 00 00 00 00 00 00 00 00 30 30 30 30 |MS-2........0000| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 fa 01 f4 |................| 000000f0 00 fa 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................| 00000100 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| * 00008000
- Remove WE jumper
- Type
cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom
- Result should be error
root@BBB01:~/pyBBB/BBB-COMMS-2/mkeeprom# cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom cat: write error: Connection timed out
- Prepare to re-run
- Type
halt
- Combined Copy/Paste
cd ~/pyBBB/BBB-COMMS-2/blink-BBB-COMMS-2 python blink-BBB-COMMS-2.py cd ~/pyBBB/BBB-COMMS-2/mkeeprom/ cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -CBBB-COMMS-2 Assembly Sheet/Parts List
* BBB-COMMS-2 Rev X1 Assembly Sheet