Board - MCSXSR1 CS12ZVM
Hi @danielmartynek
i was able to use port t for spi slave mode, currently i am using the interrupt mode for communication but as it is along with the PMSM motor drive example code . This interrupt is been served very after every 200ms which is very very slow, i have checked the master's output it has a time period of 25ms. So i think the priority of this interrupt is low.
SPI0CR1 = 0B11000000; // SPIE SPE SPTIE MSTR CPOL CPHA SSOE LSBFE
SPI0CR2 = 0B01000000; // x XFRW x MODFEN BIDIROE x SPISWAI SPC0
can you please help in setting the priority of SPI interrupt higher
the vector address is 1A0
dividing it by 4 gives 0x68
CFADDR = 0x60
but for the offset of 8 i dont know what to do exactly as CFDATA8 does not exists, kindly give some solution for this interrupt priority setting. as soon as you can