SDCARD SPI Driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,406件の閲覧回数
Mike_d
Contributor IV
I noticied that the clock for the SPI bus is set to 400KHz in the MQX driver.  I'd like to run it as fast as possible. Can someone tell me what I need to do to run it at 20MHz?
0 件の賞賛
返信
1 解決策
722件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Mike_d,

Assuming M52259EVB bsp inside the m52259evb.h you can change the baud rate:

/*
** The SPI settings.
*/
#define BSP_QSPI_RX_BUFFER_SIZE                       (32)
#define BSP_QSPI_TX_BUFFER_SIZE                       (32)
#define BSP_QSPI_BAUDRATE                             1000000

Regards,

David

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
723件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Mike_d,

Assuming M52259EVB bsp inside the m52259evb.h you can change the baud rate:

/*
** The SPI settings.
*/
#define BSP_QSPI_RX_BUFFER_SIZE                       (32)
#define BSP_QSPI_TX_BUFFER_SIZE                       (32)
#define BSP_QSPI_BAUDRATE                             1000000

Regards,

David

0 件の賞賛
返信