Hello All,
I am very new to Chibios. Can anyone please provide me an example code to use DMA for reading ADC values? I am using STM32F4-Discovery board.
thanks in advance.
Kind Regards,
Arun
Example for using DMA for ADC
Moderator: RoccoMarco
Re: Example for using DMA for ADC
http://wiki.chibios.org/dokuwiki/doku.p ... _discovery
"This article will explain how to get started with the recently released STM32F4-Discovery board using ChibiOS/RT. This board is really cheap (below 20$) and is an excellent evaluation platform for the STMicroelectronics Hi-Performance & DSP STM32F4 family."
"This article will explain how to get started with the recently released STM32F4-Discovery board using ChibiOS/RT. This board is really cheap (below 20$) and is an excellent evaluation platform for the STMicroelectronics Hi-Performance & DSP STM32F4 family."
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Example for using DMA for ADC
Hi,
All ChibiOS HAL drivers use DMA internally when applicable, this includes the ADC driver.
You don't need to do anything special, just use the ADC driver, it is able of very high performance.
Giovanni
All ChibiOS HAL drivers use DMA internally when applicable, this includes the ADC driver.
You don't need to do anything special, just use the ADC driver, it is able of very high performance.
Giovanni