Search found 4 matches

by ccsk
Sat Oct 21, 2023 5:03 pm
Forum: General discussion
Topic: STM32G030F6P6 Backup Registers
Replies: 10
Views: 19652

Re: STM32G030F6P6 Backup Registers

Yes thank you for the tip. I was able to come up with this code that works: #include <SoftwareSerial.h> SoftwareSerial myserial(PA7, PA8); // RX, TX uint32_t WriteRegisterValue = 254; uint32_t ReadRegisterValue; void setup() { myserial.begin(9600); delay (1000); myserial.println("test"); /...
by ccsk
Fri Oct 20, 2023 9:03 pm
Forum: General discussion
Topic: STM32G030F6P6 Backup Registers
Replies: 10
Views: 19652

Re: STM32G030F6P6 Backup Registers

Yes, from page 25 of the data sheet:

The device embeds an RTC and five 32-bit backup registers, located in the RTC domain of the silicon die.
by ccsk
Fri Oct 20, 2023 7:36 pm
Forum: General discussion
Topic: STM32G030F6P6 Backup Registers
Replies: 10
Views: 19652

Re: STM32G030F6P6 Backup Registers

Thank you.

I just uploaded the same code to a Blue Pill and it works. I believe it's an issue with the implementation of the backup registers with the STM32G030F6P6
by ccsk
Fri Oct 20, 2023 6:52 pm
Forum: General discussion
Topic: STM32G030F6P6 Backup Registers
Replies: 10
Views: 19652

STM32G030F6P6 Backup Registers

I'm trying to access the backup registers of the STM32G030F6P6 with the functions in backup.h https://github.com/stm32duino/Arduino_Core_STM32/blob/main/cores/arduino/stm32/backup.h This is the code: #include <SoftwareSerial.h> SoftwareSerial myserial(PA7, PA8); // RX, TX uint32_t WriteRegisterValue...

Go to advanced search