 | Discussion Forum |  |
|
|
SPI HELPNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author chiko diko Posted 7-Jul-2010 11:20 GMT Toolset ARM |  SPI HELP chiko diko 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. | | Read-Only Author Per Westermark Posted 7-Jul-2010 11:42 GMT Toolset ARM |  RE: SPI HELP Per Westermark 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)? | | Read-Only Author chiko diko Posted 8-Jul-2010 08:32 GMT Toolset ARM |  RE: SPI HELP chiko diko I work with AT91sam7x 512 what's the different between that the DMA transfer has ended or that the last bit of the last word has been shifted out? I send bytes in SPI and READ the answer to a buffer. whitch flag can tell me when the DMA sending action is done?! thank all chiko | | Read-Only Author Andy Neil Posted 8-Jul-2010 09:04 GMT Toolset ARM |  RE: AT91sam7x Andy Neil Note that this has nothing to do with Keil - it is a specific question about this particular device from this particular manufacturer (Atmel). Have you tried asking Atmel and/or your Distributor? | | Read-Only Author Per Westermark Posted 8-Jul-2010 09:34 GMT Toolset ARM |  RE: SPI HELP Per Westermark If the datasheet does not contain the relevant information, then you obviously have to contact Atmel and ask them for the information. We only have access to the information Atmel has published. Any information we can find is information you can find. | | Read-Only Author Andy Neil Posted 8-Jul-2010 09:41 GMT Toolset None |  RE: If the datasheet does not contain the relevant info... Andy Neil Or, in general, "If the datasheet does not contain the relevant information, then you obviously have to contact the device manufacturer" The first step would be to visit their website and look for Application Notes, and Examples and other such supporting information. Note that many manufacturers today divide their documentation into a "Datasheet" and a "User Manual" (specific names vary) where the "Datasheet" is just electrical parameters, etc, and you need to read the "User Manual" for details of registers, etc. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|