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
Dspic33F uart RXINT Problem
Moderator: Benj
-
- Posts: 7
- Joined: Wed Sep 18, 2013 11:15 pm
- Location: Argentina
- Has thanked: 2 times
- Been thanked: 1 time
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Dspic33F uart RXINT Problem
Hello,
Which specific device are you using and we will investigate for you.
Which specific device are you using and we will investigate for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Wed Sep 18, 2013 11:15 pm
- Location: Argentina
- Has thanked: 2 times
- Been thanked: 1 time
- Contact:
Re: Dspic33F uart RXINT Problem
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
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
-
- Posts: 7
- Joined: Wed Sep 18, 2013 11:15 pm
- Location: Argentina
- Has thanked: 2 times
- Been thanked: 1 time
- Contact:
Re: Dspic33F uart RXINT Problem
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
I had the wrong adapter from 5 to 3.3 v and did not receive the 4D signal correctly.
Thank you
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Dspic33F uart RXINT Problem
Brilliant, thanks for letting us know and glad it's working correctly now.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel