MCC Melody AVR® RTC PLIB Driver: Using the PIT to Wake up and with the Event System | Videos
MCC Melody AVR® RTC PLIB Driver: Using the PIT to Wake up and with the Event System
Click on the link to open the Real Time Counter (RTC) in the MCC Melody API reference for AVR: https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=SCF-AVR8-RTC-V1&version=latest&redirect=true
00:00 Part 1: Using the PIT to wake the CPU:
In this video an MCC Melody Project is created, which uses the Periodic Interrupt Timer (PIT) function of the RTC to wake up the CPU.
Every second a PIT interrupt wakes the AVR from Power Down mode, then in the PIT callback a LED is toggled, before we put the CPU to sleep again.
04:27 Part 2: Using the PIC with the Event System:
We refactor the application, demonstrating how the Periodic Interrupt Timer works with the Event System. The same functionality, of a LED toggling every second is kept, without any code running.
NOTE: The EVSYSEVOUTx pin (Event System event out), will pulse on a RTC_CMP or RTC_OVF event, but will toggle on a PIT event.
To view this video, please click manage cookies below and accept functional cookies.
{"SalesForceSecurePath":"https://microchip.my.salesforce-scrt.com","EmbeddedServiceName":"Messaging_For_Microchip","SalesForcePath":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924","AgentAvailableHeader":"No problem. Chat with our engineering experts or schedule a call that's convenient for you.","ScheduleCallUrl":"https://microchip.my.site.com/schedulemeetingportal/s/","SalesforceOrgId":"00Do0000000KAkK","JsUrl":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924/assets/js/bootstrap.min.js"}