According to the data sheet, sec 3.13.3 says the VBAT voltage is measure by the ADC as VBAT/3, or one third Vbat.using : uint64_t volt = (uint64_t)(((uint64_t)3300U*adc_result)/(uint64_t)4095U);I get 2/3 VbatChanging to uint64_t volt = (uint64_t)(((...
What is the maximum alarm length in the G070. I only see about 30days.I need 6 months.I guess I could implement one using the TAMP_BKPxR registers and compare the RTC DR , TR with the alarm values I have store in the TAMP regs. ( stripping out the W...
So I have a NUCLEO-G070RB board here and I am not using the HAL library, but just CMSIS libraries.I see the SysTick functions are part of the HAL not CMSIS. is there a particular reason? I would figure since it's part of the M0+ core it would be i...
I am following AN4861, and reading 4.5.2.I have a 800x480 display, so I need the closest 64 byte multiple. 8321) In CubeMX, DMA2D-Basic Parameters- DMA2D Output Offset. (832-800) = 322) In CubeMX, Additional Software-TouchGFX Width(LTDC) = 832...
I have a Newhaven 800x480 display connected to the STM32F746G-DISCO board.Finally got the display and the touch working. It is currently using a single buffer @ 0xC0000000 SDRAM.There is some artifacts when the screens change with the cover process....
Found the Issue, I set the OVSE bit in the CFGR2 , instead of the CKMODE bits. So it was performing a left shift in the DR reg, doubling the value.Now I get the Proper 1/3 Vbat voltage.Thanks for the help.
I am using the RTC for time stamps to a log, so I can't change the clock. I could set a 24hr alarm and check for the 6 month period, but I just need to check on startup, it'll be on/off multiple times a day.So the RTC DR and TR regs are formatted s...