UART low level

Post Reply
JeanD
Posts: 7
Joined: Wed Dec 14, 2016 3:11 am

UART low level

Post by JeanD » Sat Jun 03, 2017 6:05 pm

Hello everyone,
Hope you are well.

I have a question about programmation on chipKit 32
I must use UART at low level for my project (CNC driver based on GRBL)
To do real time communication I need to intercept uart interrupt on Serial0 (the one used with usb I think).
I can't figure which vector I need to configure. What's the difference between UART_1 and UART_1A ?
Is there more configuration to do when using Serial0 at low level ?

Thanks in advance.

Jean

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

Re: UART low level

Post by majenko » Sat Jun 03, 2017 6:43 pm

Intercepting serial reception for a UART interface is as simple as attaching an interrupt routine to the serial object.

You can read more here: http://chipkit.net/forum/viewtopic.php?t=3691#p15386
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".

JeanD
Posts: 7
Joined: Wed Dec 14, 2016 3:11 am

Re: UART low level

Post by JeanD » Sat Jun 03, 2017 6:53 pm

Perfect !
Thanks a lot.
By the way, you've made a terrific job.

Post Reply