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.

CCS/DLPC350: Pattern numbers interpretation in USB command

Part Number: DLPC350


Tool/software: Code Composer Studio

Hi, 

I am trying to understand the USB command of sequence pattern definition. In the programming guide page 52.

According to the table 2-69, if the addresses are converted into binary;

Hex                     Binary

x002130            ‭0010000100110000‬

x002134            ‭0010000100110100‬

x002138            ‭0010000100111000‬

x00213C           0010000100111100‬

Everything is clear from the Table 2-69. What I do not understand is the bits 7:2 of BYTE 0. (greened)

I know it shows the pattern numbers in Table 2-70. Although I am not quite sure how to interpret them.

they correspond to 1 bit patterns, there should be 24 pattern numbers. I could not find a relation between the binary and pattern number. I appreciate an example for 8 bit patterns.

Thank you in advance for your help, 

Sis

  • Hello Sis,

    Allow us to look into this and we'll get back to you this week.

    Thanks,
    Kyle

  • Hi Sis, 

    The easy way to determine the pattern LUT bytes for your configuration is to use the LCR4500 GUI to create a pattern sequence as per your requirements and then save it as an INI using the "Save Solution" option. You can now open this INI with any text editor and obtain the bytes for pattern LUT as per your requirements. 

    I will attach below an example INI below for displaying R7-0 (8bit) from splash images (in red color)1,2 and 3 using internal trigger. 

    Thanks & Regards,
    Hirak.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/94/8bit_5F00_r7_5F00_0.ini




  • Dear Hirak, 

    Thank  you for this helpful tip. I have my last question. There is another thing  that I need to chage in the INI. file which is  the total number of pattern that is in my case very high . Could you please refer me to a table in the manual where gives some information so that I can change the number of pattern in INI. file accordingly.

    Thank you so much for the help,

    Sarah

  • Hi Sarah, 

    You can use the GUI to add as many patterns to the sequence as you want, and then save the INI for your reference and future use. Kindly also refer to "Pattern Display Mode Examples" (Chapter 4) on the DLPC350 Programmers' Guide, here you will find examples on the command sequence for configuration of pattern LUTs, and also explanation on the meanings of the different bytes used to configure the pattern LUT.

    (if we were able to help you, kindly click the RESOLVED button next to the answer resolving your query.)

    Thanks & Regards,

    Hirak.