How do access the EP2 OUT data when the GPIF auto mode is enabled? I want to inspect the first byte before I trigger the GPIF write.
For FX2LP, in the auto mode, whenever data comes from Host, it will be directly committed to peripheral domain. For inspecting the first byte, you can check it by reading EP2FIFOBUF. (it can be done in both AUTO mode or Manual mode)
I could only get it to work in the manual mode. I do not get the right data in AUTO mode.
I am sorry, for OUT endpoints In AUTO mode, the packets will be committed to peripheral domain immediately. So CPU cannot take control over the packets after committing(CPU won't come in between). So it is not possible in AUTO OUT mode to access the packets.