Electronic Components Datasheet Search |
|
PC8477BV-1 Datasheet(PDF) 31 Page - National Semiconductor (TI) |
|
|
|
PC8477BV-1 Datasheet(HTML) 31 Page - National Semiconductor (TI) |
31 / 54 page 50 Functional Description (Continued) software polling mode The last two modes are called the Non-DMA modes The DMA mode is used if the system has a DMA controller This allows the mP to do other tasks while the data transfer takes place during the Execution Phase If the Non-DMA mode is used an interrupt is issued for each byte transferred during the Execution Phase Also instead of using the interrupt during Non-DMA mode the Main Status Register can be polled by software to indicate when a byte transfer is required All of these data transfer modes will work with the FIFO enabled or disabled 5321 DMA ModeFIFO Disabled The DMA mode is selected by writinga0tothe DMA bit in the Specify command and by setting the DMA enabled bit (D3) in the DOR With the FIFO disabled a DMA request (DRQ) is generated in the Execution Phase when each byte is ready to be transferred The DMA controller should re- spond in the DRQ with a DMA acknowledge (DACK) and a read or write strobe The DRQ will be cleared by the leading edge of the active low DACK input signal After the last byte is transferred an interrupt is generated indicating the begin- ning of the Result Phase During DMA operations the chip select input (CS) must be held high The DACK signal will act as the chip select for the FIFO in this case and the state of the address lines A2 – A0 is a don’t care The Terminal Count (TC) signal can be asserted by the DMA controller to terminate the data transfer at any time Due to internal gat- ing TC is only recognized when DACK is low PC-AT Mode When in the PC-AT interface mode with the FIFO disabled the controller will be in single byte transfer mode That is the system will have one byte time to service a DMA request (DRQ) from the controller DRQ will be deas- serted between each byte PS2 and Model 30 Modes When in the PS2 or Model 30 modes DMA transfers with the FIFO disabled are per- formed differently Instead of a single byte transfer mode the FIFO will actually be enabled with THRESH e 0F (hex) Thus DRQ will be asserted when one byte has entered the FIFO during reads and when one byte can be written to the FIFO during writes DRQ will be deasserted by the leading edge of the DACK input and will be reasserted when DACK goes inactive high This operation is very similar to Burst mode transfer with the FIFO enabled except that DRQ is deasserted between each byte 5322 DMA ModeFIFO Enabled Read Data Transfers Whenever the number of bytes in the FIFO is greater than or equal to (16bTHRESH) a DRQ is generated This is the trigger condition for the FIFO read data transfers from the floppy controller to the mP Burst Mode DRQ will remain active until enough bytes have been read from the controller to empty the FIFO Non-Burst Mode DRQ will be deasserted after each read transfer If the FIFO is not completely empty DRQ will be reasserted after a 350 ns delay This will allow other higher priority DMA transfers to take place between floppy trans- fers In addition this mode will allow the controller to work correctly in systems where the DMA controller is put into a read verify mode where only DACK signals are sent to the FDC with no RD pulses This read verify mode of the DMA controller is used in some PC software The FIFO Non-Burst mode allows the DACK input from the DMA controller to be strobed which will correctly clock data from the FIFO For both the Burst and Non-Burst modes when the last byte in the FIFO has been read DRQ will go inactive DRQ will then be reasserted when the FIFO trigger condition is satis- fied After the last byte of a sector has been read from the disk DRQ is again generated even if the FIFO has not yet reached its threshold trigger condition This will guarantee that all the current sector bytes are read from the FIFO before the next sector byte transfer begins Write Data Transfers Whenever the number of bytes in the FIFO is less than or equal to THRESH a DRQ is generated This is the trigger condition for the FIFO write data transfers from the mPto the floppy controller Burst Mode DRQ will remain active until enough bytes have been written to the controller to completely fill the FIFO Non-Burst Mode DRQ will be deasserted after each write transfer If the FIFO is not yet full DRQ will be reasserted after a 350 ns delay This deassertion of DRQ will allow other higher priority DMA transfers to take place between floppy transfers The FIFO has a byte counter which will monitor the number of bytes being transferred to the FIFO during write opera- tions for both Burst and Non-Burst modes When the last byte of a sector is transferred to the FIFO DRQ will be deasserted even if the FIFO has not been completely filled In this way the FIFO will be cleared after each sector is written Only after the floppy controller has determined that another sector is to be written will DRQ be asserted again Also since DRQ is deasserted immediately after the last byte of a sector is written to the FIFO the system does not need to tolerate any DRQ deassertion delay and is free to do other work Read and Write Data Transfers The DACK input signal from the DMA controller may be held active during an entire burst or it may be strobed for each byte transferred during a read or write operation When in the Burst mode the floppy controller will deassert DRQ as soon as it recognizes that the last byte of a burst was trans- ferred If DACK is strobed for each byte the leading edge of this strobe is used to deassert DRQ If DACK is strobed RD or WR are not required This is the case during the Read Verify mode of the DMA Controller If DACK is held active during the entire burst the trailing edge of the RD or WR strobe is used to deassert DRQ DRQ will be deasserted within 50 ns of the leading edge of DACK RD orWR This quick response should prevent the DMA controller from transferring extra bytes in most applications Overrun Errors An overrun or underrun error will terminate the execution of the command if the system does not transfer data within the allotted data transfer time (see Section 37) which will put the controller into the Result Phase During a read overrun the mP is required to read the remaining bytes of the sector before the controller will assert INT signifying the end of execution During a write operation an underrun error will terminate the Execution Phase after the controller has writ- ten the remaining bytes of the sector with the last correctly written byte to the FIFO and generated the CRC bytes Whether there is an error or not an interrupt is generated at the end of the Execution Phase and is cleared by reading the first Result Phase byte 31 |
Similar Part No. - PC8477BV-1 |
|
Similar Description - PC8477BV-1 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |