On the F4 there is 20 words of RTC Backup and 4K of Backup SRAM.
Is there any info on using this under Chiobios ?
One thing that comes to mind is to wrtie to regions you need to enable backup commands i.e. PWR_BackupAccessCmd(ENABLE);
Are there macros in Chibios that do the same as this ?
RTC Backup Registers and Backup SRAM
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: RTC Backup Registers and Backup SRAM
Currently there is not a dedicated PWR module support, access to PWR are done at register level where needed.
Giovanni
Giovanni
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: RTC Backup Registers and Backup SRAM
It could be an idea, stm32_xxxxx.h files are "helper drivers".
I am not sure if it would be compatible with all sub-families, it is possible we would need one for each sub-family (like the RCC one).
Giovanni
I am not sure if it would be compatible with all sub-families, it is possible we would need one for each sub-family (like the RCC one).
Giovanni
Re: RTC Backup Registers and Backup SRAM
Giovanni wrote:It could be an idea, stm32_xxxxx.h files are "helper drivers".
I am not sure if it would be compatible with all sub-families, it is possible we would need one for each sub-family (like the RCC one).
Giovanni
Thats what i was thinking, but i'll do F4 first as this is of most interest to me