SPI HELP

Hello I have a question when I work with SPI in DMA which flag can tell me when I finished sending My buffer?
I understand that TXEMPTY it's not the correct one but I don't understand the different between TXBUFE and ENDTX.
With which one I need to work when I work with spi in DMA? thanks chiko.

Parents
  • You think there exists one single ARM processor model in this world? Or do you expect that every ARM chip have identical implementations of SPI and that the manufacturer have selected the same names for registers and flag bits?

    Do you even need to look at the SPI controller to know when a DMA transfer is done? And what do you mean by done by the way - that the DMA transfer has ended or that the last bit of the last word has been shifted out and the slave-select line has been deasserted (if your specific chip supports automatic control of the slave-select line)?

Reply
  • You think there exists one single ARM processor model in this world? Or do you expect that every ARM chip have identical implementations of SPI and that the manufacturer have selected the same names for registers and flag bits?

    Do you even need to look at the SPI controller to know when a DMA transfer is done? And what do you mean by done by the way - that the DMA transfer has ended or that the last bit of the last word has been shifted out and the slave-select line has been deasserted (if your specific chip supports automatic control of the slave-select line)?

Children
More questions in this forum