Difference between revisions of "DIGIO32-I2C"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 114: | Line 114: | ||
* Alternate to Bounce LED test | * Alternate to Bounce LED test | ||
+ | * Runs [https://github.com/land-boards/RasPiPico/blob/main/PicoMite_MMBASIC/PicoMite_VGA/Land%20Boards%20BASIC%20Programs/lbcards/GPIO32/DIGIO32I2C-02.bas DIGIO32I2C-02.bas] code | ||
* (2) [[DB37RIBBON]] cards | * (2) [[DB37RIBBON]] cards | ||
* Cables to connect two [[DB37RIBBON]] cards | * Cables to connect two [[DB37RIBBON]] cards |
Revision as of 19:14, 19 June 2022
Contents
Features
- 32-bit Digital I/O
- Two MCP23017 16-bit I2C I/O Expanders
- 24LC024 ODAS Personality EEPROM
- pid = 6
- Write Enable jumper protects EEPROM against accidental damage
- I/O Connector is inexpensive/standard DB-37 Female
- I2C Interface
- Daisy-chain I2C connector
- I2C Termination jumpers for end of I2C chain
- I2C Address select jumper (2 addresses - can support up to 4 cards)
- Power Options
- Supports 3.3V or 5V signal levels
- Fuse protected power output on DB-37
- Power connector (not required for minimal loads
- ODAS form factor (width is 95 mm)
- 6-32 Mounting holes
Connectors
DB-37 Female Pinout
Schematic
Testing
- There are two card tests
- Bounce LED test
- Good for visual verification/debugging
- Only tests outputs from UUT
- Card to card test
- More flexible/faster test
- Tests both inputs/outputs from/to the card
- Bounce LED test
Cards
- PiPicoMite02 Based Test Station
- PiPicoMite02 Processor card
- LED-32
- DB37RIBBON plugged into UUT
- (2) of 2x10 cables to connect between DB37RIBBON and LED-32
- DB37-1 marked on cable end goes near P1 marked on DB37RIBBON
- LED32-1 marked on cable end goes near HDR1 marked on LED-32
- I2C cable from Arduino Based Test Station to I2C connector on UUT
- Unit Under Test (UUT)
- Check chip pin 1 orientation
- Power test card for shorts
Card Test Procedure
- Power up Test Station/UUT
Program EEPROM
- Some UUTs have Personality EEPROMs
- Run
chdir "/lbcards/ODAS_EEPROM" load "ODASEEPROM.bas" run
- If the UUT EEPROM is already programmed, the result is:
Found device at 0x50 Personality EEPROM contents Signature = ODAS Version = 1 Rsvd = 0 NumAtoms = 2 eeplen = 96 uuid = 0000000000000000 Product ID = 6 (DIGIO32-I2C) vslen = 32 pslen = 32 Vendor String = LAND-BOARDS.COM Product String = DIGIO32-I2C Re-write (Y/N)?
Bounce LED Test
- Cable DB-37 to LED-32 card
- Runs DIGIO32I2C-01.bas code
- Type
chdir "/lbcards/GPIO32" load "DIGIO32I2C-01.bas" run
- Should see the LEDs go around the LED-32 card
- Hit any key to stop (after finishing rotation)
Card-to-Card Test
- Alternate to Bounce LED test
- Runs DIGIO32I2C-02.bas code
- (2) DB37RIBBON cards
- Cables to connect two DB37RIBBON cards
- Type
load "DIGIO32I2C-02.bas" run
- Program will halt if failure
- Prints out a pass count
- Hit any key to stop
Drivers
- GitHub repo for the DigIO32-I2C Card Arduino Driver
- GitHub repo for the DigIO32-I2C Card Arduino examples