C8051T63x-DK
6. Example Source Code
Example source code and register definition files are provided by default in the SiLabs\MCU\Examples\C8051T63x
directory during IDE installation. These files may be used as a template for code development.
6.1. Register Definition Files
Register definition files C8051T630.inc , C8051T630_defs.h , and compiler_defs.h , define all SFR registers and bit
addressable control/status bits. They are installed by default into the SiLabs\MCU\Examples\C8051T63x directory
during IDE installation. The register and bit names are identical to those used in the C8051T63x data sheet. The
register definition files are also installed in the default search path used by the Keil Software 8051 tools. Therefore,
when using the Keil 8051 tools included with the development kit (A51, C51), it is not necessary to copy a register
definition file to each project's file directory.
6.2. Blinking LED Example
The example source files T63x_Blinky.asm and T63x_Blinky.c show examples of several basic C8051T63x
functions. These include disabling the watchdog timer (WDT), configuring the Port I/O crossbar, configuring a timer
for an interrupt routine, initializing the system clock, and configuring a GPIO port. When compiled/assembled and
linked, these programs flash the green LED on the C8051T630 Motherboard about ten times a second using the
interrupt handler with a timer.
7. Development Boards
The C8051T63x Development Kit includes a motherboard that interfaces to various daughter boards. The
C8051T630 Emulation Daughter Board contains a C8051F336 device to be used for preliminary software
development. The C8051T630 Socket Daughter Board allows programming and evaluation of the actual
C8051T63x family of devices. Numerous input/output (I/O) connections are provided on the motherboard to
facilitate prototyping. Figure 3 shows the C8051T630 Motherboard and indicates locations for various I/O
connectors. Figure 4 shows the factory default shorting block positions. Figures 5 and 6 show the available
C8051T630 daughter boards.
P1, P2
P3
P4
P5
J1
J2
J3
J4
J5
J6
J7
J8
J9
J10
J11
J12
J13
Daughter board connection
Power connector that accepts input from 7.5 V dc to 15 V dc unregulated power adapter
USB connector for UART to USB communications interface
USB Debug interface connector
Analog I/O terminal block
Port 0 header
Port 1 header
Port 2 header
Connects P0.1 (IDAC) pin to grounded resistor to produce voltage output at IDAC pin.
Power supply selection header (See “7.3. Power Supply Headers (J6 and J7)”)
Power supply enable header that connects power source selected on J6 to the board's main
power supply net
Communications interface control signal header
Connects port pin P0.7 to the switch labeled "SW" and port pin P1.3 to the LED labeled "LED"
Communications interface data signal header
VPP supply connection used when programming EPROM devices
Connects potentiometer to the port pin, P1.6
Additional connections to ground
Rev. 0.1
7
相关PDF资料
CAN-100 BOARD EVAL RS232 100QFP
CANADAPT28 KIT ADAPTER CANDEMOBOARD 28PLCC
CAT24AA01WI-GT3 IC EEPROM SERIAL 1KB I2C 8SOIC
CAT24AA02WI-G IC EEPROM SERIAL 2KB I2C 8SOIC
CAT24C01ZI-G IC EEPROM SERIAL 1KB I2C 8MSOP
CAT24C03WI-G IC EEPROM SERIAL 2KB I2C 8SOIC
CAT24C04ZI-G IC EEPROM SERIAL 4KB I2C 8MSOP
CAT24C05YI-G IC EEPROM SERIAL 4KB I2C 8TSSOP
相关代理商/技术参数
C8051T630DK 功能描述:开发板和工具包 - 8051 C8051T630 Family Dev Kit RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:C8051F960, Si7005 核心: 接口类型:USB 工作电源电压:
C8051T630-GDI 功能描述:8位微控制器 -MCU 8k EPROM 768 RAM MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051T630-GM 功能描述:8位微控制器 -MCU 8KB 10ADC DAC10 20 Pin MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051T630-GMR 功能描述:8位微控制器 -MCU 8KB 10ADC DAC10 20 Pin MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051T631-GM 功能描述:8位微控制器 -MCU 8KB 20Pin MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051T631-GMR 功能描述:8位微控制器 -MCU 8KB 20Pin MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051T632-GM 功能描述:8位微控制器 -MCU 4KB 10ADC DAC10 20 Pin MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
C8051T632-GMR 功能描述:8位微控制器 -MCU 4KB 10ADC DAC10 20 Pin MCU RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT