Tool/software: TI-RTOS
Hello,
Timers in periodic callback mode will not execute any faster than a 9-10 uS period. Is this an RTOS issue with bulky code or a threading issue? MCU operating at 48 MHz MCLK, 24 MHz SMCLK (Power profile 3).
Issue easily demonstrated with the timer blink led demo in the simple link SDK (simple link for MSP432P401R demo board), reconfigured LED GPIO pin for P3.0 with direct port write to speed up (P3OUT = 0x01, P3OUT = 0x00) and timer period to 1 (US).
Timer clocked by SMCLK at 24 MHz, SMCLK verified by porting out P7.0 to scope. I should be able to easily generate a callback at 1 MHz but no matter what the timers (32 bit, A) will not callback any faster than 9-10 uS. Do I have to abandon RTOS to get adequate execution speed or is something else wrong? The callback is being used to time a multiplexed sampling circuit in the intended application, but is only being tested with a P3.0 direct port on/off write currently.
Appreciate any help,
Jonathan