Fujitsu MHC2040AT Drill User Manual


 
5.4 Command Protocol
C141-E050-02EN 5-73
b) The host writes a command code in the Command register. The drive sets the
BSY bit of the Status register.
c) When the device is ready to receive the data of the first sector, the device sets
DRQ bit and clears BSY bit.
d) The host writes one sector of data through the Data register.
e) The device clears the DRQ bit and sets the BSY bit.
f) When the drive completes transferring the data of the sector, the device clears
BSY bit and asserts INTRQ signal. If transfer of another sector is requested,
the drive sets the DRQ bit.
g) After detecting the INTRQ signal assertion, the host reads the Status register.
h) The device resets INTRQ (the interrupt signal).
I) If transfer of another sector is requested, steps d) and after are repeated.
Figure 5.5 shows an example of WRITE SECTOR(S) command protocol.
Figure 5.5 WRITE SECTOR(S) command protocol