2023-11-12 08:53 AM
I am running ADC DMA in cyclic mode
at STM32G474CET6 Im useing
Buffer_Addr_At_Trigger[ ADC_Loop_Counter] = hdma_adc1.Instance->CNDTR;
to read the pointer of the cyclic buffer
In the STM32H7 family
An syntax error for CNDTR
I can't find the appropriate register in the documentation
Thanks
Haim
Solved! Go to Solution.
2023-11-12 09:49 AM
Looks like In the STM32H7 family, the register you are looking for is different from the STM32G4 series. You can check the datasheet:https://www.st.com/resource/en/datasheet/stm32h743vi.pdf
2023-11-12 09:49 AM
Looks like In the STM32H7 family, the register you are looking for is different from the STM32G4 series. You can check the datasheet:https://www.st.com/resource/en/datasheet/stm32h743vi.pdf
2023-11-12 09:53 AM - edited 2023-11-12 09:54 AM
Reference Manual for the DMA units and register details https://www.st.com/resource/en/reference_manual/rm0455-stm32h7a37b3-and-stm32h7b0-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
The IDE should also let you drill down into the structures and field names. H7's can be more picky about the DMA units, and attached memories, so watch that.
2023-11-12 10:00 AM
Hello @hroze.1 and welcome back to the ST Community :smiling_face_with_smiling_eyes:.
from what I understood from your question. I see that you are looking for the equivalent of the "DMA_CNDTRx" register in the DMA registers with the STM32H7A3. This register is the "DMA_SxNDTR" as you can find in the RM0455.
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.