chipKIT® Development Platform

Inspired by Arduino™

UART low level

Created Sat, 03 Jun 2017 17:05:24 +0000 by JeanD


JeanD

Sat, 03 Jun 2017 17:05:24 +0000

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


majenko

Sat, 03 Jun 2017 17:43:38 +0000

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


JeanD

Sat, 03 Jun 2017 17:53:24 +0000

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