We are trying to implement an RTC in a Cerb40 and also save some data in BKPSram memory (backed with vBat).
We have placed the 32khz and the battery of 3v3. Because cerberus does not have “premium” with “RealTimeClock” and “Power”, The question is if the only available option is access through registers and the memory map.
Before crash me Could someone confirm if the correct way is setting the defined registers in following ranges (0x4002 4000 - 0x4002 4FFF) for battery backed RAM, and (0x4000 2800 - 0x4000 2BFF) to setup and run RTC?
Any word from Aron? Looks like we may have to roll our own for a lot of things. Has anyone ported the RNG driver, or at least stm32f4xx.h and/or stm32f4xx_rng.h? I’ll be happy to post it when I have something useful, assuming it hasn’t been done already.
Ok, so the past two hours of my life hasn’t been wasted! Working feverishly on getting stm32f4xx.h ported, then on to stm32f4xx_rng.h/.c and hopefully some random number generation and testing. Any suggestions as to formatting, etc.? I haven’t worked with the GHI source much, but I’d like my additions to be easily added if they are useful.