TBox emulated SDIO by FlexIO question: 1 bit or 4 bit mode?

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

TBox emulated SDIO by FlexIO question: 1 bit or 4 bit mode?

ソリューションへジャンプ
1,758件の閲覧回数
Li_Chen
Contributor III

I have reviewed S32K344 TBox reference design from S32K3 Automotive Telematics Box (T-Box) Reference Design Board | NXP Semiconductors. At very beginning, I saw 4 Data lines(DATA0~DATA3) are set as FlexIOs and connect to SD card socket. I thought it's 4 bit data transfer mode for SD/MMC. However, after checking the TBox reference code, I see it's in SPI mode(1 bit data transfer). Can you confirm this?

From the RM, I see the max SPI clock over FLEXIO config are only 20MHz, I guess there is no point to enable SD/MMC 4 bit transfer mode over FLEXIO(even I don't know how), but instead, using LPSPI to achieve higher data throughput?

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

The problem is that the FlexIO RTD driver does not support 4bit SPI / SDIO protocol.

Theoretically, it can be supported, that's why this is implemented in HW.

 

Regards,

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,738件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Li_Chen,

Which reference code do you mean?

 

Thanks,

BR, Daniel

0 件の賞賛
返信
1,734件の閲覧回数
Li_Chen
Contributor III

The reference code are from S32K3-T-BOX Reference Design - BSPs, Drivers and Middleware(https://www.nxp.com/webapp/Download?colCode=S32K3-T-BOX-BSP)

0 件の賞賛
返信
1,705件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

The problem is that the FlexIO RTD driver does not support 4bit SPI / SDIO protocol.

Theoretically, it can be supported, that's why this is implemented in HW.

 

Regards,

Daniel

0 件の賞賛
返信