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