I'm having difficulty figuring out how to use the internal MIBSPI trigger as source.
I have the SPI format (format 0) configured as 1000 KHz, and I'm setting the tick counter to the max - 0xffff. I'm configuring to trigger only at rising edge.
At this rate - SPICLK of the format 0, which is 1000KHz - I expect the trigger to go at approx every ~65 ms * 2 = ~130 ms (counter reload rising, reload falling, etc .. ).
But what I get is seems interrupt as-fast as possible, or it's ending as fast as can, and I have to set buffer mode 6 = Wait for Rx empty to just keep up not to overwrite reads.
If, I change the trigger source to say, external GIOA7 - which is mapped to the user button the 1227 HDK kit - then I get expected behavior, only one send/receive when I press the button.
I'm out of ideas atm..