SDHC - MPC5748g Dev-kit

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

SDHC - MPC5748g Dev-kit

Jump to solution
815 Views
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 Kudos
1 Solution
804 Views
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

View solution in original post

0 Kudos
2 Replies
805 Views
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 Kudos
796 Views
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 Kudos