Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I have written a GUI in visual Studio(c#), I have a micro controller(Infenion XMC relax kit) I wanted to interface this GUI and micro controller, any suggestions on how to proceed with this will be helpful

What I have tried:

This micro controller has only microusb input, so no serial connector ports, i am really clueless on how to proceed.
Posted
Updated 30-Mar-16 5:22am
Comments
Kornfeld Eliyahu Peter 30-Mar-16 8:20am    
You should read/learn the documentations come with the kit...
(How I know you didn't? If you would you should know that the board has 4 serial ports...)
Jochen Arndt 30-Mar-16 8:26am    
The kit has only an USB connector but the controller should have multiple interfaces which are usually also available on the kit board via pin headers.

So check the documentation for the kit and the controller to see which interface might be used.

Commonly used are serial interfaces (UART) because they can be directly connected to PCs (e.g. using an USB to serial converter). But note that these might require a line driver (driving the logical signals of the controllers to RS-232 levels).

All other interfaces including USB require a driver on the PC. Interfaces like I2C, SPI, and CAN require a hardware interface too on the PC side (mainly also using USB).

If you need further help you should at least tell us the exact kit name. But you might get better help in forums that are related to used Infineon controller.

1 solution

Umm....no. Your micro DOES have serial ports and you'll be using serial communication to talk to it from your PC. Plug your micro into the PC over USB and go into the Device Manager in Windows. You'll find it connected under Ports using a COM port (serial).

If it isn't obvious already, you'll be using serial communication to talk to the micro, either over that USB cable or some other cable you'll probably have to build to connect to it on serial over USB.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900