Dspic33F uart RXINT Problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
fernandosartorelli
Posts: 7
Joined: Wed Sep 18, 2013 11:15 pm
Location: Argentina
Has thanked: 2 times
Been thanked: 1 time
Contact:

Dspic33F uart RXINT Problem

Post 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

User avatar
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

Post by Benj »

Hello,

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

fernandosartorelli
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

Post 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

fernandosartorelli
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

Post 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

User avatar
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

Post by Benj »

Brilliant, thanks for letting us know and glad it's working correctly now.

Post Reply