Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does the command pend mechanism work if the data transfer is set to block mode, or is it only in stream mode?

0
Posted

Does the command pend mechanism work if the data transfer is set to block mode, or is it only in stream mode?

0

As mentioned above Pend mode functionality is only implemented in stream mode. Thus you need to enable the data path for STREAM in the MMCI control register. Why is Pending of a STOP command is not supported in block mode? Both block and stream modes both require a STOP command to be sent to terminate the data transfer (in block mode a read must be terminated with a STOP.) Pending is generally used to send the STOP cmd only; although it can be used for other commands. Stream read & write -> use pending. Multiblock write -> after the last block (the data length reg) the MMCI will stop transmitting data to the card and assert an interrupt, and then the CPU can send the STOP cmd. Multiblock read -> either wait for data transfer end and then send the STOP cmd (this will cause transfer of one/more additional blocks from the card, but the MMCI will ignore them) or the CPU should use the data block end flag in the status register to assert the interrupt (this can be used to track progress and

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123