- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
problem to transfer data from one filter to the USB-UART with DMA
How to read the data with putty ??
you can use the printf () function ???
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are transferring binary data via your USBUART interface which you will not see displayed correctly in PuTTY. You need first to convert the binary 16-bit numbers to ascii characters. This cannot be done using DMA, you will have to read the results number-by-number, convert them using sprintf() and sending the results to USBUART.
Bob
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are transferring binary data via your USBUART interface which you will not see displayed correctly in PuTTY. You need first to convert the binary 16-bit numbers to ascii characters. This cannot be done using DMA, you will have to read the results number-by-number, convert them using sprintf() and sending the results to USBUART.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the problem is making the interruption with DMA to bring the information to USB_UART. Can someone help me with this I would appreciate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
keep interrupt handlers short! Whenever possible, just set a flag and react on it in the infinite loop in main().
Best practice is to use the isr's or component's StartEx() function to connect the handler to the interrupt. Look into the "System Reference Guide" to be found under Creator's help (Search for "Cy_ISR")
Bob