2024-09-20 12:23 AM
Hello,
I'm having some trouble using adc with dma and HAL. I noticed that in function HAL_ADC_Start_DMA Length parameter is multiplied with 4. Shouldn't be 2 (16 bit data from adc)?
File stm32wbaxx_hal_adc.c line 1760 (checked with versions 1.2.0, 1.4.1)
Best regards
Solved! Go to Solution.
2025-02-11 05:15 AM
Hello @cvs_dk
The correction has been implemented on the V1.6.0 of the STM32CubeWBA. It will be released on the coming days.
Best Regards.
STTwo-32
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.
2024-10-01 10:09 AM - edited 2024-10-02 10:25 AM
Hello @cvs_dk
Thank you for reporting this. It seems to be a regression on the driver this conversation should be depending on the data width (Word, Half-Word or Byte) you can check this on the driver of the STM32U5. I've escalated internally for correction on the coming releases of the driver (under internal ticket number 192738)
Best Regards.
STTwo-32
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.
2024-12-02 02:11 AM
Hello @STTwo-32
In latest Cube FW 1.5.0 above problem is still not solved. What is the status of internal ticket?
Best regards
2025-02-11 05:15 AM
Hello @cvs_dk
The correction has been implemented on the V1.6.0 of the STM32CubeWBA. It will be released on the coming days.
Best Regards.
STTwo-32
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.