|
Hi Doacn,
You can refer to the example project available along with the Creator.
Right Click on the UART component in the component Catalog and choose 'Find Example Project'.
You can Choose UART_Rx or UART_Tx for project on Receiving or Transmitting respectively.
However you can tweak around with this basic project to fit your requirement.
To make this project work for PSoC5, choose the appropriate device.
In Workspace, right click on the project and select 'Device Selector'.
In the 'Select Device' tab that pops up, select the PSoC5 device which is available on the First Touch Kit (which is most likely tot be CY8C5588AXI-060).
Now, choose pins appropriately in the .cydwr of the project. FTK has pinouts in the form of headers. P0, P6, 4 pins of P4, and 4 pins of P12 are available. Choose the Rx and Tx pins from any of these pins according to your convenience. There is no restriction on which pin to use for Rx and Tx.
Once this is done, you need to communicate with the PC. If you are using a virtual COM Port having TTL pins available, then you can connect those pins to the Rx and Tx of FTK directly and Voltage level shifter is not required.
Else, you need to use external MAX232 Voltage level converter to convert the voltage level of PSoC5 pins to RS232 level.
Let us know if this works.
Regards,
dasg
|