Multiple(five) alarm time setting in stm32f0 mcu












3















I am working on my hobbyist project and need to develop the alarm timings.
And RTC and Timer are new for me and I am confused in RTC Alarm time setting.
I need to make alarm with RTC for five different times(as we are doing in the mobile).
So, I am looking for the same thing with my mcu.
Looking forward for the kind support ...
(I am using STM32 Nucleo Board, KEIL-IDE, CubeMX)



Thanks










share|improve this question



























    3















    I am working on my hobbyist project and need to develop the alarm timings.
    And RTC and Timer are new for me and I am confused in RTC Alarm time setting.
    I need to make alarm with RTC for five different times(as we are doing in the mobile).
    So, I am looking for the same thing with my mcu.
    Looking forward for the kind support ...
    (I am using STM32 Nucleo Board, KEIL-IDE, CubeMX)



    Thanks










    share|improve this question

























      3












      3








      3








      I am working on my hobbyist project and need to develop the alarm timings.
      And RTC and Timer are new for me and I am confused in RTC Alarm time setting.
      I need to make alarm with RTC for five different times(as we are doing in the mobile).
      So, I am looking for the same thing with my mcu.
      Looking forward for the kind support ...
      (I am using STM32 Nucleo Board, KEIL-IDE, CubeMX)



      Thanks










      share|improve this question














      I am working on my hobbyist project and need to develop the alarm timings.
      And RTC and Timer are new for me and I am confused in RTC Alarm time setting.
      I need to make alarm with RTC for five different times(as we are doing in the mobile).
      So, I am looking for the same thing with my mcu.
      Looking forward for the kind support ...
      (I am using STM32 Nucleo Board, KEIL-IDE, CubeMX)



      Thanks







      firmware stm32f0 stm32cubemx hal-library development






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 17 hours ago









      SACHIN RAJPUTSACHIN RAJPUT

      192




      192






















          2 Answers
          2






          active

          oldest

          votes


















          7














          Check AN3371 at the official website of ST.



          However, according to paragraph 2 there are only 2 alarms (A and B).



          Alternatives:




          • Keep 5 alarms in your own code, set the first alarm (A) as alarm 1. When this fires, program A as for the next alarm (2) etc. Alarm B is not needed.

          • Do not use the alarm of the RTC, but a timer (not sure if the timer can be set for a long period).






          share|improve this answer































            0














            There are only two Alarms but you can always make a software alarm and implement that (different discussion on the details of that)



            I got this on the keil website and it helped me to understand the RTC functionality a bit better: http://www.keil.com/download/docs/356.asp



            I know it is not for the STM32F0 but I had to modify only a little bit of code in order to get it going






            share|improve this answer























              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("schematics", function () {
              StackExchange.schematics.init();
              });
              }, "cicuitlab");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "135"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f416407%2fmultiplefive-alarm-time-setting-in-stm32f0-mcu%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              7














              Check AN3371 at the official website of ST.



              However, according to paragraph 2 there are only 2 alarms (A and B).



              Alternatives:




              • Keep 5 alarms in your own code, set the first alarm (A) as alarm 1. When this fires, program A as for the next alarm (2) etc. Alarm B is not needed.

              • Do not use the alarm of the RTC, but a timer (not sure if the timer can be set for a long period).






              share|improve this answer




























                7














                Check AN3371 at the official website of ST.



                However, according to paragraph 2 there are only 2 alarms (A and B).



                Alternatives:




                • Keep 5 alarms in your own code, set the first alarm (A) as alarm 1. When this fires, program A as for the next alarm (2) etc. Alarm B is not needed.

                • Do not use the alarm of the RTC, but a timer (not sure if the timer can be set for a long period).






                share|improve this answer


























                  7












                  7








                  7







                  Check AN3371 at the official website of ST.



                  However, according to paragraph 2 there are only 2 alarms (A and B).



                  Alternatives:




                  • Keep 5 alarms in your own code, set the first alarm (A) as alarm 1. When this fires, program A as for the next alarm (2) etc. Alarm B is not needed.

                  • Do not use the alarm of the RTC, but a timer (not sure if the timer can be set for a long period).






                  share|improve this answer













                  Check AN3371 at the official website of ST.



                  However, according to paragraph 2 there are only 2 alarms (A and B).



                  Alternatives:




                  • Keep 5 alarms in your own code, set the first alarm (A) as alarm 1. When this fires, program A as for the next alarm (2) etc. Alarm B is not needed.

                  • Do not use the alarm of the RTC, but a timer (not sure if the timer can be set for a long period).







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 17 hours ago









                  Michel KeijzersMichel Keijzers

                  5,89992662




                  5,89992662

























                      0














                      There are only two Alarms but you can always make a software alarm and implement that (different discussion on the details of that)



                      I got this on the keil website and it helped me to understand the RTC functionality a bit better: http://www.keil.com/download/docs/356.asp



                      I know it is not for the STM32F0 but I had to modify only a little bit of code in order to get it going






                      share|improve this answer




























                        0














                        There are only two Alarms but you can always make a software alarm and implement that (different discussion on the details of that)



                        I got this on the keil website and it helped me to understand the RTC functionality a bit better: http://www.keil.com/download/docs/356.asp



                        I know it is not for the STM32F0 but I had to modify only a little bit of code in order to get it going






                        share|improve this answer


























                          0












                          0








                          0







                          There are only two Alarms but you can always make a software alarm and implement that (different discussion on the details of that)



                          I got this on the keil website and it helped me to understand the RTC functionality a bit better: http://www.keil.com/download/docs/356.asp



                          I know it is not for the STM32F0 but I had to modify only a little bit of code in order to get it going






                          share|improve this answer













                          There are only two Alarms but you can always make a software alarm and implement that (different discussion on the details of that)



                          I got this on the keil website and it helped me to understand the RTC functionality a bit better: http://www.keil.com/download/docs/356.asp



                          I know it is not for the STM32F0 but I had to modify only a little bit of code in order to get it going







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 13 hours ago









                          Tjaart van aswegenTjaart van aswegen

                          8810




                          8810






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f416407%2fmultiplefive-alarm-time-setting-in-stm32f0-mcu%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                              is 'sed' thread safe

                              How to make a Squid Proxy server?