Multiple(five) alarm time setting in stm32f0 mcu
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
add a comment |
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
add a comment |
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
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
firmware stm32f0 stm32cubemx hal-library development
asked 17 hours ago
SACHIN RAJPUTSACHIN RAJPUT
192
192
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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).
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
add a comment |
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).
add a comment |
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).
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).
answered 17 hours ago
Michel KeijzersMichel Keijzers
5,89992662
5,89992662
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered 13 hours ago
Tjaart van aswegenTjaart van aswegen
8810
8810
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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