Professional Documents
Culture Documents
Developed by:
PREFACE
In this exiting era of embedded systems, proper understanding & practical learning of embedded
systems will enhance career prospects for the students. SI Labs Advanced 8051 Microcontroller
Kit (NIKIT-SI-51) is 100 MIPS 8051 microcontroller family. The kit comes with silicon
Laboratories C8051F120 controller Target Board, JTAG Debugger, IDE and other accessories.
On-chip MAC unit for fast calculation, on-chip 12-bit 8-channel ADC (100KSPS), on-chip 10bit DAC are other useful feature on 8051 core of this kit. A CD ROM provided with the kits
contains code examples for different peripherals.
INDEX
Chapter 1 INTRODUCTION ....................................................................................................... 4
Chapter 2 NI SI LAB CONNECTOR DETIALS ........................................................................... 5
Chapter 3 DEVELOPMENT ENVIRONMENT .......................................................................... 10
Chapter 4 SAMPLE CODE EXAMPLES .................................................................................... 17
Chapter 1 INTRODUCTION
Silicon Laboratories Buffer Card is developed by NITech (Embedded Division) for the Silicon
Laboratories C8051F12x Development Kit containing C8051F120 Target Board. A 96-pin
Expansion I/O connector is provided on C8051F120 Target Board which can be connected to
Silicon Laboratories Buffer Card using EURO 96 connector. All I/O pins of Silicon Laboratories
Buffer Card are buffered and interfacing keyboard, LCD, DI, DO, AI, AO, LED, Serial
Communication made 5 V tolerance and easy.
The main features of the SI LAB Buffer Card are listed below:
Buffered 5 V Tolerance I/O pins.
Keyboard Interfacing.
LCD Interfacing.
Serial Communication.
Analog output with adjustable gain.
Analog input
LED on Port pins.
+5 V Regulated Power Supply.
JP2
(OUTPUT PORT)
POR
CONNECTOR
PIN
Pin#
Description
Pin @ uC
Pin#
Description
Pin @ uC
P5.0 (O)
PWM-0
P1.1 (O)
P5.1 (O)
PWM-1
P1.2 (O)
P5.2 (O)
PWM-2
P1.3 (O)
P5.3 (O)
PWM-3
P1.4 (O)
P5.4 (O)
PWM-4
P1.5 (O)
P5.5 (O)
PWM-5
P1.6 (O)
P5.6 (O)
N.C.
P5.7 (O)
N.C.
10
GND (Ground)
10
GND (Ground)
JP6
(PORT-3)
POR
CONNECTOR
Pin#
Description
Pin @ uC
Pin#
Description
Pin @ uC
P3.0 (I/O)
SCK
P0.2 (O)
P3.1 (I/O)
MISO
P0.3 (I)
P3.2
P3.2 (I/O)
MOSI
P0.4 (O)
P3.3
P3.3 (I/O)
NSS
P0.5 (I)
P3.7
P3.7 (I/O)
CNSTR0
P3.0 (I)
P3.6
P3.6 (I/O)
CNSTR1
P3.1 (I)
P3.5
P3.5 (I/O)
P0.6
P0.6 (I/O)
P3.4
P3.4 (I/O)
P0.7
P0.7 (I/O)
10
GND (Ground)
10
GND (Ground)
PIN
Pin#
Description
Pin @ uC
Pin#
Description
Pin @ uC
DIGITAL INPUT-1
P6.0 (I)
T0
P2.0 (I)
DIGITAL INPUT-2
P6.1 (I)
INT0
P2.1 (I)
DIGITAL INPUT-3
P6.2 (I)
T1
P2.2 (I)
DIGITAL INPUT-4
P6.3 (I)
INT1
P2.3 (I)
DIGITAL INPUT-5
P6.4 (I)
T2
P2.4 (I)
DIGITAL INPUT-6
P6.5 (I)
T2EX
P2.5 (I)
DIGITAL INPUT-7
P6.6 (I)
T4
P2.6 (I)
DIGITAL INPUT-8
P6.7 (I)
T4EX
P2.7 (I)
10
GND (Ground)
10
GND (Ground)
Description
Pin @ uC
EN (LCD CONTROL)
P4.0 (O)
P4.1 (O)
RS (LCD CONTROL)
P4.2 (O)
P4.3 (I)
P4.4 (I)
P4.5 (I)
P4.6 (I)
P4.7 (I)
10
GND (Ground)
Description
Pin @ uC
GND (Ground)
VCC (+5VDC)
VR
RS
P4.2 (O)
R/W
P4.1 (O)
EN
P4.0 (O)
D0
P7.7 (O)
D1
P7.6 (O)
D2
P7.5 (O)
10
D3
P7.4 (O)
11
D4
P7.3 (O)
12
D5
P7.2 (O)
13
D6
P7.1 (O)
14
D7
P7.0 (O)
15
GND (Ground)
16
VCC (+5VDC)
Pin @ uC
CP0 +
CP0 -
CP1 +
CP1 -
GND (Ground)
Description
2<->4
3<->4
6<->8
7<->8
10<->12
11<->12
14<->16
15<->16
Pin @ uC
AIN0
AIN1
AIN2
AIN3
JP10 CONNECTOR
JP10 CONNECTOR
Pin#
Description
Pin#
Description
ANALOG INPUT-1
ANALOG INPUT-1
ANALOG INPUT-2
ANALOG INPUT-2
ANALOG INPUT-3
ANALOG INPUT-3
JP12 CONNECTOR
JP12 CONNECTOR
Pin#
Description
Pin#
Description
ANALOG INPUT-4
ANALOG INPUT-4
Description
Rx
Tx
GND (Ground)
Description
Pin @ uC
LED-D11
P5.0 (O)
LED-D15
P5.1 (O)
LED-D12
P5.2 (O)
LED-D16
P5.3 (O)
LED-D13
P5.4 (O)
LED-D17
P5.5 (O)
LED-D14
P5.6 (O)
LED-D18
P5.7 (O)
10
GND (Ground)
10
[2] Create a new project from Project menu and select New Project
11
[3] Select your device (c8051F12x_13x) and give project name, Its Specific location and project
type c source.
12
[4] Make a new file from File menu with name extension of C.
13
[5]
14
[6]
15
[7]
From above box you can, compile your project. And connect to debugger and download project
to device.
16
17
LIABILITY DISCLAIMER
THE
INFORMATION,
SOFTWARE,
PRODUCTS,
AND
SERVICES
OR
TYPOGRAPHICAL
ERRORS.
CHANGES
ARE
info.emb@national-infotech.com
Web:
http://www.national-infotech.com
18