Skip to main content
Alex Amaral
Associate
December 7, 2016
Question

STM32429 Discovery SATA communication.

  • December 7, 2016
  • 1 reply
  • 2852 views
Posted on December 07, 2016 at 17:42

Hi all, I have the STM32f429 Discovery board and have been tasked with developing a SATA to USB converter from first principles as a university project. Does anyone know what the best course of action would be for communicating with a SATA drive from the discovery board? Any starting point would be greatly appreciated.

    This topic has been closed for replies.

    1 reply

    aaron239955_stm1_st
    Senior
    December 7, 2016
    Posted on December 07, 2016 at 18:28

    Very interesting task, but I'd ask your professor what they mean?  SATA is a very high speed serial bus, where the slowest version operates at 1.5GigaBits/sec.  There is no interface on the STM32F4 series of microcontrollers that could interface to this without and external controller.  Of course most of the existing controller chips have a SATA bus on one side, and USB on the other.  You could use one of these and read the SATA drive through the USB interface on your eval board, but it seems that this is the opposite of what has been assigned.  If they want you to build an external interface using an FPGA or some other logic to work with the SATA interface, that might be doable but rather impractical based on the existing chips that do this.

    In any event a first step might be to look at the actual SATA specification documents, and perhaps at the data sheets of existing SATA to USB adapter chips.  They may at least give you an idea of what you need to do.  On the USB side, I would assume they want you to have the USB port on the chip act like a USB drive to the attached host system.  This is the inverse of some existing middleware provided by ST, which enables you to easily connect an external USB drive to your microcontroller.  again an interesting task.

    If you go to the Wikipedia page on Serial ATA the references at the bottom should provide a good index as a start point.  This is a link to a pdf of the Rev 3.0 spec:

    http://www.lttconn.com/res/lttconn/pdres/201005/20100521170123066.pdf

    and here is a link to a data sheet of a TI chip that does what you are being asked to reinvent:

    http://www.ti.com/lit/ds/symlink/tusb9260.pdf

    Tesla DeLorean
    Guru
    December 7, 2016
    Posted on December 07, 2016 at 18:34

    Seems like an asinine project idea.

    The transceiver and data rate are all working against you. Better to look at silicon from Marvell, Broadcom, etc.

    IDE/ATAPI would be doable.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..