5 Replies Latest reply on Feb 23, 2016 12:53 PM by userc_39226

    SPI Master access too slow


      I use the SPI Master v2.5.


      I have to read data from external RAM via SPI. I measured the time to write to internal SPI Master register like SPIM_1_WriteTxData(Adress>>16),


      where SPIM_1 is the SPI Master. This access takes ~3.5µs, writing direct data like SPIM_1_WriteTxData(0x64) takes ~3.3µs. That means at 48MHz clock ~175 clock cycles.


      Is there any way to speed up the register access? Is it better to directly write the SPI registers without using the API? Or is there something else I missed?