low performance in MQX SPI driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

low performance in MQX SPI driver

ソリューションへジャンプ
1,297件の閲覧回数
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 解決策
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 件の賞賛
返信
3 返答(返信)
1,000件の閲覧回数
Microfelix
Contributor IV

 I have the same problem.
It 'been resolved?

 

maurizio

0 件の賞賛
返信
1,000件の閲覧回数
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,001件の閲覧回数
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 件の賞賛
返信