Anonymous
Not applicable
Mar 27, 2015
01:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 27, 2015
01:51 PM
Hi,
I am looking for ADC sampling code based on timer driven interrupt.
platform: BCM943362WCD4
Problem : sample ADC at 10 or 100 microsecond intervals. I wanted to program the timer to interrupt at every 10us.
ISR routine to sample the ADC and send the data to terminal.
Where do I find sample codes for ISR and how to setup the ISR.
Thanks,
Aravanan.
1 Reply
Mar 30, 2015
11:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 30, 2015
11:59 AM
Hi,
Looks like you are looking for ADC streaming sample code. It is not supported on WICED at this time.
You can setup a timer, ADC and DMA to collect ADC data at 10K or 100K sample rate and send collected data in chunks to terminal. For that, WICED brings in STM32F2xxx header and source library code and you can find them in .../WICED/platform/MCU/STM32F2xx/peripherals/libraries.
Seyhan