chipKIT® Development Platform

Inspired by Arduino™

Use ChipKit uc32 USB/UART with MPLABX

Created Wed, 08 Mar 2017 23:16:56 +0000 by riceman0


riceman0

Wed, 08 Mar 2017 23:16:56 +0000

Hello, I have purchased a UC32 chipkit and am using MPLABX to program it with my own debugger. This is working fine. I see in the reference manual that the on-board USB/UART is designed to allow the MPIDE to talk to the bootloader... neither of which I am using.

Can I write C code using my MPLABX to accrss the UART to talk serial over the USB? This would be ideal. If so, which UART does it use?

Thanks very much!


majenko

Thu, 09 Mar 2017 10:59:25 +0000

Yes, the USB is just an FT232R connected to UART 1

You may like to peruse the board configuration files to get a better understanding of what is routed where on the board:

  • [url]https://github.com/chipKIT32/chipKIT-core/tree/master/pic32/variants/uC32[/url]

riceman0

Sat, 11 Mar 2017 03:51:28 +0000

Awesome, thank you!