cancel
Showing results for 
Search instead for 
Did you mean: 

Pointer to cyclic buffer at stm32H7A3

hroze.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
liaifat85
Senior II

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

View solution in original post

3 REPLIES 3
liaifat85
Senior II

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

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
STTwo-32
ST Employee

Hello @hroze.1 and welcome back to the ST Community 😊.

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.

Screenshot_2023-11-12-18-37-19-84_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

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.