Page 1 of 1

Dspic33F uart RXINT Problem

Posted: Sat Jun 30, 2018 4:30 am
by fernandosartorelli
Hello!
Playing with the dspic33j I find a problem.
I use the 2 uart channels, communicating with a 4D display and with an arduino.
The problem is that channel 1 can detect the interruption of RX, but in channel 2 it does not detect interruption RX.
Try to reverse the connections or change the pins and follow the problem.
Always the RXINT 2 does not interrupt
Thanks for helping as always

Re: Dspic33F uart RXINT Problem

Posted: Mon Jul 02, 2018 3:16 pm
by Benj
Hello,

Which specific device are you using and we will investigate for you.

Re: Dspic33F uart RXINT Problem

Posted: Tue Jul 03, 2018 1:42 pm
by fernandosartorelli
Hi Benj,
Use 33FJ64MC802, Crystal of 16 with PLL to 64M
I receive data from an arduino by UART, with interruption that works perfect. (Ch1 Tx:B6 - Rx: B7)
But I show the program and use it in a 4D 32Ptu display, (Ch2 Tx: B10 Rx: B11) it works well sending and receiving data, but I can not do it by interruption, the interruption does not work. Nor exchanging for Ch2 to Ch1.
If the Visi is managed by Uart, the interruption works (but it is complicated for me to create the macros).
Thank you

Re: Dspic33F uart RXINT Problem

Posted: Fri Jul 06, 2018 4:55 am
by fernandosartorelli
Hello! Sorry for the inconvenience. The interruption works!
I had the wrong adapter from 5 to 3.3 v and did not receive the 4D signal correctly.
Thank you

Re: Dspic33F uart RXINT Problem

Posted: Fri Jul 06, 2018 10:04 am
by Benj
Brilliant, thanks for letting us know and glad it's working correctly now.