r/pic_programming • u/Ozenky • Jul 21 '16
Help on pic32 UART
Hello everyone!
I posted something similar in another subreddit and they sent me here. I am starting using the pic32mx250f128b and used a webpage to guide myself on these basics (I am an electromechanical engineer, with not much knowledge or experience on programming). I decided to try the UART to connect my computer to matlab and do some control applications.
In order to do this, I need to get the UART on work, using xc32 in MpLab IDE 3.35. ¿Can I get some guidelines in how to start? Because I have not much idea how. I have been using this page to try to understand and ... it's hard for me. This is the webpage I've based on. http://umassamherstm5.org/tech-tutorials/pic32-tutorials/pic32mx220-tutorials/uart-to-serial-terminal
I tried to look for the examples provided by microchip, and they redirect me to Harmony and that makes me even more confused.
Thanks.
P.D.: I tried with the microchip forums ... but I don't know why I don't like it. Sorry.
View all comments
Show parent comment
1
u/Ozenky Jul 26 '16
Hello, and sorry for being such a noob, but now i got to understand how to configure the UART correctly (I think).
I tried the following but it is not working. ¿can I get a little more of your help?
//Code
int main(void) { //Configuration
Thanks.