Skip to main content
KMoel.1
Associate
July 25, 2022
Solved

Does Registers work in STM32Cube Programmer?

  • July 25, 2022
  • 6 replies
  • 2010 views

I am trying to use Registers in STM32CubeProgrammer to change the setting of GPIOB, but whenever I change a value. it just gets changes back to the value it had before! Is this because Registers is still in BETA or am I doing something wrong?

This topic has been closed for replies.
Best answer by KMoel.1

I changed to an other target HW and now it works, so it must have been an issue with the HW. Thank for the help

6 replies

KnarfB
Super User
July 25, 2022

Works for me. Did you press Aplly between Write and Read?

hth

KnarfB

KMoel.1
KMoel.1Author
Associate
July 25, 2022

It is when I press Apply that the value changes back to the original value

Andrew Neil
Super User
July 25, 2022

What chip?

Which register(s) have you tried?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
KMoel.1
KMoel.1Author
Associate
July 25, 2022

STM32L476

GPIO8 MODER8, OT8, ODR8

Tesla DeLorean
Guru
July 25, 2022

Present details of the chip you're using.

Go over the exact sequence you're using.

Make sure clocks are suitably enabled, otherwise peripheral registers will stick at zero

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
KMoel.1
KMoel.1AuthorBest answer
Associate
July 25, 2022

I changed to an other target HW and now it works, so it must have been an issue with the HW. Thank for the help

Andrew Neil
Super User
July 25, 2022

If your issue is now resolved, please mark the solution:

0693W000008y9fZQAQ.png

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.