Hi Techies,
Presently we are working on USB to Serial driver on LPC2468 OEM board with Keil uVision IDE.The Modem signal pins are avilable for UART1 and connected to LPC2468 uController.We integrated our CDC and UART driver to work as USB to Serial driver, where the data transfer is working successfully.
But we don't know how to handle the Modem signals, for example if we want to handle the Hardware and software flowcontrol in UART,How to implement in software UART driver.
We have a SEND_BREAK class request in CDC, when we get this request we set the Break Control bit in U1LCR with some delay.Now the question is when we have to clear this Break Control bit U1LCR? For your information when we set this bit , we get Break interrupt in UART for Line status Register(U1LSR),this we give as a notification through Interrupt IN pipe to HOST.
When we have to set RTS and DTR bits in U1MCR and when we have to clear? We have U1TEN (Transmit Enable Register)used for software and hardware flow control, for sending the data throught UART, what about Receving of data through UART.
How we can know that an application is using the software or hardware flow control?
What is the procedure to handle the flowcontrol mechanisim in UART?
How to Test UART Driver independently with Modem using Modem signals?