Systick is not triggered and Interrupt handling problem in STM32WB55 series
Hello,
I am trying to built an applicaiton on STM32WB55 MCUs that contains interrupts and many digital signals. My code working very fine on development board and I am trying to implement this code on custom STM32WB55 PCB. The Problem is vector table addresing which issued in many topics. However, I couldn't find a satisfiying answer for this problem . The vector table addresses are defining in "system_stm32wbxx.c" file with following code.
// #define USER_VECT_TAB_ADDRESS
#if defined(USER_VECT_TAB_ADDRESS)
/*!< Uncomment this line for user vector table remap in Sram else user remap
will be done in Flash. */
#define VECT_TAB_SRAM
#if defined(VECT_TAB_SRAM)
#define VECT_TAB_BASE_ADDRESS SRAM1_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#else
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#endif /* VECT_TAB_SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
This code is running on development board without any issue. Indeed, I am using same package of MCU in pcb. However, when I upload this configuration to my pcb, systick timer and interrupts are not working properly. When I define the vector table adress to SRAM1_BASE by uncommenting USER_VECT_TAB_ADDRES, then it is works. Now, I am encountering same problem when I try to work on Bluetooth LE. I don't know problem is related to this issue, but I have to figure it out why same code not properly running on same package MCUs.
