LPC17xx Serial enabling RTS
Posted: Tue Aug 08, 2017 8:41 pm
Hello,
I have the serial driver implemented for uart1 on an LPC1778 and the device I'm trying to communicate with has an API with RTS flowcontrol enabled by default.
My pin configs are set for RTS and CTS and using a scope I can see my data when I transmit, but I get no response from the other device.
Using TRACE32 (lauterback) if I manually enable RTSEN in the MCR register then everything works. I transmit and the other device responds.
I can't find where to configure the MCR register via the serial drivers. Is this possible?
thanks,
Ryan
I have the serial driver implemented for uart1 on an LPC1778 and the device I'm trying to communicate with has an API with RTS flowcontrol enabled by default.
My pin configs are set for RTS and CTS and using a scope I can see my data when I transmit, but I get no response from the other device.
Using TRACE32 (lauterback) if I manually enable RTSEN in the MCR register then everything works. I transmit and the other device responds.
I can't find where to configure the MCR register via the serial drivers. Is this possible?
thanks,
Ryan