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.

Missing Datasheet - USB lib

Hi,


in the USB lib project, I found a group of funciton in usbdma.c that simplify the implementation of DMA in a USB case. There is no information on those function in tivaware USB lib datasheet or Tivaware Datasheet?

Do ti or a other co offer datasheet about those function?

  • Hello Mathieu

    Yes, there are indeed some undocumented functions and in some cases mis documented functions. Both of these are being corrected as we get feedback from the forum and customers. We are trying to clear the information but it is going to take time

    Regards
    Amit
  • Hi,
    Yesterday, I diggged pretty deep into the USBlib API. What I manage to find is that when you init a Bulk Device, eventually you call a function call USBCDCinit. It is in that function that the core init happen and this function call a function USBLibDMAInit in a nutshell it activate the DMA for the USB and handle all the special case like if the DMA is integrated or not to the USB channel. Therefore, the users of USBlib don't have to implement the DMA between the PC and the MCU, it is already handle.

    The reason why usbdma isn't doc right now,(I think) it is because what ever the device you init you always end calling USBLibDMAInit therefore, the User don't have to worry about that low layer and can concentrate on the higher lvl of API functioncs.

  • Hello Mathieu

    This is exactly what we want to make sure that the application does not have deal with.

    Regards
    Amit