SDHC - MPC5748g Dev-kit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SDHC - MPC5748g Dev-kit

跳至解决方案
2,123 次查看
Krishnaja
Contributor II
Hi, I am trying to run "sdhc_fatfs_mpc5748g" example program. Is there any user manual to run this example? My console output is as follows: "uSDHC In/Deinit tet uSDHC/SD status: 0 PASS Write/Read test uSDHC/SD status: 0 0: Tesing block 0 Write one data block failed. ERROR" Why "Write one data block failed." ? Krishnaja.
0 项奖励
回复
1 解答
2,112 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the only example description is given in 

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\demo_apps\sdhc_fatfs\Doxygen\sdhc_fatfs_mpc5748g.dox

Try to format card before use (e.g.FAT32) and make setting for PH[8] (WP pin)  as described in the dox file above. I think OBE should be changed to disabled and keep pin pulled down by internal weak pull.

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,113 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the only example description is given in 

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\demo_apps\sdhc_fatfs\Doxygen\sdhc_fatfs_mpc5748g.dox

Try to format card before use (e.g.FAT32) and make setting for PH[8] (WP pin)  as described in the dox file above. I think OBE should be changed to disabled and keep pin pulled down by internal weak pull.

BR, Petr

0 项奖励
回复
2,104 次查看
Krishnaja
Contributor II

Hi,

I changed

1.Slew Rate : Full drive strength with slew rate control & 

2. Pull Select : Pulldown

3. Output Buffer Enable : Disabled

as you suggested and it is working fine. Thank you.

Krishnaja.

             

0 项奖励
回复