Flash driver with MQX

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

Flash driver with MQX

ソリューションへジャンプ
1,352件の閲覧回数
antonychen2008
Contributor II

Hi support:

In my project I need to store data on K70. I want to use an external serial flash memory. Is there any demos available for MQX? or any driver for SPI interface?

0 件の賞賛
返信
1 解決策
1,259件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi 

MQX 4.x includes a SPI driver. This driver supports the operation master mode. If enabled in user configuration, the SPI device drivers are installed during the BSP startup code as “spi0:” (or “spiX:” where X is index of the SPI module used). The SPI driver is significantly rewritten in the MQX 4.0, so that there is no distinct interrupt or polled driver type. See I/O User Guide for details.

On Kinetis and Vybrid platforms, the driver uses DMA to function. there is a simpler example application available in MQX, this example shows how to read/write data from/to external SPI EEPROM. Additional HW setup is needed. 

You can find this example at the next path: / mqx/examples/spi

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,260件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi 

MQX 4.x includes a SPI driver. This driver supports the operation master mode. If enabled in user configuration, the SPI device drivers are installed during the BSP startup code as “spi0:” (or “spiX:” where X is index of the SPI module used). The SPI driver is significantly rewritten in the MQX 4.0, so that there is no distinct interrupt or polled driver type. See I/O User Guide for details.

On Kinetis and Vybrid platforms, the driver uses DMA to function. there is a simpler example application available in MQX, this example shows how to read/write data from/to external SPI EEPROM. Additional HW setup is needed. 

You can find this example at the next path: / mqx/examples/spi

Regards

Daniel

0 件の賞賛
返信