A data storage device such as a disc drive is described that has a
controller chip with an integral embedded read/write channel on the chip.
The chip includes a built in test capability for testing the controller
logic via the device microprocessor and a nonreturn to zero test FIFO and
control logic module. The module includes an internal first in/first out
buffer (FIFO) that has variable data speeds and is provided on the chip
to provide the test capability thereby permitting testing that would
otherwise be difficult to perform.