•
ADC input (ADC0-5)
•
Interrupt input (INT0-1)
•
Reset
10
9
P1.5/
P14.5
I2C_SDA: U0C0.DOUT0
P0.8/
P14.9
I2C_SCL: U0C0.SCLKOUT0
8
VAREF
7
GND
6
P2.4
SPI_CLK: U0C1.SCLKOUT
P2.2
SPI_MISO: U0C1.DX0A
4
P2.5
SPI_MOSI: U0C1.DOUT0
PWM5: CCU41.OUT0
3
P1.14
SPI_CS: U0C1.SELO2
PWM4: CCU81.OUT10
2
P0.6
PWM3: CCU80.OUT30
1
P3.6
IO2: P3.6
8
P15.9
IO1: P15.9
7
P2.9
PWM2: CCU80.OUT22
6
P2.7
PWM1: CCU80.OUT03
4
P0.9
INT1: ERU0.1B0
PWM0: CCU40.OUT2
5
P5.0
IO0: P5.0
3
P0.7
INT0: ERU0.2B1
2
P0.1
UART_TXD: U1C1.DOUT0
1
P0.0
UART_RXD: U1C1.DX0D
1
3
2
4
P14.4
5
6
P14.9/
P0.8
P14.2
P14.1
P14.5/
P1.5
ADC3: VADC.G2CH0
ADC2: VADC.G1CH2
ADC1: VADC.G0CH1
ADC0: VADC.G0CH0
P14.0
7
GND
GND
5V
3V3
N.C.
RESET#
IOREF
N.C.
8
4
6
5
1
2
3
(Top View)
1
3
4
5
6
Ard uino_Pin_Mapping.emf
A
N
A
LO
G
IN
P
O
W
E
R
D
IG
IT
A
L
5V
2
P3.9
SPI_CLK: U2C0.SCLKOUT
RESET#
GND
5
P3.7
SPI_MISO: U2C0.DX0C
P3.8
SPI_MOSI: U2C0.DOUT0
PWM5: CCU41.OUT2
AREF: VAREF
I2C_SCL: U0C0.SCLKOUT0
I2C_SDA: U0C0.DOUT0
ADC5: VADC.G3CH3
ADC4: VADC.G2CH1
ADC5: VADC.G3CH3
ADC4: VADC.G2CH1
Figure 4
Mapping of Arduino
™
functions to XMC
™
pin functions
The XMC4300 Relax EtherCAT
®
Kit features a bi-directional voltage level shifter and therefore supports 5 V
Arduino shields as well as 3.3 V Arduino shields. Jumper JP300 (IOREF) determines whether the Arduino shield
is driven with 5 V or 3.3 V.
The analog input signals (ADC0-5) are limited to 3.3 V input voltage. A serial 100 Ohm resistor protects the
analog input pin against overcurrent.
Primarily, ADC0 to ADC3 should be used as analog inputs, because there is no additional circuit connected
to these pins, whereas ADC4 and ADC5 have additional circuitry and require an input signal with low input
impedance (<500 Ohm).
Note:
Parallel operation of I2C and ADC4/ADC5 is not possible, because they share the same Arduino pins.
2.3
mikroBUS
™
socket
The mapping of GPIOs and XMC
™
pin functions to mikroBUS
™
functions can be found in
. The mikroBUS
™
connector supports
•
SPI interface with one chip select (SPI_xxx)
•
I2C interface (I2C_xxx)
•
UART interface (UART_xxx)
•
PWM signal output (PWM)
•
ADC input (ADC)
restricted - NDA required!
XMC4300 Relax EtherCAT
®
Kit
For XMC4000 family
2 Hardware description
Board User Manual
7
Rev. 1.2
2022-06-20