low performance in MQX SPI driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

low performance in MQX SPI driver

跳至解决方案
1,296 次查看
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 项奖励
回复
1 解答
999 次查看
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 项奖励
回复
3 回复数
999 次查看
Microfelix
Contributor IV

 I have the same problem.
It 'been resolved?

 

maurizio

0 项奖励
回复
999 次查看
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 项奖励
回复
1,000 次查看
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 项奖励
回复