This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Discrepancy in StarterWare implementation and AM335x ARM Technical Reference Manual

Hi,

I use StarterWare V2.00.01.01 and I have the AM335x ARM Technical Reference Manual (spruh73k).

In the file "cpswif.c" there are the following definitions:

#define CPDMA_BD_LEN_MASK                        0xFFFF
#define CPDMA_BD_PKTLEN_MASK                     0xFFFF

That would tell me that "Packet Length" and "Buffer Length" in both TX and RX Buffer Descriptors are 16Bit long, but:

In the manual the CPPI TX Buffer Descriptors Format is showed as if "Buffer Length" in Word 2 is 16Bits and "packet_length" in Word 3 is 11Bits.

In the manual the CPPI RX Buffer Descriptor Format is showed as if "Buffer Length" in Word 2 is 11Bits and "packet_length" in Word 3 is 11Bits. In the text it is written under "Packet Length" that packet length is reduced to 12Bits.

Can anyone from TI please clarify this situation and tell me what is the right definition. Thanks.

Best regards,
Patrick