|
Hi everyone,
Sorry i was absent, but i had a problem with my oscilloscope, so i couldn't see my signals.
Anyway i change fixed peripheral select (PS=0) to variable peripheral select (PS=1) . I made array of type unsigned int, which is 32 bits wide with the data in the LSBs and the PCS and LASTXFER fields in the MSBs. On every even place of array i put my real data i want to transmit and on every odd place i put "dummy" data i want to transmit to "non-existent SPI" and everything work fine.
Now, i have one more question, something i don't understand from datasheet. When i transmitted data i try every combination of LASTXFER and CSAAT field and my transfer always work. For: LASTXFER=0 , CSAAT=0; LASTXFER=0 , CSAAT=1; LASTXFER=1 , CSAAT=0; LASTXFER=1 , CSAAT=1;
What is a real difference between LASTXFER and CSAAT and what is meaning of combination of these two fields? Is it irrelevant combinations of this two field if i use it for SPI transfer with DMA, or combination of these two field is important if i use it for SPI without DMA?
Regards Bane
|