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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,553 Views
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 Kudos
Reply
1 Solution
1,499 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
1,533 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Li_Chen,

Which reference code do you mean?

 

Thanks,

BR, Daniel

0 Kudos
Reply
1,529 Views
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 Kudos
Reply
1,500 Views
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 Kudos
Reply