Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB EZ-PD™ Type-C Forum Discussions

YASUKICHI
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

I will post for the first time.

I use the CCG2 60W Car charger Reference Design.

I programing to CCG2(CYPD2134), program is  the sample hex file on the web site of the reference design.
https://www.cypress.com/documentation/reference-designs/ccg2-60w-car-charger-reference-design

But, it don't work.....

Experience specification is:

Input Voltage is 12V.

Output voltage is 0V.

EN pin is High.

Connect to the Type-C sink. (5V requested.)

 

My question is,

Does sample hex file communicate with NCP81239 using the I2C?

And, is it possible to know the I2C register setting map bit detail of CYPD2134 for NCP81239?

Best Regards,

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Yes, I2C is used to communicate with the NCP81239 so please check if VBUSOUT is at 5V after EN is high.

You could refer to the ncp82139.h file in the project source present with the KBA.

Best Regards,
Sananya

View solution in original post

0 Likes
4 Replies
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Yes, I2C is used to communicate with the NCP81239 so please check if VBUSOUT is at 5V after EN is high.

You could refer to the ncp82139.h file in the project source present with the KBA.

Best Regards,
Sananya

0 Likes

Dear Sananya,

Thank you for your quick response.

After EN is high, VBUSOUT is at 0V....

I will check the ncp81239.h using the PSoC Creator 4.4.

Can I make the hex file using the PSoC Creator 4.4?

I try the PSoC Creator first time.

I would be grateful if you could tell me how to make the hex file using the PSoC Creator 4.4.

Best Regards,

0 Likes
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

You could open the project in PSoC Creator 4.4 and update all the components before building it since the project is based on the older PSoC Creator 3.3 DP1 version, which can also be installed from the link. You could also install the CCGx SDK, which has other CCG2 example projects. Please refer to the 'Toolchain and Build System' section in the API Guides which would be present at the path- <install directory>\Cypress\EZ-PD CCGx SDK\CCG2\Documentation

For detailed steps on the modifying a project on PSoC Creator, please refer to the PSoC Creator User Guide.

Best Regards,
Sananya

0 Likes

Hi!

Thank you for your answer.

OK!
I will install the PSoC Creator 3.3 DP1 version!

I guess, this sample project file need the toolchain of ARM MDK Generic.
I installed toolchain from keil web site.

I appreciate all your help.


Best Regards,

0 Likes