low performance in MQX SPI driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

low performance in MQX SPI driver

Jump to solution
847 Views
bugs
Contributor III

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

0 Kudos
Reply
1 Solution
550 Views
DavidS
NXP Employee
NXP Employee

Hi Mircofelix,

Our MQX development team is working to improve the driver performance and an update is expected in our MQX3.8 release mid next month.

Regards,

David

View solution in original post

0 Kudos
Reply
3 Replies
550 Views
Microfelix
Contributor IV

 I have the same problem.
It 'been resolved?

 

maurizio

0 Kudos
Reply
550 Views
MarkP_
Contributor V

Hi,

Have you tried the processor expert driver code?

I first tried I2C with MQX driver, it jammed. Then changed  to P&E code (for K60/K10), works fine.

The driver functions are in one (generated) file, easy to check what's happening.

~Mark

0 Kudos
Reply
551 Views
DavidS
NXP Employee
NXP Employee

Hi Mircofelix,

Our MQX development team is working to improve the driver performance and an update is expected in our MQX3.8 release mid next month.

Regards,

David

0 Kudos
Reply