Hi guys,
I am currently using two DMA to send data to an external device. The first DMA is preparing the data and the second is sending it.
The first DMA is taking an input buffer and it is formatting the data as follow. In fact the buffer has 1000 bytes.
| A | B | C | D | E | F |
to
| A | X | B | X | C | X | D | X | E | X | F | X |
1) X is a Don't care
2) One cell is a byte
3) Block Transfer
4) Read and Write size is 8 bits
The second DMA is taking the structure generated by the first one and it is sending it to the external device.
1) Block Transfer
2) Read and Write size is 16 bits
When I measure the time between the DMA start and the BTCA interrupt, the first DMA gives me 155.2 us and the second gives 118.0 us. I am trying to understand the difference of 37.2 us since it the same data (1000 times 8 bits vs 1000 times 16 bits).
Any idea ?
Thanks,
Steeve