Abstract:
A circuit includes an oversampling logic unit, an alternating current estimator, and a logic processor. The oversampling logic unit generates a plurality of alternating current terms according to an oversampling clock, and outputs a plurality of alternating current terms corresponding to an output clock from the plurality of alternating current terms according to the output clock. The alternating current estimator executes a discrete cosine transform and a discrete sine transform on a plurality of alternating current terms outputted from the oversampling logic unit within a first predetermined time to generate a first value and a second value respectively. The logic processor compares a number of first values and a number of second values within a second predetermined time, and generates a clock data recovery phase locked indicator according to a comparing result.
Abstract:
A system of realizing RAID-1 on a portable storage medium includes a Universal Serial Bus device and the portable storage medium. The portable storage medium is divided into a main partition and at least one backup partition according to a RAID-1 mode. The Universal Serial Bus device is coupled to the portable storage medium for receiving a write command and/or a read command transmitted by a host, and writing data to the portable storage medium and/or reading data from the portable storage medium according to the write command and/or the read command. The Universal Serial Bus device does not transmit capacity information of the at least one backup partition to the host.