- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The device will be NAKing the IN requests from the host while it is loading data into the endpoint buffer (BUSY bit in EP1INCS will be set as 0). Once it completes loading the count, BUSY will be set as 1 and host can read the data. You could add a delay in the firmware so that the data and count arent immediately loaded.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can load EP1INBC with 0 if you dont want the endpoint to be armed i.e. to receive any bytes on the host.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Sanya,
Yes I can. But I want EP1IN to response with nack to the host. I would like to emulate ftdi chip with fx2lp.
Best Regards,
MoTa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The device will be NAKing the IN requests from the host while it is loading data into the endpoint buffer (BUSY bit in EP1INCS will be set as 0). Once it completes loading the count, BUSY will be set as 1 and host can read the data. You could add a delay in the firmware so that the data and count arent immediately loaded.
Best Regards,
Sananya