Skip to content

XMC4200 Platform2Go

boramonideep edited this page Oct 17, 2022 · 2 revisions

Overview

This page summarizes information about the XMC4200 Platform 2Go evaluation board and its implementation for the Arduino IDE. The XMC4200 Platform 2Go evaluation board consists of a XMC4200 microcontroller with a debugger implemented by a XMC4200 microcontroller. The Infineon homepage of the board can be found here. Please note that there exist versions with 5 V and 3.3V. Please be careful which version you have and use with your respective shields. The one described here means the 5 V version as this one is compatible with Arduino shields designed for the 5 V systems. This kit has the XMC4200 device with debugger plus ETHERNET, CAN, ARDUINO, MikroBUS and Shields2Go form factor. Equipped with an ARM® Cortex®-M4 based XMC™ Microcontroller from Infineon Technologies AG, the XMC4200 Platform2Go is designed to evaluate the capabilities of Infineon’s XMC4200 Microcontroller. It can be used with a wide range of development tools including Infineon’s free of charge Eclipse based IDE DAVE.

Arduino Pin Out

The pin layout of the XMC4200 Platform 2Go evaluation board (for 5V Shields) for the Arduino IDE is as follows (the original file can be found here):

XMC4200 Platform 2Go evaluation board (for 5V Shields) Pin Out for Arduino

Important Note

Please note that Arduino pin number 15 & 21 (SCL & A5) and Arduino pin number 14 & 20 (SDA & A4) are connected with each other on the board itself. Although they are different physical pins of the microcontroller, they are connected with each other on the board to comply with the original Arduino UNO Rev3 pin connections. This influences analog measurements on A4 and A5 if you are using I2C simultaneously. Details of the connection can also be found in the schematics in the user manual of the board here.

The XMC4200 Platform2Go User Manual on

  • Page 12 details the 3V3 signals on connectors X1 and X2 (Figure 7) including ADC channels
  • Page 15 below Figure 9 details analog input specifications

See also another Wiki for notes on XMC4xxx Series Analog pins

A workaround is to set the I2C pins to output open drain via pinMode(<pinNumber>, OUTPUT_OPENDRAIN); and writing a HIGH afterwards via digitalWrite(<pinNumber>, HIGH); to turn it off if you want to use the analog pins (but then I2C cannot be used anymore). Tri-state via pinMode(<pinNumber>, XMC_GPIO_MODE_INPUT_TRISTATE); is also possible, but the open drain method is preferable as explained here for some use cases. These functions are using the pin mode definitions from the XMC Peripheral Library defined here.

You can also cut the connection to the pins physically on the PCB to isolate them:

XMC4200 Cut Lines Board

Key Features

  • XMC™4200 (ARM® Cortex™-M4)
  • ARDUINO Uno compatibility
  • Shields2Go connectivity
  • Ethernet-enabled communication option
  • Additional voltage level shifters
  • Available in four different assembly versions: 3.3V Shields (Lite), 5V (Lite)
  • CAN connectivity

Benefits

  • Highest integration on Microcontrollers
  • Easy to design products
  • Highest efficiency
  • Reduced system cost

PCB Design Data

In case you want to change the design or reuse it for your own projects, please find the XMC4200 Platform2Go board design for Altium under the following link:

XMC4200 Platform2Go PCB Design Data

Board Information, Datasheet and Additional Information

A PDF summarizing the features and layout of the XMC4200 Platform 2Go evaluation board is stored on the Infineon homepage here. The datasheet for the XMC4200 can be found here XMC4200 Datasheet while the respective reference manual is located here XMC4200 Reference Manual.