User manual
36Hardware
© 2013 Conrad Electronic
Operating temperature: Industrial (-40°C to +85°C)
Maximum Frequency: 8 MHz at 2.7V, 16 MHz at 4.5V
2.1.5.2 Pinzuordnung
PortA bis PortG werden für direkte Pin-Funktionen (z.B. Port_WriteBit) von 0 bis 52 gezählt, siehe
"PortBit".
Damit auf dem Applicationboard mit dem C-Control Mega128 CAN Modul der CAN-Bus und das
LCD-Display gleichzeitig ansprechbar sind, wurden die Anschlüsse von PD5 und PF7 getauscht! Im
C-Control Mega128 CAN ist PD5 mit X3_8 verbunden und PF7 mit X2_14! Vergleiche dazu Pinzuord-
nung.
Pinbelegung für Application Board Mega128 CAN
Modul
M128
Port
Por-
t#
PortBit
Name1
Name2
Intern
Bemerkungen
1
PEN
prog. Enable
X1_16
2
PE0
4
32
RXD0
PDI
EXT-RXD0
RS232
X1_15
3
PE1
4
33
TXD0
PDO
EXT-TXD0
RS232
X1_14
4
PE2
4
34
AIN0
XCK0
Analog Comparator
X1_13
5
PE3
4
35
AIN1
OC3A
Analog Comparator
X1_12
6
PE4
4
36
INT4
OC3B
EXT-T1
Taste1 (SW1)
X1_11
7
PE5
4
37
INT5
OC3C
TX-REQ
SPI_TX_REQ
X1_10
8
PE6
4
38
INT6
T3
EXT-T2
Taste2 (SW2) / Eingang Ti-
mer 3
X1_9
9
PE7
4
39
INT7
IC3
EXT-DATA
LCD_Interface
X1_8
10
PB0
1
8
SS
SPI
X1_7
11
PB1
1
9
SCK
SPI
X1_6
12
PB2
1
10
MOSI
SPI
X1_5
13
PB3
1
11
MISO
SPI
X1_4
14
PB4
1
12
OC0
RX-BUSY
SPI_RX_BUSY
X1_3
15
PB5
1
13
OC1A
EXT-A1
DAC1
X1_2
16
PB6
1
14
OC1B
EXT-A2
DAC2
X1_1
17
PB7
1
15
OC1C
OC2
EXT-SCK
LCD_Interface
X2_5
18
PG3
6
51
TOSC2
LED1
Leuchtdiode
X2_6
19
PG4
6
52
TOSC1
LED2
Leuchtdiode
X2_3
20
RESET
X4_10
21
VCC
X4_12
22
GND
23
XTAL2
Oscillator
24
XTAL1
Oscillator
X2_9
25
PD0
3
24
INT0
SCL
EXT-SCL
I2C
X2_10
26
PD1
3
25
INT1
SDA
EXT-SDA
I2C
X2_11
27
PD2
3
26
INT2
RXD1
EXT-RXD1
RS232
X2_12
28
PD3
3
27
INT3
TXD1
EXT-TXD1
RS232
X2_13
29
PD4
3
28
IC1
A16
IC Timer 1, SRAM bank se-
lect
X3_8
30
PD5
3
29
XCK1
TXCAN
LCD-E
LCD_Interface