BBB-GVS-3



YouTube Video

Features
Extensive I/O connections:


 * (19) GPIOs
 * GVS pins
 * (3) UARTs
 * GVTxRx pins
 * (1) I2C bus
 * GVSdaSck
 * (8) Channels of 3.3V to 5V level translators
 * Use female to female jumpers to route the GPIO lines to the translator channels
 * 5V side has GVS pins
 * (7) 1.8V analog GVS connections with analog voltage/ground
 * Buffer opamps on the analog inputs
 * 5V pins are all ESD protected pins with 15 kV of protection
 * Selectable 5V source (SYS_5V or VDD_5V)
 * Cape configuration EEPROM with write enable jumper
 * Beaglebone Black form factor

J11 - WE

 * 1) GND
 * 2) VCC
 * WE

Python pin assignments by header J number
J1 = "P9_30"		# GR-1 - D0 J2 = "P9_27"		# BL-1 - D16 J3_3 = "P9_26"		# VI-1 - D1 J3_4 = "P9_24"		# GY-1 - D17 J4 = "P9_23"		# WH-1 - D2 J5_3 = "P9_21"		# BL-1 - D18 J5_4 = "P9_22"		# BR-2 - D3 J7 = "P9_15"		# RD-2 - D19 J8_3 = "P9_13"		# OR-2 - D4 J8_4 = "P9_11"		# YL-2 - D20 J9 = "P9_14"		# GR-2 - D5 J10 = "P9_12"		# BU-2 - D21 J20 = "P8_11"		# VI-2 - D6 J21 = "P8_9"		# GY-2 - D22 J22 = "P8_10"		# WH-2 - D7 J23 = "P8_7"		# BL-2 - D23 J24 = "P8_8"		# BR-3 - D8 J12 = "P8_26"		# RD-3 - D24 J13 = "P8_19"		# OR-3 - D9 J14 = "P8_18"		# YL-3 - D25 J15 = "P8_17"		# GR-3 - D10 J16 = "P8_16"		# BU-3 - D26 J17 = "P8_15"		# VI-3 - D11 J18 = "P8_13"		# GY-3 - D27 J19 = "P8_12"		# WH-3 - D12

Setup

 * Install BBB-GVS-3 on BBB
 * Install shunt at SYS on 5VSEL
 * Install shunt at WP
 * Ethernet connection to BBB
 * Power via 5V jack to BBB
 * Verify 5V and 3.3V LEDs are lit
 * Log in via putty
 * User = root
 * Password = enter

Analog Testing

 * Connect GRID49 card with resistor ladder
 * (8) 10K resistors
 * From 1.8V to all 7 inputs to ground
 * Input in 1/8 steps
 * Run analog ladder code

cd ~/pyBBB/BBB-GVS-3/analogLadder python analogLadder.py val0 0.625 val1 0.125 val2 0.75 val3 0.248888894916 val4 0.498888880014 val5 0.372777789831 val6 0.875 PASS - Analog values match expected ladder values
 * Pass/Fail message will be displayed

GPIO Testing
D0 = "P9_30"		# GR-1 - D0 D1 = "P9_26"		# VI-1 - D1 D2 = "P9_23"		# WH-1 - D2 D3 = "P9_22"		# BR-2 - D3 D4 = "P9_13"		# OR-2 - D4 D5 = "P9_14"		# GR-2 - D5 D6 = "P8_11"		# RD-3 - D6 D7 = "P8_10"		# YL-3 - D7 D8 = "P8_8"		# BU-3 - D8 D9 = "P8_19"		# GY-3 - D9 D10 = "P8_17"		# VI-2 - D10 D11 = "P8_15"		# WH-2 - D11 D12 = "P8_12"		# BR-3 - D12 D27 = "P8_13"		# BL-2 - D27 D26 = "P8_16"		# GY-2 - D26 D25 = "P8_18"		# WH-3 - D25 D24 = "P8_26"		# VI-3 - D24 D23 = "P8_7"		# GR-3 - D23 D22 = "P8_9"		# OR-3 - D22 D21 = "P9_12"		# BU-2 - D21 D20 = "P9_11"		# YL-2 - D20 D19 = "P9_15"		# RD-2 - D19 D18 = "P9_21"		# BL-1 - D18 D17 = "P9_24"		# GY-1 - D17 D16 = "P9_27"		# BL-1 - D16 cd ~/pyBBB/BBB-GVS-3/blink-BBB-GVS-3/src python blink-BBB-GVS-3.py
 * Hook up LED-32 Card to these pins
 * 1) Common Ground
 * Run test via:

I2C Testing/EEPROM Programming
cd ~/pyBBB/BBB-GVS-3/mkeeprom cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C 00000000 aa 55 33 ee 41 30 42 42  42 2d 47 56 53 2d 33 00  |.U3.A0BBB-GVS-3.| 00000010 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 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-GV| 00000040 53 2d 33 00 00 00 00 00  00 00 00 00 30 30 30 30  |S-3.........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 cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom root@BBB01:~/pyBBB/BBB-GVS-3/mkeeprom# cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom cat: write error: Connection timed out
 * Go to directory
 * Program the EEPROM
 * Verify by typing
 * Result should be like -
 * Remove WE jumper
 * Type
 * Result should be error

Prepare to re-run
halt
 * Type

Combined Copy/Paste
cd ~/pyBBB/BBB-GVS-3/mkeeprom cat data.eeprom > /sys/bus/i2c/devices/1-0054/eeprom cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C

cd ~/BBB/BBB-GVS-3/analogLadder python analogLadder.py

cd ~/pyBBB/BBB-GVS-3/blink-BBB-GVS-3/src python blink-BBB-GVS-3.py

halt

Issues with X2 card

 * No known or reported issues

Issues with X1 card

 * WP jumper should be WE
 * EEPROM A3 s/b high not low
 * Cut etch to U1-3
 * Add wire U1-3 to U1-8