- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Discovered this when I tried to change the code, and the original echo function still worked in PuTTY. Verified that the code was not running by inserting an LED indication in the clause where the received byte is verified to be non-zero, and is written back out. The LED never comes on even though the echo function works.
Solved! Go to Solution.
- Labels:
-
ispn:39610:1:0
-
l1:314:1:0
- Tags:
- 4146
- 41xx
- bug
- cy8ckit-041
- cy8ckit-041-41xx
- echo
- loopback
- pioneer
- scb
- scb_unconfiguredcomm
- uart
- unconfigured
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your help! I did not get the LED indication showing, but the problem turned out to be with the Pioneer board. My colleague removed R34, R36, R47, and R52 from the board, and now the UART code works and shows the indication. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The example uses software loopback.
This can e verified by toggling an LED just before the re-transmission code (line 354). I have attached a sample project that demonstrates the same.
It can be observed that LED toggles for each character that is entered.
In the example, I have toggled the red LED only. Please ensure that the pin assignments to the LED are given correctly in your design.
Thanks and regards
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your help! I did not get the LED indication showing, but the problem turned out to be with the Pioneer board. My colleague removed R34, R36, R47, and R52 from the board, and now the UART code works and shows the indication. Thanks!