- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I was trying to create a TIMER based ISR to do the following.
Check every 200ms, if nothing is recieved on UART Rx, transmit something on UART Tx. This continues till we recieve something on Rx.
And if valid data in UART Rx, dont send anything on UART Tx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand that you want an example project.
Attached project is my solution using the CY8CKIT-059.
Every 200ms do followings
if a character is received on UART RX
Send a received character and CRLF to UART TX
otherwise
Send a prompt character '>' to UART TX
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Easiest way to help you is always posting your complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand that you want an example project.
Attached project is my solution using the CY8CKIT-059.
Every 200ms do followings
if a character is received on UART RX
Send a received character and CRLF to UART TX
otherwise
Send a prompt character '>' to UART TX
Regards,
Noriaki