SBSFU - STM32H755 Optimization Problem
I'm working on a project with SBSFU implemented on STM32H755. I'm using slot 1 for CM7 and slot 2 for CM4. I'm using the IAR workbench. Both CM4 and CM7 hex files work just fine in debug mode and everything seems to work with SBSFU implementation. But when I'm trying to test the performance of the code. I found that the SBSFU version has lower performance than I expect. The use case is there are two interrupt services (SPI 2Mbps, UART for MODBUS 500kbps) that may occur at the same time and SPI has a higher priority. In debug mode, everything works just fine. But in SBSFU mode, with the same bin files and the same SPI/UART communication requests, I got a lot of timeout errors for MODBUS. The optimization level now is the highest for speed and no size constraint. I was wondering if SBSFU affected the performance of the same code. Any suggestions or information are appreciated.
