Use ChipKit uc32 USB/UART with MPLABX

Post Reply
riceman0
Posts: 9
Joined: Mon Mar 06, 2017 10:42 pm

Use ChipKit uc32 USB/UART with MPLABX

Post by riceman0 » Thu Mar 09, 2017 12:16 am

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!

User avatar
majenko
Site Admin
Posts: 2165
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Use ChipKit uc32 USB/UART with MPLABX

Post by majenko » Thu Mar 09, 2017 11:59 am

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:
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

riceman0
Posts: 9
Joined: Mon Mar 06, 2017 10:42 pm

Re: Use ChipKit uc32 USB/UART with MPLABX

Post by riceman0 » Sat Mar 11, 2017 4:51 am

Awesome, thank you!

Post Reply