How to check USB port connect to PC or USB port connect to power adapter in C5515 USB register?
How to read the USB register with C5515 code?
Board : customize board
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.
How to check USB port connect to PC or USB port connect to power adapter in C5515 USB register?
How to read the USB register with C5515 code?
Board : customize board
Hi,
What is the host application you are using? When you connect the USB device to host (PC), host application should indicate the device connection. You could run USB CSL example (CSL_USB_PollExample_Out) and check whether the host detects C5515 device.
From device side, The USB controller interrupts the CPU on completion of the data transfer on any of the endpoints or on detecting reset, resume, suspend, connect, disconnect, or start-of-frame (SOF) on the bus. Suggest you to refer Power Management Register (POWER) / USB INTR related register in the USB Userguide sprugh9.Also refer to USB CSL example.
On USB register read, You could view the content of USB registers in CCS register view window by setting appropriate breakpoints.
Hope the above information helps.
Regards
Vasanth