Skip to main content
Associate III
February 7, 2022
Question

Hello Everybody I'm working with spc560p40 and I want to send one spi code in every 10 ms as routine, and on the other hand, I want to send other codes in spi. Would you please help me out with this Thanks David

  • February 7, 2022
  • 1 reply
  • 626 views

..

    This topic has been closed for replies.

    1 reply

    Giuseppe DI-GIORE
    ST Employee
    February 27, 2022

    Hello,

    configure a PIT timer to fire an interrupt every 10 ms

    in the interrupt callback, call the SPI send function

    re-arm the PIT timer

    If you are using SPC5Studio examples, please do not forget to enable interrupt nesting.

    Regards.