Jan 25, 2021
08:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 25, 2021
08:49 PM
I am using BLE CY8C4248LQI-BL583....
Along with BLE I use 2 nos. of UART ports.
I am unable to read UART_1_GetChar() for controlling my embedded design.
PutChar() is working fine...
When I check for any input char it recognizes. But when I write:
char ch;
ch = UART_1_GetChar();
ch does not get the value read by me... I tried all set ups of setting RX and TX in the design module....
Can you help me?
Vittal Candade
Solved! Go to Solution.
Labels
- Tags:
- getchar
1 Solution
Attachments are accessible only for community members.
Jan 25, 2021
09:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 25, 2021
09:15 PM
Hello Vittal,
Please refer to the attached code example in which the proper way to use the UART_UartGetChar() function is demostrated.
If the issue persists kindly attach you project, so that we can recreate the issue at our end.
Best Regards
Ekta
1 Reply
Attachments are accessible only for community members.
Jan 25, 2021
09:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 25, 2021
09:15 PM