- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In attached project, there are ADC and UART component. To test it, I used the potentiometer and then I plotted its values in MATLAB in real-time. The project works fine. Now I want to add Filter component (1 channel, LPF) between ADC and UART, because I'll bring AC signal to the input of the ADC. I know that ADC can send data to Filter using DMA (there are example projects about that). The problem is that I don't know how to trasfer data from Filter to UART? And is it still posible to plot the signal in real time?
Thank you in advance.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You best choose interrupt driven filter output. In the interrupt handler you just read the filter value and send to UART.
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
What is your suggested solution then, if I have to filter the signal? My input signal is in low frequency area (lower then 1kHz)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You best choose interrupt driven filter output. In the interrupt handler you just read the filter value and send to UART.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Doly, I hope you are OK. I am having the same problem that you.
Could you help me with that? I tried to send filter data to UART by an interrupt (I wrote here FilterRead and then UARTPutString) and didn't even work.
Thanks before hand!