Before the task scheduler starts, it is not a good idea to add transactions to an SPI master's queue. Blocking functions should be written to allow for SPI transactions during board initialization.
This also means that, for startup SPI transactions, global interrupts must be enabled. Therefore, the timer interrupt that controls the scheduler MUST NOT be enabled until after all board initialization has completed.
Before the task scheduler starts, it is not a good idea to add transactions to an SPI master's queue. Blocking functions should be written to allow for SPI transactions during board initialization.
This also means that, for startup SPI transactions, global interrupts must be enabled. Therefore, the timer interrupt that controls the scheduler MUST NOT be enabled until after all board initialization has completed.