2015-03-30 08:09 PM
Hi all,
I am trying to get ADC working on the STM32f334 discovery board, using the HAL drivers, however there isn't enough documentation on the HAL drivers to help me (''Description of STM32f334 HAL Drivers.pdf'' doesn't give enough detail of setting the ADC, DMA and timer configuration variables to).Will anyone be able to help me out? I am looking to set up 4 ADC pins, which I can sample at 200kHz, ideally using the DMA so that the code isn't interrupted so frequently.Thanks!2015-03-30 08:18 PM
Will anyone be able to help me out?
Not me, I'm afraid.2015-03-30 08:43 PM
Clive,
I've been looking at one of your [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/stm32f207%20ADC%2BTIMER%2BDMA%20%20Poor%20Peripheral%20Library%20Examples&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=3210]posts, and it looks like exactly what I'm looking for! now just have to see if it could be implemented in the stm32f3xx HAL driver..2015-03-31 01:15 AM
You may start from the examples available in STM32Cube_FW_F3\Projects\STM32303C_EVAL\Examples\ADC.
-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2015-04-01 04:01 PM
Thanks heaps!
Those tutorials worked. One explained multiple channels with DMA, and the other explained using external triggered by a timer