Hello Jobo23,
Thank you for this answer but I also read pages 3-45 to 3-50 from the Linker and Utilities Manual. Your answer does not answer my question. I would like to understand what B3 or B4 means with clear examples.
In Table 3-4 page 3-47, there is an example of DMA packing order. I can read that
B1 and B2 are bit 47 to 32 from word 1. So I guess I can write description of Bx as a C struct
struct {
B1:8
B2:8
B3:8
B4:8
B5:8
B6:8
B7:8
B8:8
B9:8
B10:8
B11:8
B12:8
}
The mentioned transfer order is:
B1
B2 //< First transfer done
B3
B4 //< First transfer done
(B0)
B11
B12 //< Third transfer done
B5
B6
(B0)
B7
B8
B9
B10
(B0)
It says after the third transfer the unpacked order are
B1, B2, B3, B4, B5, B6.
I don't understand thi. B5 ans B6 were not already transfered. Also How the packing logic knows which Bx to swap?
Also we notice the B0 which is not described in this document. Could you explain what is it?
In my project I have this PACKING which is not described neither in the ADI library or in the Linker User Manual. With the documents I have read. I cannot understand this packing below works.
I would like to get an answer to it.
PACKING(12 B3 B4 B5 B6 B0\
B11 B12 B1 B2 B0\
B7 B8 B9 B10 B0)