Initialisation change 19.1.3 to 20.3.2 Topic is solved

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

User avatar
Giovanni
Site Admin
Posts: 14458
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Initialisation change 19.1.3 to 20.3.2

Postby Giovanni » Thu Apr 06, 2023 9:03 am

Hi,

How is this causing the problem? interrupts are still globally disabled at that point.

Giovanni

steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Initialisation change 19.1.3 to 20.3.2

Postby steved » Thu Apr 06, 2023 9:08 am

It meant that peripheral interrupts were never set up so, for example, the UART would never output characters even when interrupts were enabled.

[Incidentally, a fuller explanation of the function of STM32_UART4_SUPPRESS_ISR and friends (stm32_isr.h) could be useful; my initial assumption from the name was that it disabled interrupts altogether; in fact when defined it simply moves the enabling of interrupts to a different part of the code]


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 10 guests