- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi community, it's me again. I have had a very good time working on my project. I am developing an EMG Measuring device. My purpuse is to send ADC signals through serial port
I am using these modules
ADC SAR --> FILTER --> VDAC --> ADC DELSIG --> UART.
The signal filtered that comes back from the VDAC goes back to the ADC DELSIG. I haven't found a way to transmit directly from the filter to the UART through polling or DMA. I tried through DMA with the following register UART_TXDATA_PTR, but I get some random output in the serial port. Do you have any ideas? I would appreciate it.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
Filter_HOLDA_PTR that you have used in the DMA configuration, points to the lower byte of the result register. Please use Filter_HOLDAH_PTR instead. This points to most significant bits of the filtered result.
In the filter Data Ready signal can be interrupt. This can be used to pass the data to UART if you want to directly pass the interrupt result to UART.
Best Regards,
VRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The project you have attached does not seem to have the filter,VDAC or DMA components. Is this the right project?
Best Regards,
VRS
- 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
Hey,
It is better to have a interrupt driven filter output. In the interrupt handler you can read the filter output value and send it through UART.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
Filter_HOLDA_PTR that you have used in the DMA configuration, points to the lower byte of the result register. Please use Filter_HOLDAH_PTR instead. This points to most significant bits of the filtered result.
In the filter Data Ready signal can be interrupt. This can be used to pass the data to UART if you want to directly pass the interrupt result to UART.
Best Regards,
VRS