Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.
kiltumPublic archive

About

Fix for STM32 ADC HAL bug

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

STM32 ADC HAL multiple channels bug fix

If you want to configure multiple ADC channels with STM32CubeMX, and use them without interrupts/DMA, you will meet this bug.

By some reason you cannot configure HAL to read only one channel from multiple configured. You only can ADD or REMOVE channels from list.

In adc.c you will find working code snippet

  1. Create with CubeMX your configuration.
  2. Use snippet for reading that channel that you need when you need, not random channel from configured list.
  3. ...
  4. Profit!

About

Fix for STM32 ADC HAL bug

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages