- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I have connected device with Psoc5 device. I am not sure how can I read data from it. So , basically I send AT commands from Host (Psoc5 device ) to client device.
I am able to test client device through serial term from PC and it is working fine, now I have connected that to Psoc5. I am able to send the data, now I am not sure how could I read response back ?
I do send as follow
UART_PutString("AT");
device will give you now Ok response, so not sure hoe could I read it ?
Your help would be great !!
Thanks
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Assuming that your hardware connections are correct and the signal levels are shifted (PC serial uses +-12V, PSoC uses GND to VDD, so a level shifter as MAX232 needed) there are some APIs within the UART component.
You should check the UART Rx status for a character ready and if so, retrieve it using GetByte()
Bob