Public Archive Forum Discussions
Hi,
I've been trying to negotiate entering alternate modes between two CYPD2122 CCG2 controllers. I've successfully been able to handle the USD PD "Discover Identity" and "Discover SVIDs" commands. However when I try to use the "Discover Modes" command to get a list of available modes from the UFP, all the modes are populated with the VDM header for the transaction.
For example, if I used the EZ-PD config utility to set the SVID=0x6666 and defined 3 modes 0x11111111, 0x22222222, and 0x33333333 then when I request the modes for SVID 0x6666, the UFP acknowledges the request by sending a list of 3 modes all set to 0x66668043 (the VDM Header for the transaction). If I request modes for a different invalid SVID, it correctly NACKs the request. If I define a different number of modes for the SVID configuration, the response has the correct number of modes, but they are all incorrectly set to the VDM for the transaction.
Also, none of the callbacks in "pd_vdm.c" are ever being called even though they are correctly initialized at the start of main(). The documentation for the CCG2 API indicates that this is where user code is called when the API responses to VDM messages. However, my code is clearly responding to VDM messages, yet none of these callbacks are ever reached according to the debugger.
Some notes about my setup. I based my code off the CYPD-2122-24LQXI-notebook example. My application does not need a bootloader or the HPI interface so I have disabled/removed the corresponding code from my application.
Any help in resolving these issues would be greatly appreciated. Thanks
Show Lesshello:
I used s34ml02G100 before , i fond a new ic " S34ml02g200 " is similar to it
My question is
1 what’s the main difference between these tow IC?
2 Which ECC type ( 1bit ecc /528byte or 4bit /528 byte) should I applicated on each ic ?
3 Can I use 1bit ecc/ 528byte on s34ml02G200 ?
looking forward your reply! thanks
Show LessHi, I am very new to EZUSB3 and I have the PCB kit. I have done some examples by John Hyde using the bootloader driver. Now I simply wish to switch back to the streamer example device, I have now removed the jumper 4 but can not get back to this original streamer demo that came with the board. Do i need to reload an image file, if so where is it? Sorry for the noob question..
Cheers
H
Show LessHi,
In my FX3 firmware I am using the CYU3P_USBEP_SLP_EVT Sort Length Packet event to determine the end of the USB transfer.
I am able to do so in USB SS but under USB High Speed the event is not generated and my firmware reports transfer failure.
My firmware also use the ZLP event. This event is generated in USB SS and USB High Speed.
I have tested with the Cypress Control Center tool as well as with my WinUSB interface. The data is transferred but the SLP event is not generated.
I have use the JTAG debugger of the SuperSpeed Explorer Kit and the following function are called :
- USB High Speed
- ZLP - API Callback called from CyU3PUibEPEvtHandler (Line 1863)
- SLP - The JTAG Break point is not reached - CyU3PUibEPEvtHandler (Line 1868)
- USB Super Speed
- ZLP - API callback callbed from CyU3PUibProtEpIntrEvtHandler (line 2028 )
- SLP - API callback callbed from CyU3PUibProtEpIntrEvtHandler (line 2031 )
Under USB High Speed, the SLP interrupt is enabled: DEV_EPO_CS=0x60344A00. The EP interrupt is enabled since I get the ZLP Event.
Regards,
Stan
EU Declaration of Conformity for the CYW2073XS (Red Directive)
I'm new to the forum and this is my first project. I want to implement the AN58069 project. I have an MPEG2 stream available. Data Valid,sync,clock and 8 bit data.
I have the usb control center software. Where can i find the BDA drivers? thank you and greetings.
I have a program that I am running on Linux and am trying to connect to my Cypress device. When I attempt to run the code, when the CyOpen function is called I receive CY_ERROR_DRIVER_OPEN_FAILED as my output. My computer recognizes the Cypress device and all proper drivers are installed. Virtually identical code works flawlessly on Windows but it does not work on Linux.
Show LessWICED Studio 5.0 Release Notes
I am connecting a ZED board to HP laptop , Windows 7 enterprise OS. I installed the CypressDriveInstaller_1. When I connect both the USB ports on the ZED board to the PC (J17 - PROG & UART) , "USB to UART Adapter" does not show up in the device list. If connect just the UART only (and not the programming cable), I still do not see anything in the device tree. When I connect the programming cable, it shows up as "USB serial Converter" in the device tree and as "COM3" in the COM & LPT ports list. Only COM3 shows up in that list. No other com port. If I open the serial port terminal (Teraterm) , it won't let me program (Vivado cannot open the hardware). After I kill the serial port I can program and when I open the Teraterm and connect to COM3, I get a message "Cannot open COM3". If I right click on COM3 in the device tree and look at the driver details, it shows the driver as "FTDI driver". This is happening on 2 HP computers ( a desktop and a laptop). The board works fine with the serial port on a Dell laptop with windows 7 professional. I would appreciate any help to resolve the problem.
Thanks,
Mohan
Show Less