SBSFU issue with SysTick
Hi,
I'm trying to port SBSFU example (L476 Nucleo) to L475 MCU for a custom board. My user app works fine without the SBSFU but when I combine them the clock breaks and HAL_Delay gets stuck. The UserApp of the example project however works fine. I have tried the following:
- Compared the clock settings in both of them (in stm32l4xx_hal_conf.h) and all the settings are the same (the SysTickPriority in the example is 0x0F which I changed to 0x0 to be like mine and it works fine).
- All the arguments and parameters of SysTick_Config() is the same for both cases however in the provided example I cannot watch the SysTick in eclipse expressions, it says "No symbol "SysTick" in current context."
- Increased all NVIC priorities so to higher than 1 and the systick to 1 and it did not make any difference.
- In the hal_conf.h of the example all the peripheral callback registers are set to zero using defines such as `#define USE_HAL_ADC_REGISTER_CALLBACKS 0U`. My code doesn't have anything like that but since it is generated with CubeMX I have assumed that it should be fine.
- My user app is larger than the example so I thought it might be dual ram issue as another question but defining two bank ram did not help either.
- I'm using the LL_CRC in my user app but the example has HAL_CRC. I don't think this makes any problem since I face the issue before any of the peripherals are initialized, just worth mentioning in case.
I'm not sure where to proceed from here so I appreciate any hints or ideas.
