2 Replies Latest reply on Sep 7, 2017 8:53 AM by KandlaguntaR_36

    FX3 UsbSpiDmaMode sample CyU3PUsbSendEP0Data() question?



      I am working on FX3 UsbSpiDmaMode. I was able to send out control end point vendor command 0xB0 to UsbSpiDmaMode FW. And seems capture OUT/IN packet by USB protocol analyzer. See attached USBTrace screen shot.


      For some reason, there is no data from IN packet. From the code, I am assuming the "FX3 SPI" should be in the IN data field.


      Anything I might doing wrong? Is it the issue of CyU3PUsbSendEP0Data() or?


      const uint8_t glFirmwareID[32] __attribute__ ((aligned (32))) = { 'F', 'X', '3', ' ', 'S', 'P', 'I', '\0' };

              switch (bRequest)


                  case CY_FX_RQT_ID_CHECK:

                      CyU3PUsbSendEP0Data (8, (uint8_t *)glFirmwareID);