Tool/software:
For the AM2434 chip, during a 10ms delay when transferring 256 bytes of data at a time, the USB endpoint freezes. How should the buffer be configured? I noticed that the SDK uses the Cadence USB IP core. Please provide some guidance
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.
Tool/software:
For the AM2434 chip, during a 10ms delay when transferring 256 bytes of data at a time, the USB endpoint freezes. How should the buffer be configured? I noticed that the SDK uses the Cadence USB IP core. Please provide some guidance
Hi wenjun,
Thanks for your query.
Can you please tell which MCU+SDK version are you using?
during a 10ms delay when transferring 256 bytes of data at a time, the USB endpoint freezes.
Can you please tell which endpoint is freezing? How are you keeping a 10ms delay between each data transfer? Is it before transfer or in between the transfer?
Regards,
Tushar
The SDK version is 10_00_00_20. I continuously send data over USB with a 10ms delay, but after a period of time, it freezes. Through a USB analyzer, I found that the status is NYET.
Hi Wenjun,
Please refer USB Logging for details.
Also please share the logs captured through USB analyzer.
Regards,
Tushar
I captured this data using a USB analyzer. After continuously sending data to endpoint 2, the status of endpoint 2 became NYET, and I couldn't continue sending data afterward. I also tried sending data to endpoint 1, but it didn't work either. Additionally, based on the SDK tutorial you shared, I don’t know where to find the log files. Could you provide me with a detailed guide?
After debugging, I found that I don't understand the meaning of the registers in the Cadence USB. Could you explain what the SFR maps represent, especially the STS register?
This is the register operation code for Candence USB in the low-level SDK. Could you please explain its specific meaning?
Hi Wenjun,
especially the STS register
The EP_STS register refers to the end point status register. There are two types of bit in this register. Few bits are read/write bit which are the interrupt flags bit and few bits are read-only which shows the status of various events.
All the above mentioned SFR register details are not provided in the TRM as this comes under NDA.
Please refer below note from TRM.
This is the register operation code for Candence USB in the low-level SDK. Could you please explain its specific meaning?
The EP_SEL register refers to Endpoint Select register. The above code in the screenshot is configuring the direction for the endpoint and also selecting a endpoint number.
Regards,
Tushar
I have compiled the debugging issue into a document. Please take a look. If an NDA needs to be signed, please let me know
Hello, based on my test results, do you have any suggestions? Do we need to sign an NDA?