I was working on SPI master peripheral on D2000 and noticed that in Receive only mode (in TXRX and TX mode everything works fine) it does not work on higher frequency than 2 MHz (Divider with value of 16, 32MHz internal quartz). When I set the clock on 2MHz and below everything starts to work.
Right after issuing the spi irq request with said configuration Quark enters spi callback with error QM_SPI_RX_OVERFLOW. Is anything known about that issue?
sorry for the delay. I've modified the SPI example and zipped whole project. If this helps anyone just change the paths of your toolchains in launch config and should be up and working. If you switch between 2MHz and 8MHz spi div you should get the error in spi_example_cb function.
All the best,
I took your example and changed it just a little (used TX_RX) and made a loop so it continuously transmits. But I don't get any rx data at any rate down to 128KHz.