STM32H7 USB custom class
Hi,
I want to use my own custom usb device class base on usb core provided by ST. Inspecting the code, I found that "DataIn" and "DataOut" callback functions provided by the class to usb core are called at the END of the data in or out stage... Calling DataOut callback at the end of the data out stage is good as all of the received data is available, But for the DataIn, I want to be notified the at the START of data in stage, i.e. be notified that an IN packet received and then send my own data over it ... I guess "ITTXFE: IN token received when Tx FIFO is empty" interrupt for IN endpoints can help me, But that's not triggered when I send an IN packet over endpoint2 (I can see IN packet in wireshark coming out of my PC to STM32)
How can I do that??
