USB superspeed peripherals Forum Discussions
I’m trying to add audio control features to my FX3 based UVC system to control volume and mute. My system currently supports audio but does not have any audio descriptor to control volume and mute options. I’m modifying the descriptor to support that, however I don’t see a way in API document to get and audio events.
Does anyone know how to handle audio set up commands?
Show LessHi,
I am working on SD_card write operation, we want to write data to SD card, the data which is considered by the 512bytes in firmware and the data is not copying to the buffer.
static void
CyFxBulkSrcSinkFillInBuffers (
void)
{
CyU3PReturnStatus_t stat;
CyU3PDmaBuffer_t buf_p;
uint16_t index = 0;
CyU3PDmaCbType_t type;
/* Now preload all buffers in the MANUAL_OUT pipe with the required data. */
for (index = 0; index <50; index++)
{
stat = CyU3PDmaChannelGetBuffer (&glChHandleBulkSrc, &buf_p, CYU3P_NO_WAIT);
for(i=0;i<=512;i++)
{
buf_p.buffer=READBUFFER;
}
if (type == CY_U3P_DMA_CB_XFER_CPLT)
{
if (stat != CY_U3P_SUCCESS)
{
stat= CyU3PSibReadWriteRequest(0, 0,
4, 2, 0, 0);
}
}
// CyU3PMemSet (buf_p.buffer, CY_FX_BULKSRCSINK_PATTERN, buf_p.size);
stat = CyU3PDmaChannelCommitBuffer (&glChHandleBulkSrc,512, 0);
}
Creating the DMA channel i.e CPU to Socket 0.
Please find the below attachment.
Regards,
Dhanuja
Show LessDear Sir,
I want to output a pwm duty from 1% ~ 99%, but it seems the pwm duty is not predicted, which is also be found in the following!
https://community.cypress.com/thread/17950?q=FX3%20PWM%20duty
I think it may be SDK API bug. when CyU3PGpioComplexUpdate () is called, the timer shall be stopped and cleared ,and then start again according to the new count, just like restart init procedure.
apiRetStatus = CyU3PGpioComplexUpdate (LED_PWM_PIN, count, CY_FX_PWM_PERIOD);
Can Cypress FAE confirm this issue?
Best,
Show LessCould you guide me on Cypress FX3 coding to interface with iPhone. I am looking for a sample project which includes the firmware on FX3 side as well as Iphone site by using External Accessory Framework in xCode for Apple iPhone. I would like to go through the each step by starting from Authentication, numeration, etc by following your example firmware on FX3 and the code Which is using External Accessory Framework on iPhone site. You also have solution PSOC. Please forward the links for that also as an example to understand the authentication, numeration, etc even though they may not be the same. I would like to understand also iAP2 protocol on FX3 site. My end goal is to create a bridge between FPGA and iPhone through FX3 by utilizing GPIF interface of FX3 at the same time to authenticate with iPhone by communicating FX3 I2C interface to Apple authentication chip.
Show LessHi Cypress,
I am working on a project on FX3. This application consists of a GPIF interface and a USB BULK IN endpoint. The GPIF interface works as SLAVE. The master writes data to the FX3. And, the PC gets the data from USB BULK IN endpoint. My question is:
How can I know the exact number of DMA slots are occupied? As if the PC know this number, it can issue exact number of URBs to get the data without continuously polling the USB BULK IN endpoint? Any API can do so?
Thanks,
Jason
Show LessHi Cypress team,
I get mipi problem when i try to stream a video from 2MP Sensor RAW8 at 30 fps.
I can easily make this camera works through a Serializer-Deserializer but when i'm connecting directly the camera to the cypress CX3 board i get that :
I display some debug information each 1 second, and the gpif stay at the state 2, and sometimes i get ctrErrCnt.
There is the mipi config used :
If you have any idea it can help a lot !
Thank you,
JZ
Show LessI have to generate the PWM Signals from FX3 about 100 Hz to 5 kHz.
I have connected to Complex GPIF ( 18,19, 20, 21).
This is fine or I can generate the PWM from simple GPIF?
Show Less
Regarding the USB3.0 Emphasis (TX), Swing Level Equalizer (RX), Is there a way to change the setting with FX3 FW?
If possible , please share the operation document mentioned above.
Best Regards
Arai
Show LessI would like to record a constant flow of 32-bits data (using an external synch clock - 50MHz). Can I do it with the Synch FIFO example ?
For the moment I can receive data but every 1024 bytes there is a "gap" in my received data.
Hi I am looking into using NetX with an FX3.
I cannot find any of the functions described in the NetX_User_Guide (cannot find anything that starts with nx_ )
Is there a particular header file needed to be included to access these?
I am aware ThreadX is only provided in binary form, but I would expect the API calls to be exposed to the developer in a header file or something.
Final question, is there a guide for using NetX or generally ThreadX OS services with the FX3?
Thanks,
Levi Riley
Show Less