AIAANortheastern / karman-avionics

The avionics system for the Northeastern University AIAA Project Karman rocket
1 stars 0 forks source link

SPI HW Driver does not provide utilities for use during startup #5

Closed ADKaster closed 7 years ago

ADKaster commented 7 years ago

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.