This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6748 LCDK - PINMUX Setup to enable SATA Port?

Other Parts Discussed in Thread: TMS320C6748

I have the TMS320C6748 LCDK board and I'm using CCSv5 with RTFS and required packages.

I have compiled the "sataSample" project under RTFS and I can download it and run it. 

The app fails after determining the SATA PHY does not initialize.

I've been told that I need to

a) Setup pin muxing for the SATA interface

b) Make sure SATA power and clocks are setup internally and externally.

Can someone tell me how to do each of these items?

  • I hope you are running the following example.
    C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\examples\sata\bios5\evm6748

    Can you please post the logs which you got ?

    Also please refer to the following e2e discussion.
    e2e.ti.com/.../1782233

    Try the *.out given in that post.
  • I'm running the only SATA example I can find in the RTFS package:  C:\ti\rtfs_1_10_02_32\packages\ti\rtfs\examples\sata\bios5\evm6748\*

    The Console Log below is what's printed to the console when the app runs.  I get this log if the drive is plugged in or not.  I wrote a small function to set the PINMUX registers (by reading other examples in the forum) and call it from main - and I still get this result.  I do not know how to load a standalone sata.out executable.   I am using older tools and packages since those are the only ones that have a SATA driver and example sata application for the C6748.

    Console Log

    [C674X_0] ATA Hard Drive Application Task 0 Starting.

    [C674X_0] Configured ATA drive.

    [C674X_0] Version : 0001.0100

    [C674X_0] NumOfCmdSlots : 32

    [C674X_0] NumOfPorts : 1

    [C674X_0] Speed : 3 Gbps

    [C674X_0] SATA:AHCI-CAP:SNCQ SSNTF SLAP SAL SCLO SAM SPM PMD SSC PSC

    [C674X_0] Block Driver Initialization Succeeded

    [C674X_0] ATA Build: Debug.

    [C674X_0] SATA PHY Not initialized : offline

    [C674X_0] Check for SATA cable connected properly

    [C674X_0] Error getting drive ID.