MityARM-1808F SATA connection problem
Added by Jun Mo almost 10 years ago
I use MitySOM-1808F to develop our data logging system which store data into a SATA2 SSD HD. We design the mother board by ourselves and all the board have the same problem: the HD can not be recognized every time when the linux boot.
We thought the most possibility is the placement of the SATA differencial wire. I found there are some regulation for the line placement such as the length difference can not be larger than 5 mil. I assume this refers to the total lenth from the pin of the chip to the pin of the SATA cable connector. So what I want to know is:
1. Whether I need to count on the line difference on the SOM board or this has be assured and I only need to deal with the line from DIMM connector to the SATA connector on my mother board?
2. Is there any other guides that I need to aware when placing and routing the SATA differencail line on the mother board?
Replies (7)
RE: MityARM-1808F SATA connection problem - Added by Michael Williamson almost 10 years ago
Hi,
Is the HD not ever detected, or does it occasionally not attach?
-Mike
RE: MityARM-1808F SATA connection problem - Added by Adam Dziedzic almost 10 years ago
Hi Jun Mo,
For layout recommendations, be very careful with the SATA layout. Below are some guidelines to verify before building the PCB:
- Use controlled impedance
- Avoid vias
- Completely avoid them if possible
- If vias cannot be avoided
- Minimize via stubs - go top to bottom layer transition, use a blind via, or back drill
- At the layer transitions, make sure there is a return current path by adding GND vias near the signal vias to connect the reference planes
- Ensure there is a continuous reference plane (GND) under the SATA tracks with a path to the GND connections on the edge connector
- Maintain sufficient spacing to other copper (even GND, but especially active signals) around the SATA pairs, such as 3X the trace width
- For clean power, keep VCC and GND planes coupled together with as much area as possible
- Bypass caps have a limit to the high frequency response
- At high frequencies, the plane capacitance responds
- For cleaner bypass caps, connect vias to side of pads instead of ends (lower parasitic inductance)
- Layout power connections to minimize routed lines - instead go nearly direct to vias to get the power or ground plane with minimal parasitics
- Read up on high speed layout
- There are lots of resources on the web
- Could start here: http://www.ti.com/lit/an/scaa082/scaa082.pdf
- Use sufficient bypass caps of large and small values
- Kemet has a nice Cap spice sim for evaluating options: http://www.kemet.com/Spice
RE: MityARM-1808F SATA connection problem - Added by Jun Mo almost 10 years ago
Thank you for your reply.
The HD is occacionally not attached. And the possibility of attahement depend on the brand of SSD. Intel SSD can be connected most of the time, Kingston has lower possibility on connection, and Samsung has very low possibility on connection.
And when I look at the wire on the SOM module, it is hard to say whether the length of the wire in each pair identical from the pin of the chip to the edge of the module. So I do not know whether I need to do any wire length compensation on my own mother board, or I only need to make sure the length of each pair identical from the SODIMM connector to the SATA cable connector on my own board.
RE: MityARM-1808F SATA connection problem - Added by Michael Williamson almost 10 years ago
I am fairly certain that the lengths on the module for the SATA lines are matched. I will check with our PCB designer.
Do your boards ever negotiate to SATA-I speeds instead of SATA-II speeds? You should be able to see the negotiated speed by checking the kernel log messages with dmesg.
-Mike
RE: MityARM-1808F SATA connection problem - Added by Jun Mo almost 10 years ago
From the kernel boot message, occasionally it failed to link to 3G speed, it linked up to 1.5G, but most of the time if link to 3G failed, it failed totally at all. Even though it linked up at 1.5G, it failed to mount the file system.
Jun Mo
RE: MityARM-1808F SATA connection problem - Added by Michael Williamson almost 10 years ago
What version of the kernel are you using?
RE: MityARM-1808F SATA connection problem - Added by Jun Mo almost 10 years ago
The SW developer told me the kernel version is 2.6.34
Does that affect the quality of link?