This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P401R: Maximum Interrupt Toggle Frequency

Part Number: MSP432P401R

Hi,

I'm trying to set a timer that toggles at a frequency of up to 10Mhz using an interrupt to send multiple signals to a different device. I'm using the sample code cs_hfxt_start.c in the MSP432WARE driver library but the SysTick_Handler(void) interrupt function maxes out at approximately 400kHz, which is at MAP_SysTick_setPeriod(60); and going lower than 60 does not increase the interrupt speed. Is there an alternative to this current solution? Could I change the hfxt crystal to a faster one or is there a different method to trigger the interrupt at a faster rate?

As well, I am also trying to receive a clock signal of unknown frequency of up to 10MHz from a different device. Would I be able to do that with the gpio input interrupt at 10MHz?

Thanks,

Maria

  • Maria Xie said:
    timer that toggles at a frequency of up to 10Mhz using an interrupt

    It's simply not possible on 48MHz CPU. Just 4.8 CPU cycles per interrupt is not even enough for CPU state save.

    Maria Xie said:
    As well, I am also trying to receive a clock signal of unknown frequency of up to 10MHz from a different device. Would I be able to do that with the gpio input interrupt at 10MHz?

    No.

    To handle 10MHz signal input or output, you shall be using peripherals like timer

**Attention** This is a public forum