We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
We have Windows XP SP2, usbser.sys.
We have LPC2468 OEM board with USB Device controller and UART1. We developed the USB CDC with ACM and UART driver both in interrupt context.We developed the interface between UART and CDC.
UART side we connceted the TI 56Kb Modem and loaded the driver for the modem and at PC side using the Hypertermial or TeraTerm Pro.
In the control panel, we added the modem to our virtual CDC com port.
Now tell me how to test the CDC and UART driver with Flow control?When we have to set and clear the registers in UART for handling the flow control?