The errata document, ES_LPC546xx, Rev. 2.1 — 23 October 2018 details an issue with HS USB device as follows:
3.22 USB.15: USB high-speed device in endpoint TX data corruption
My question is, how can the application programmer ensure that the required NAK is generated?
For example, if I already have data queued to send to the host (Tx IN), as would normally be the case for USB, then how can in interrupt this transfer and insert an NAK?
Or is this handled in the SDK?
(I'm using SDK 2.5.0)
Any clarification would be much appreciated.