raiden00pl opened a new pull request, #21591:
URL: https://github.com/apache/nuttx/pull/21591

   ## Summary
   
     STM32N6 and STM32H5 had no RTC driver. Both have the same RTC IP, with     
                                                                                
                                                                                
                                    
     backup registers in TAMP. This PR adds one common driver for it:           
                                                                                
                                                                                
                                    
     common/stm32/stm32_rtcc_m33m55_v1.c.                                       
                                                                                
                                                                                
                                    
                                                                                
                                                                                
                                                                                
                                    
     Supported: date/time, sub-seconds, alarm A and B, periodic wakeup.         
                                                                                
                                                                                
                                    
                                                                                
                                                                                
                                                                                
                                    
     Also, the STM32F4 and STM32L1 alarm headers are replaced by the common     
                                                                                
                                                                                
                                    
     common/stm32/stm32_alarm.h. They declared the same API.
   
     
   ## Impact
   
     - STM32N6, STM32H5: new RTC support (/dev/rtc0 on STM32N6570-DK and        
                                                                                
                                                                                
                                    
       STM32H573I-DK).                                                          
                                                                                
                                                                                
                                    
     - STM32F4, STM32L1: alarm header moved, no functional change. 
     
   ## Testing
   
     STM32N6570-DK and STM32H573I-DK:                                           
                                                                                
                                                                                
                                    
     - set/read date, time kept across reset                                    
                                                                                
                                                                                
                                    
     - alarm A and B, read and cancel                                           
                                                                                
                                                                                
                                    
     - periodic wakeup 1 s, 250 ms, 100 ms 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to