Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTC_Seconds example not working on Nucleo G071RB #78

Closed
Khelicon opened this issue Nov 1, 2022 · 5 comments · Fixed by #79
Closed

RTC_Seconds example not working on Nucleo G071RB #78

Khelicon opened this issue Nov 1, 2022 · 5 comments · Fixed by #79
Labels
bug 🐛 Something isn't working
Milestone

Comments

@Khelicon
Copy link

Khelicon commented Nov 1, 2022

I am using an STM32 RTC_Seconds example to test one second interrupt on my Nucleo G071RB (STM32G071RB) board but the interrupt does not work on my Nucleo board. I also checked on the Agafia SG0 board (STM32G071CBT6) but the second interrupt does not work.

On looking into the source files, the STM32G71x MCU has OneSecond_IRQn defined in rtc.h as
#define ONESECOND_IRQn RTC_TAMP_IRQn

that uses global RTC/TAMP interrupt
RTC_TAMP_IRQn = 2, /*!< RTC interrupt through the EXTI line 19 & 21 defined in stm32g071xx.h file

@Khelicon Khelicon changed the title One Second Interrupt not working on Nucleo G071RB RTC_Seconds example not working on Nucleo G071RB Nov 1, 2022
@ABOSTM
Copy link
Contributor

ABOSTM commented Nov 7, 2022

Hi @harji2130,
Thanks for reporting this issue, you are right there is a bug especially for STM32G0 implementatio,
which is slightly different from other STM32 series.

I proposed a fix : #79
Fell free to test it.

@drucknase
Copy link

Hi,
I have a similar effect with the STM32L073LZ. So the RTC second example is not working. Can you confirm? When will the new version as proposed on fix #79 be available?

@fpistm
Copy link
Member

fpistm commented Nov 10, 2022

Hi, I have a similar effect with the STM32L073LZ. So the RTC second example is not working. Can you confirm? When will the new version as proposed on fix #79 be available?

The fix only apply for G0. @ABOSTM could you check if the same is valid for L0, please?

@ABOSTM
Copy link
Contributor

ABOSTM commented Nov 10, 2022

PR #79 has been updated to take into account similar issue on L0, F0, U5, L5

@fpistm fpistm added the bug label Nov 10, 2022
@fpistm fpistm added this to the 1.3.3/1.4.0 milestone Nov 10, 2022
@fpistm
Copy link
Member

fpistm commented Nov 10, 2022

All series tested. Thanks @ABOSTM .

@fpistm fpistm added bug 🐛 Something isn't working and removed bug labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants