Re: STM32 IO Compensation Cell bug

2020-08-09 Thread Nathan Hartman
On Sun, Aug 9, 2020 at 9:57 AM Fotis Panagiotopoulos wrote: > I just tried the following patch, and the code runs normally. > Shall I make a PR? Thank you for finding this. Yes, I think you should make a PR. Nathan

Re: STM32 IO Compensation Cell bug

2020-08-09 Thread Fotis Panagiotopoulos
I just tried the following patch, and the code runs normally. Shall I make a PR? diff --git a/arch/arm/src/stm32/stm32_rcc.c b/arch/arm/src/stm32/stm32_rcc.c index f5e69be7d4..249fbcaa9a 100644 --- a/arch/arm/src/stm32/stm32_rcc.c +++ b/arch/arm/src/stm32/stm32_rcc.c @@ -199,15 +199,15 @@ void stm

STM32 IO Compensation Cell bug

2020-08-09 Thread Fotis Panagiotopoulos
Hi, I am using NuttX v9.0.0. As I see in file stm32_rcc.c the IO compensation cell is enabled before the SYSCFG peripheral is enabled. First there is a call to stm32_iocompensation(), and then to rcc_enableperipherals(). Thus the code tries to access registers to SYSCFG, before clocking is enable