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.

C5505 USB MSC initialization

Hello!

Q1: I use USB MSC driver from CSL 2.50 for C5505. In examples there is called the function USB_initQueueManager. In CSL documentation there is the Pre Condition for this function that USB_initDma should be called successfully. But in examples the USB_initDma function is called after USB_initQueueManager. What is correct?

Q2: I have nowhere found what is linkingRam buffer (passed to USB_initQueueManager) and how long should it be defined. What is its minimum size? And is it realy needed? I have tried to fill this buffer with 0xFFFF values before initialization and after several minutes of USB communication there remains 0xFFFF values. So it seems to me that linkingRam is not used. Can I save the memory by not using this buffer?

  • Dear professionals,

    I still have no answers to above questions. Please, who knows it?

    And I have one more question:

    Q3: In CSL 2.50 and 3.03 in example csl_usb_msc_dma_example.c there is declaration of the variables hpDescrTx, hpDescrRx and linkingRam with data align 4096. Is this data align needed? I have problem that the linker makes almost 4 kB holes in the RAM before this variables. But I would like to use this memory...

    Best regards,

    Jiri