Skip to main content
belod.1
Visitor II
December 10, 2022
Question

I can't write on the registers of m MCU (nucleo-g071RB board). I am a total beginner and I have tried to configure ADC on m MCU. For this purpose I have tried to configure RCC for the APB bus which control ADC. But it doesn't work at all.

  • December 10, 2022
  • 4 replies
  • 726 views

..

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
December 11, 2022

Perhaps try mastering simpler stuff first?

Look at the HAL based examples, and source for the library, get an understanding of how this works, and the reference manual description of the registers, then apply that to a register level usage.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
S.Ma
Principal
December 11, 2022

Sometime progressing learning is better than cliffhanging. Check out if there are STM32 arduino support.

gbm
Lead III
December 11, 2022

And what exactly doesn't work? You didn't show even a single line of your code, so what kind of help you expect? Use the debugger, use the ADC register view in SFR (close it after you get the conversion working, since it will interfere with your code when you reach that point); you should be able to see the problem.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
Pavel A.
Super User
December 11, 2022

Here beginners can find help for their projects.