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
enabled to this system.

I went ahead and enabled CONFIG_STM32_SYSCFG_IOCOMPENSATION. Indeed the
code hangs in the loop in stm32_gpio.c line 816 while waiting  for the IO
cell to be enabled.

I believe this is a bug. Or I am missing something?
I would expect to first enable all clocks, and then set-up the IO cell.

Reply via email to