no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | orbit_boosterpack:refmanual [2015/06/03 18:51] (current) – created Martha | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Orbit BoosterPack™ Reference Manual ====== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ---- | ||
+ | ===== Revision History ===== | ||
+ | |||
+ | Revised June 5, 2013 | ||
+ | |||
+ | This manual applies to REV A of the board. | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | ===== Overview ===== | ||
+ | |||
+ | The Digilent Orbit BoosterPack is an add-on board for the Texas Instruments™ Stellaris® LaunchPad microcontroller evaluation kit. The Orbit greatly expands the input/ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Features include: | ||
+ | * Two 1x6 Digilent Pmod™ connectors | ||
+ | * 3-axis accelerometer | ||
+ | * 256 Kbit I2C EEPROM | ||
+ | * I2C temperature sensor | ||
+ | * 128x32 pixel OLED display | ||
+ | * Analog potentiometer | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 1. Orbit BoosterPack Hardware Description ===== | ||
+ | |||
+ | The following gives a basic description of the input/ | ||
+ | |||
+ | ==== 1.1. OLED Graphic Display ==== | ||
+ | |||
+ | The Orbit board provides a 128x32 pixel, organic LED (OLED), graphic display panel. The graphic display panel used is the WiseChip/ | ||
+ | |||
+ | The UG2832 has a power on/power off sequence that should be followed. Failure to follow the power on/power off sequence can shorten the life of the display. The Orbit provides two FETs for software control of the two power supplies for the display. The VDD_OLED control is used to turn on/off the power to the logic of the display. The VBAT_OLED control is used to turn on/off power to the OLED display itself. These two pins have pull-up resistors to turn off their respective power supplies when not being driven. The pins are made to be outputs and are driven low to turn on the power supplies. | ||
+ | |||
+ | **Power on sequence:** | ||
+ | Apply power to VDD | ||
+ | Send Display Off command | ||
+ | Initialize display to desired operating mode | ||
+ | Clear screen | ||
+ | Apply power to VBAT | ||
+ | Delay 100ms | ||
+ | Send Display On command | ||
+ | |||
+ | **Power off sequence:** | ||
+ | Send Display Off command | ||
+ | Power off VBAT | ||
+ | Delay 100ms | ||
+ | Power off VDD | ||
+ | |||
+ | The display has a D/C pin (display or command select) that is used to determine whether bytes sent to the display are interpreted as commands or as display data. The D/C pin is driven high for display buffer access and is driven low for command access. This pin is shared with VBUS detection on the LaunchPad. If VBUS is present, the pull-down resistor acts as a pull-up resistor in conjunction with resistor 6 (R6) on the LaunchPad. Please see the note in the Orbit BoosterPack Schematic available from www.digilentinc.com. | ||
+ | |||
+ | The D/C pin is also a non-maskable interrupt (NMI) pin on the LaunchPad, and is “locked” on the device' | ||
+ | |||
+ | The RES pin is used to reset the SG1306 display controller. The RES pin is driven low for reset and driven high for normal operation. The low-going reset pulse must be a minimum of 3μs (microseconds) for the display controller to reset correctly. | ||
+ | |||
+ | The UG2832 is a serial device that is accessed using SPI. It is however, a write-only device. It is not possible to read back either the display buffer contents or any kind of status from the panel. The maximum SPI clock frequency supported by the UG2832 is 10 MHz. | ||
+ | |||
+ | Digilent has a library for use with the Orbit BoosterPack that provides functions for initializing the display and rendering simple text and graphics onto the display. This library can be used as is or as a starting point for a more sophisticated graphics library and is available at www.digilentinc.com. | ||
+ | |||
+ | |||
+ | ==== 1.2. Digilent Pmod Connectors ==== | ||
+ | |||
+ | Two 1x6 pin female Digilent Pmod connectors are provided for functional expansion of the Orbit BoosterPack. They are labeled JA and JB respectively. Header JA has signals routed to the Synchronous Serial Interface (SSI) peripheral on the LaunchPad. These signals can be used with Pmods that use standard 3 or 4 wire SPI communication protocol. | ||
+ | |||
+ | |||
+ | ==== 1.3. Discrete Digital I/O Devices ==== | ||
+ | |||
+ | **Pushbuttons**: | ||
+ | |||
+ | **Slide Switches**: There are two slide switches labeled SW1 and SW2. A read to the corresponding GPIODATA register bits will return a ' | ||
+ | |||
+ | **LEDs**: There are four LEDs, labeled LD1 – LD4. An LED will be illuminated when the corresponding GPIODATA register bit is set to a ' | ||
+ | |||
+ | |||
+ | ==== 1.4. I2C Bus ==== | ||
+ | |||
+ | The I2C bus from the LaunchPad microcontroller board is brought onto the Orbit BoosterPack. There are three I2C devices on the board: a 256 Kbit EEPROM, a temperature sensor, and an accelerometer. In addition, there is a connector for taking the I2C bus off of the board to connect to additional external I2C devices. | ||
+ | |||
+ | **I2C Connector**: | ||
+ | |||
+ | The I2C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means that pull-up resistors must be provided to supply the logic high state for the signals. The Orbit BoosterPack provides 2.2 K-ohm pull-up resistors. Generally, only one set of pull-up resistors are used on the bus. | ||
+ | |||
+ | Digilent has several small I/O modules available that can be connected using the I2C connector. These include a 4-channel, 12-bit A/D converter, serial character LCD panel, 3-axis gyroscope, real-time clock/ | ||
+ | |||
+ | **EEPROM**: A 256Kbit (32Kbyte), I2C EEPROM is provided using a Microchip 24LC256. This EEPROM, IC3, is located on the bottom side of the board. | ||
+ | |||
+ | The seven bit I2C device address for the EEPROM is '1 0 1 0 A2 0 0', where A2 is an external pin. Pin A2 is pulled high through a 10 K-ohm resistor and a cuttable trace at JP7. Therefore, the ' | ||
+ | |||
+ | For complete technical documentation on the 24LC256, refer to the data sheet available from www.microchip.com. | ||
+ | |||
+ | **Temperature Sensor**: A digital temperature sensor is provided using a Microchip TCN75A 2-Wire Serial Temperature Sensor. The temperature sensor, IC4, is an I2C device, and is located next to BTN1. | ||
+ | |||
+ | The TCN75A is rated for an accuracy of +/-1ºC and has selectable resolution from 0.5ºC down to 0.0625ºC. The seven bit device address is ' | ||
+ | |||
+ | The TCN75A provides an alert output that can be programmed for various functions. | ||
+ | |||
+ | For complete technical documentation on the TCN75A, refer to the data sheet available at www.microchip.com. | ||
+ | |||
+ | **Accelerometer**: | ||
+ | |||
+ | The 7 bit I2C device address for the accelerometer is ' | ||
+ | |||
+ | The ADXL345 has two output pins for setting configurable interrupts, which include activity, inactivity, and DATA_READY. | ||
+ | |||
+ | For complete technical documentation on the ADXL345, refer to the data sheet available at www.analog.com. | ||
+ | |||
+ | |||
+ | ==== 1.5. Potentiometer ==== | ||
+ | |||
+ | A potentiometer (pot) is provided on the board to be used as an analog signal source or analog control input. The pot is a 1 K-ohm trimmer pot connected between the VCC3V3 supply and ground. The wiper of the pot is connected to analog input AIN0. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Appendix A: Orbit BoosterPack Pinout Table ===== | ||
+ | |||
+ | ^ Connector # ^ Pin # ^ Port and Bit ^ Function | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J1** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J2** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J3** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | | **J4** | ||
+ | |||