USB EZ-PD™ Type-C Forum Discussions
Dear Experts,
We are having a project to provide a USB-C PD (supports PPS) as a source for the DFP of a USB3.2 Gen 1 Hub. It is not a Thunderbolt based. Which design kit do I need to start with? The purpose of using CCG5 is to provide power source for the down stream port and control directa USB superspeed MUX.
Steve
Show LessWhen I try to open the EZ-PD Protocol Analyzer Utility app, the error message shows up (screenshot attached). When downloading the app, it prompted me to install Java, which I did.
Show Less
Hello all,
I'm trying to use the CY4533 board to power my Class D amplifier from TI.
My goal is to provide 20V/4A from Apple's official 96W(20.5V/4.7A) adapter to the TPA3255EVM so that I can amplify the music from my PC.
I changed the rotary switch to 5 so that I get MAX 20V and changed the resistors to have MIN 20V and Current of 4A.
VBUS MIN 20V setting
R11 0ohm
R14 DNP
ISNK_COARSE 4A setting
R10 5k
R12 10k
ISNK_FINE 0A setting
R13 DNP
R4 0ohm
But when I connect the power wires to the amplifier, the CY4533 would repeatedly restart just like the attached video. It's the same with or without the USB PD tester.
This is what I measured during the whole restarting sequence.
Max Voltage 4.1V right before CY4533 shuts down
Min Voltage 2.5V all the time
Max Current 20mA
When there's no connection to the amplifier, my USB PD tester displays 7.6V for around 500ms and finally shows 20.5V at the end, but whenever the amp board is connected, the power is never delivered.
Actually, when I first got the CY4533 board, I only set the rotary switch to 5 hoping everything works, but the CY4533 would restart like the video. This is why I tried configuring the resistors to fix the minimum voltage at 20V and current to 4A, but it didn't help out.
I first thought it was the inrush current, but the max current that I measured from my multimeter was only 20mA and I don't think 20mA is critical enough to trigger the inrush current problem.
Could I get some help with what's causing this problem?
Best regards
B
Show Less
Hello,
I have connected a device on the I2C bus of the CYPD5225.
But this device has not the same power rail (it is 3V3 but not set at the same time) than the CYPD5225. I was wondering at witch supply do i need to connect the pull-up ?
Question: Do the SCB pins are 3V3 tolerant if the CYPD5225 is not powered ?
Thank you for help
Best regards,
TD83
Show LessI noticed that sometimes when our SDK project based on CYPD5225_notebook_tbt is starting up and during i2c communication the CYPD5225 will hang until the watchdog timer trips and resets the device. This happens about 1/20 times on startup.
If I disable the watchdog timer - the CYPD5225 device will hang until power is removed - holding the SDA/SCL line to the EC low. So I suspect there is something causing the lockup in the HPI interface code.
I was hoping to debug over SWD to see where the device is getting hung up. however the i2c pin used for SWD is also used for address muxing in cypress object code, which if disabled skips several initialization steps. Do you have any suggestions for debugging this?
Also there is a bug in the project - where if you disable the software watchdog - but keep the hardware watchdog - then the cypd5225 will continuously reset every time the watchdog triggers every few seconds.
Eg if you have the following definitions:
#define RESET_ON_ERROR_ENABLE (0u)
#define WATCHDOG_HARDWARE_RESET_ENABLE (1u)
This is because the reset on error fires a timer event every so often in instrumentation, which runs the event loop one time and clears the WDT before it resets the system.
If the software timer does not fire, then there is no code to trigger the WDT clear.
Hello
I am designing a board with a CYPD5225.
Question1: Do I need to "program" the device CYPD5225 in the manufacturing process before the first power-on
Question2: Is it possible do buy the device already programmed ?
Question3: Do I need the pin "XRES" (reset) on a connector for programming the device ?
Question 4: How many times is it possible to program the device CYPD5225 ?
Question 5: I was not able to fond the default setting of the different pin (when the pin has multi-function), can you send me the default setting ?
Question 6: When a I2C bus of the CYPD5225 is not used, do i have to add external pull-up on I2C lines or is it possible to leave the I2C pin left floating ?
Best Regards,
TD83
Show LessHello,
On our board, we have no EC (Embedded Controller):
Question1: is it possible to use the pin SWD_IO/SWD_DATA to program the device CYPD5225 ?
Question2: what do i need to program the device CYPD5225 ?
Question3: do i need to route a particular I2C bus to a connector to be able to program the CYPD5225 device ?
Question4: what is the ref of the board and the software to program the CYPD5225 device.
Thank you for help, best regards,
TD83.
Show Less
I have the EZ-PD BCR dev kit and I wrote some arduino software to communicate to it through I2C. I am able to read and write to registers and confirmed it by resetting the I2C line using the RESET register and afterwards reading the DEV_RESPONSE register and got a proper response. But I am having a problem sending the "Discover Identity" command to the port partner (I have a source device that will respond to this command).
In the USB spec I found this example command and sent this to the device.
I know you do not have to write the message header because the BCR will create that for you so I wrote the VDM header to the data memory which comes to be 0xFF00A001 .
To my understanding the next step is to write to DM_CONTROL
but here all the bits should be set to zero except the length. I set DM_control to a few values 0x8000, 0x2000, 0x6000, and 0x0000 but I got an error for all the commands except 0x0000 where I got a success in the PD_response register but I never recieved anything in memory.
Are these the correct command to write into data memory and DM_CONTROL or is one of them wrong?
Show LessHello, I just want to ask if I must always connect the CCG Lines CC1 & CC2 ?
The background is that I have only one CC - Line available from an USB PD capable Power Source. Lets imagine I have only CC1 of an USB-Plug connected to CC1 of the CCG2. Can I left CC2 of the CCG2 open ? OR is it impossible to do so ? ( I know this connection is non-standard 😉
THX for any Help, Enrico
Show LessHi, we want to use the 5126 for a new project however as this is the first use of a cypress CCG product there are several questions which I wasn't able to solve:
1. It looks as if the CCG5 FW update/parameter programming is via the I2C port. I guess it's via SCB1?
2. We already have a sort of USB to serial converter build into the system which we would like to use for FW updates and parameter programming. Is there a document on how to achieve this via I2C? I've only found 002-22328 Rev. *G which discussed programming via SWD(?) but couldn't find anything for I2C.
3. during development we'd like to circumvent our USB to serial solution and rather use a "cypress-approved" one (there are only so many possible points of failure you want to deal with at any given time). However I haven't found a definitve answer on whether the MiniProc3 or MiniProg4 would support both FW programming and Configuration via the EZ-PD Configuration utility or whether we'll have to nail a PCB with a cypress USB-serial bridge together (and, as I asked before, which SCB port we'll have to connect to).
Thanks for any reply.
Show Less