The current data acquisition/read from FPGA has to be finished
in less than 50 usec and other interrupts can can delay
this processing. The receiver interrupt LXPWR_RX_IRQn
is mapped to interrupt TIMER2_IRQn and its priority
is increased.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
/* Higher priority for SPI to gradient valves */
NVIC->IP[SSP1_IRQn] = 0x40;
+ /* LXPWR master receive interrupt (deadline under 50 usec) */
+ NVIC->IP[TIMER2_IRQn] = 0x30;
+
/* Start of the cam period */
NVIC->IP[MCPWM_IRQn] = 0x20;