nrf54l15 SB_CONFIG_BOOTLOADER_MCUBOOT=y makes main() gpio toggle stop.

As title.

  In nRF54L15 DK,  I set "SB_CONFIG_BOOTLOADER_MCUBOOT=y" in file "sysbuild.conf".

  It makes main function GPIO toggle stop.

  Do have any solution to prevent this problem?

result:

Parents Reply Children
  • Hi Vidar

       Thanks your reply so quickly.

        I am using Timer00 every 4us interrupt once. (Note Timer20 is not works 4us, but 6us is okay)

        Because that I need very stable Timing to do RF transceive.(2.4G Propritery)

    -------------------------------------------------------------------------------------------------------------

       By the way, do you know how to reduce Timer interrupt cost?

       The Timer Interrupt just toggle GPIO. and it cost 1us.

       Even I removed GPIO toggle from Timer Interrupt, it still cost 800ns.

        Austin

  • I am using Timer00 every 4us interrupt once.

    Does it have to be done inside an interrupt? With this short interval you will likely be spending most of the available CPU time on context switching, which is not very efficient. I am not sure why you did not get it to work with TIMER20 but not the base clock on this is 16MHZ compared to the 128 MHz on TIMER00.

       The Timer Interrupt just toggle GPIO. and it cost 1us.

    It is possible to completely offload the CPU if you only need to toggle a GPIO by combining the TIMER instance with DPPI and GPIOTE. 

  • Yes, I have to done in interrupt. Some instruction have to add in interrupt.

    Now I toggle GPIO,just for test interrupt timing cost.

    So I get Timer interrupt timing wast is 800ns. I think 800ns is not a good result.

    In my expectation, 54l15 works at 128Mhz,  enter interrupt and leave interrupt should be in 200ns.

Related