SDWire

From Tizen Wiki
Jump to: navigation, search
SDWire

Overview

SDWire is a small board with 2 features:

  • SD card reader
  • SD card MUX

There is only one micro USB socket for connecting to host PC. Both USB mass storage and MUX control are served through the same USB connection.

The PCB board is designed in such way that it fits into micro SD card slots. Thanks to this, there is no need for special cables with micro SD adapter and connection to SD slot on a device is very short.

Hardware design

Design of this board is based on SD MUX. SDWire does not have power switch or USB switch but has built in USB SD card reader. SD card multiplexer itself is exactly the same in both devices.

There are four LEDs on the board:

  • red - power presence from USB
  • blue - USB reader activity
  • blue - card connected to TS
  • green - card connected to DUT

All LEDs are present on both sides of the board to make them visible no matter which side of the board will be facing you.

LED positions are showed in the image below.

SDWire-leds.png


The PCB board has to be 0.8 mm thick to make it possible to put it into standard micro SD card socket.

Software

There are two USB interfaces (physically one connection):

  • USB mass storage - which support is built in every modern operating system.
  • control interface - which allows to control SD MUX functionality. This interface is handled with exactly the same software (sd-mux-ctrl) which is used for SD MUX. Go to SD MUX software for details.

Files

Known problems

First revision of the device was built on a 2-layer PCB. In most cases it worked fine but there were devices that couldn't write to micro SD card - a lot of I/O errors would happen. On-board USB SD card reader worked flawlessly in both reading and writing modes. The problem was related to external devices into which SDWire was inserted. In order to overcome the problem the PCB was redesigned and 4 layer stack was used. Now devices that couldn't write to SD card can do it without a problem. However I didn't test SDWire with all existing readers, devices or micro SD cards.

Note: SDWire is a device that uses analog multiplexer to switch SD signals either to integrated reader or external device. It means that the signals are slightly degraded and this can cause some compatibility problems between SD card and external device. All depends on quality of card, device, clock speed, signal levels, etc. You have take into consideration that kind of problems.

Above problem applies to SD-MUX and MuxPi as well. However, it can be usually solved by changing micro SD card to one which works fine with multiplexer and the device.