PDA

View Full Version : XMC1000 TIP of the day: Communicated with PC Terminal Program



Jackson
Jun 11th, 2013, 10:20 PM
There is a Virtual COM Port when you connect any of the XMC1000 Boot kit (http://www.infineon.com/cms/en/product/microcontrollers/32-bit-industrial-microcontrollers-based-on-arm-registered-cortex-tm-m/32-bit-xmc4000-industrial-microcontrollers-arm-registered-cortex-tm-m4/xmc-development-tools,-software-and-kits/xmc1000-starter-kits/channel.html?channel=db3a30433cfb5caa013d11579ecb0 660&parentChannelRef=db3a304335b504400135be64c7da68b0_ db3a304335b504400135be64c7da68b0_db3a304335b504400 135be64c7da68b0_db3a304335b504400135be64c7da68b0_d b3a304335b504400135be64c7da68b0_db3a304335b5044001 35be64c7da68b0_db3a304335b504400135be64c7da68b0) to the computer.
When you connect the Boot kit to your system for the first time, it will installed the driver and registered a COM Port in your system.
This COM Port allows the XMC1000 device to communicate with the PC terminal program using UART protocol.

Plug in the Boot Kit in your PC and you will find "JLink CDC UART Port" in the system Device Manager.
The COM Port number indicated there is refer to the Boot Kit Virtual COM Port.
Then, setup your terminal program to connect to this COM Port number.
After that, configure the XMC1000 UART Transmit pin to P1.2 and Received pin to P1.3.
Now, your XMC1000 is ready to send and receive data from the PC terminal program. :)