dsPIC30F4013 RXINT on alternate UART 1

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
leoo
Flowcode V4 User
Posts: 54
Joined: Mon Jan 19, 2009 11:43 am
Has thanked: 41 times
Been thanked: 9 times
Contact:

dsPIC30F4013 RXINT on alternate UART 1

Post by leoo »

Hi,

I am not able to get the UART RXINT 1 to work when using the alternate UART1 pins, i.e. U1ATX on RC13 (pin 15) and U1ARX on RC14 (pin 16). The UART receive interrupts works well for both channel 1 and channel 2 but not when using the software channel and selecting the pins as above.

I don't think this is a FC7 issue as I think I encountered this with FC5 as well.

Kind regards.
Leo

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: dsPIC30F4013 RXINT on alternate UART 1

Post by Benj »

Hi Leo,

The RX Interrupt will only work with hardware based channels.

To get software RXINT working you must instead interrupt on the falling edge of the RX pin. There may be an INT or IOC type interrupt available on your chip you can use instead.

Post Reply