Great video. I have a question. In line 28 you are setting the continuous conversion bit but you also start conversions at line 74 in the ADC_Start() routine. Why are you doing that? In my code, unless I comment out line 28, the program does not work.
Hi, since we have to write a 0 to these bits and since its reset value for bit 24 and 25 is 0 we can consider only setting bit as both the bits are going to be zero. Hope it helps.
Hello Sir, thank u for such an awasome tutorial. My question is when i use ADC as the single mode , i cant use any inputs except PA0 , i looked at some projects and i think i have to make some arrangements in SQR Registers but i cant get a clear knowledge after reading them can u help me ?
Thank you for the great videos, but i have something that I don't undestand: In datasheet the V_DDA = 2.4 to 3.6 V, but you program V_DDA = 3.3 V ? If I choose f_ADC = 15 MHz, How many V_DDA voltage that I must program? And Which frequency selected to caculate for t_stab = 10 us ? ADC1->CR2 |= 1
Hello, Wonderful Series on Register Programming, I am developing a similar code on L4 series and having issues with Wait_For_Conv() function as in L4 series the EOC is set by hardware. Thanks in advance
@@ControllersTech That's OK , but my question and I do believe would be same from onurolce post will be : You only use keil for these new set of videos stm32 register programming and not CubeIDE. I can not download a Keil free version from a website . Anyway what will be the steps on CubeIDE to do register programming . Perhaps would be a good idea to open a new tread, --- Register Programming on CubeIDE --
you can download keil from their website. I never tried with CubeIDE, but i guess it will work as mentioned below: 1. create a project, just like you create regular project 2. in the cubeMX select only the basic things. (it won't matter what you select) 3. after the project is generated, delete the contents of the main file and follow the video afterwards