Attachments are accessible only for community members.
Usage of Serial Ports 0 and 1 on FX2LP, implementing ISRs
Anonymous
Not applicable
Jan 29, 2012
11:51 PM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Jan 29, 2012
11:51 PM
Question: How to implement RS232-USB converter using both serial ports on FX2LP DVK CY3684?
Answer:
The attached firmware will enable FX2LP to both send and receive data to and from the serial ports 0 and 1.
The data from the serial port 0 is received in Endpoint 6 and data in Endpoint 2 is sent to it.
The data from the serial port 1 is received in Endpoint 8 and data in Endpoint 4 is sent to it. The data stored in the endpoint buffer can be processed by FX2LP.
For implementing the serial ports, external Interrupts has been used. So that FX2LP can do any processing required in the TD_Poll() routine.
Hyperterminal is used to view and send the data through the serial ports. On the FX2LP side the data is sent and received using CyConsole.
Find attached the document with the step by step procedure to follow.
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous