AnsweredAssumed Answered

low performance in MQX SPI driver

Question asked by Gavin Li on Jul 21, 2011
Latest reply on Oct 6, 2011 by Markku Pulsa

In poll mode t takes 2.2us to send one character in 12MHz baudrate.

In interrupt mode t takes 4.0us to send one character in 12MHz baudrate.

 

I checked the poll mode driver, it calls _dspi_polled_tx_rx() for every character it sends, and it also wait for the read back in this function.

 

The driver doesn't take the advantage of FIFO

Outcomes