Difference between revisions of "Minnowboard:Trainer Lure"
(Created page with "240px Trainer Features: * I2C interface(+3.3v) * SPI inteface with ChipSelect(+3.3v) * 8 GPIO's(+3.3v) * Large prototyping area (0.1" x 0.1" matrix wit...")
|Line 1:||Line 1:|
Revision as of 07:35, 27 March 2013
- I2C interface(+3.3v)
- SPI inteface with ChipSelect(+3.3v)
- 8 GPIO's(+3.3v)
- Large prototyping area (0.1" x 0.1" matrix with access to power bus)
- Atmega328 processor (user programmable)
- Arduino compatible
- ATmega328 power is +3.3v or +5v selectable
- Communicate to the ATmega328 via the MinnowBoard uart
The Trainer provides an interface to the BeagleBoard's I²C port. The I²C signals are at +3.3V levels. The I²C signals are located next the the prototyping area.
How to access the I2C bus (from software): http://i2c.wiki.kernel.org/index.php/Linux_2.6_I2C_development_FAQ
The Trainer provides an interface the the MinnowBoard's SPI port and the signals are level translated to +3.3V. The SPI signals are located next to the prototyping area.
The Trainer provides an interface to 8 of the MinnowBoard's GPIO signals. The GPIO signals are at +3.3V levels and are located next to the prototyping area.
The Trainer board provides an AT24C01 serial EEPROM that contains a Vendor ID and a Device ID that the MinnowBoard uses to identify the type of board connected to the expansion header. This information enables the MinnowBoard to auto-configure the signals needed by the Trainer.
ATmega328 (Arduino Hardware Compatible)
An ATmega328 embedded processor is located on the Trainer board that is user programmable. The ATmega328 is hardware compatible with the Arduino and it's I/O signals are available next to the prototyping area. The ATmega328 can be user jumpered to run at either +3.3V or +5V. One of the BeagleBoard's GPIO signals (GPIO 162) controls the ATmega328's power supply and can turn on or off the power to the ATmega328. The ATmega328 can run off it's internal RC oscillator or it also has an external crystal(footprint provided but not populated).
- Atmel Atmega328 Product Page
- Flash Programming
- Introduction to programming Atmel AVR's under Linux
- Arduino Homepage
- Arduino bootloader compatible with ATmega328 Pro at 8MHz
- Arduino bootloader source can be found at www.arduino.cc
- Arduino bootloader configuration using ISP programmer:
avrdude -c usbtiny -p atmega328p -e -u -U lock:w:0x3f:m -U efuse:w:0x05:m -U hfuse:w:0xda:m -U lfuse:w:0xff:m avrdude -c usbtiny -p atmega328p -U flash:w:ATmegaBOOT_168_atmega328_pro_8MHz.hex -U lock:w:0x0f:m
- AVR code and Arduino sketches can be uploaded using avrdude on the BeagleBoard:
avrdude -V -F -c stk500v1 -p m328p -P /dev/ttyS1 -b 57600 -U flash:w:main.hex
- AVR code and Arduino sketches can be uploaded using avrgal on the BeagleBoard:
Prototyping / Breakout Area
- provides a prototyping / breakout area with a standard 0.1" x 0.1" spacing matrix
- Access to MinnowBoard's signals
- Access to the ATmega328's I/O pins
PC Board Test Point Locations
Attaching to the BeagleBoard
Attach the four board spacers with the screws provided.
Connect the expansion board onto the TOP SIDE of the MinnowBoard by mating with the 100-pin header. Make sure all of the pins align correctly.
Continue pushing the two boards together until the connectors mate together.
Attach the male standoffs as shown.
The Trainer Rev-B schematic is availible here:
Where to purchase the Trainer board
The Trainer board can be purchased from: