chipKIT Basic I/O Shield Reference Manual
chipKIT Basic I/O Shield Hardware Description
Introduction
The following gives a basic description of the
input/output hardware contained in the Basic
I/O Shield and how to use it. Refer to Appendix
A for a table showing pin definitions, and
Appendix B for example code to use the OLED
graphic display.
OLED Graphic Display
The Basic I/O board provides a 128x32 pixel,
Organic LED (OLED), graphic display panel.
The graphic display panel used is the
WiseChip/Univision UG-23832HSWEG04. This
display uses the Soloman Systech SSD1306
display controller.
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 Basic I/O
provides two FETs for software control of the
two power supplies for the display. The
VDD_EN control is used to turn on/off the
power to the logic of the display. The
VBAT_EN 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 pin is made an output and driven
low to turn on the power supply.
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
www.digilentinc.com
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 set HIGH for display buffer
access and LOW for command access.
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 3us (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 10Mhz. Due to pin
limitations between the Basic I/O and the
Uno32 board, the select pin (SS) is wired low
on the Basic I/O board and the display is
always enabled to receive data over the SPI
interface.
Digilent has a library for use with the Basic I/O
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. This library is available on the
Digilent web site and in the third part libraries
repository on github.
Appendix B provides example code that shows
initializing the display and writing to it.
page 4 of 15
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
相关PDF资料
TDGL007 BOARD MOTOR CTRL DSPIC337128MC
TEACL-PIC-DB ADAPTER DEBUG TEACLIPPER/PICICD2
TEACL-STAMP-DB ADAPTER DEBUG TEACLIPPER/STAMP
TEH-9P CONN DB9 PLUG IDC PLASTIC
TEH-9S CONN DB9 SOCKET IDC PLASTIC
TEMPCOMPRTC-RD KIT REF DES TEMP COMPENS RTC
THS6182DWEVM EVAL MODULE FOR THS6182DW
TISP1082F3DR SURGE SUPP -66V UNIDIR 8-SOIC
相关代理商/技术参数
TDGL006 功能描述:界面开发工具 chipKIT Network Shield RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
TDGL007 功能描述:开发板和工具包 - PIC / DSPIC DIGILENT CEREBOT MC7 MOTOR CONTROL BRD RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
TDGL008 功能描述:开发板和工具包 - PIC / DSPIC Digilent Cerebot MX3ck Dev Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
TDGL009 功能描述:开发板和工具包 - PIC / DSPIC Digilent Cerebot MX4cK Dev Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
TDGL010 功能描述:开发板和工具包 - 其他处理器 Digilent Cerebot MX7cK Dev Brd RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
TDGL011 功能描述:MODULE DIGILENT PMOD WIFI RoHS:是 类别:RF/IF 和 RFID >> RF 评估和开发套件,板 系列:Digilent 标准包装:1 系列:- 类型:GPS 接收器 频率:1575MHz 适用于相关产品:- 已供物品:模块 其它名称:SER3796
TDGL012 功能描述:MODULE DIGILENT PMODRF2 RoHS:是 类别:RF/IF 和 RFID >> RF 评估和开发套件,板 系列:Digilent 标准包装:1 系列:- 类型:GPS 接收器 频率:1575MHz 适用于相关产品:- 已供物品:模块 其它名称:SER3796
TDGL013 功能描述:MODULE DIGILENT PMODRTCC RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:* 标准包装:1 系列:- 主要目的:数字电位器 嵌入式:- 已用 IC / 零件:AD5258 主要属性:- 次要属性:- 已供物品:板 相关产品:AD5258BRMZ1-ND - IC POT DGTL I2C1K 64P 10MSOPAD5258BRMZ10-ND - IC POT DGTL I2C 10K 64P 10MSOPAD5258BRMZ100-ND - IC POT DGTL I2C 100K 64P 10MSOPAD5258BRMZ50-ND - IC POT DGTL I2C 50K 64P 10MSOPAD5258BRMZ1-R7-ND - IC POT DGTL I2C 1K 64P 10MSOPAD5258BRMZ10-R7-ND - IC POT DGTL I2C 10K 64P 10MSOPAD5258BRMZ50-R7-ND - IC POT DGTL I2C 50K 64P 10MSOPAD5258BRMZ100-R7-ND - IC POT DGTL I2C 100K 64P 10MSOP