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

USB EZ-PD™ Type-C Forum Discussions

Ivan_Lee
Level 5
100 sign-ins First like received 50 replies posted
Level 5

When i enable OTP function by EZ-PD configuration utility ,

There have two parameters, one is "cut off" , another is "Restart value"

How to set those parameters? What is the unit?

 

The FW use "pd_hal_measure_internal_temp" function to get internal temperature.

The function return value unit is ℃, right ? ex: if chip internal temperature is 100℃ , the function will return 100, right?

0 Likes
1 Solution
Abhilash_P
Moderator
Moderator 25 likes received 250 replies posted 250 sign-ins
Moderator

Hi,

   1. In EZ-PD configuration  - "cut off" and "restart" value parameters unit also is ℃ , right?
               Yes your understanding is correct. For bjt based sensing they are temperature values. For PTC/PTC they are in mV scale. 

2. "The reading from the BJT is mapped to temperature value using SFLASH trims for HOT, ROOM and COLD",What does it mean?  why does FW need to define "HOT" / "ROOM and "COLD" value?
               
The silicon die temperature will be read using a Round-robin ADC measurement (500ms). Trim registers will store HOT (120 °C), ROOM (25 °C) and COLD (-40 °C) temperature ADC code. Whenever die temperature increases above 120C, the OTP triggers and shuts down the port. 

3. The bjt resolutin is 5℃. 

 

 

Regards,
Abhilash P

View solution in original post

0 Likes
5 Replies
Abhilash_P
Moderator
Moderator 25 likes received 250 replies posted 250 sign-ins
Moderator

Hi,

            Thank you for posting on the Infineon Community. 

Please refer  this KBA to know about the protection features in CCgx devices, their configuration parameters and the relevant firmware APIs. 

The values under each section in OTP is the GPIO voltage (in mV) corresponding to the temperature at which OTP cutoff is to be performed. 

It is the cut-off voltage across thermistor. The controller monitors for this cutoff voltage and when the voltage across thermistor drops below the cut-off range, OTP fault condition is triggered.

 

Regards,
Abhilash P

 

0 Likes
Ivan_Lee
Level 5
100 sign-ins First like received 50 replies posted
Level 5

Hi, Abhilash 

Sorry i am asking for CCG7D OTP using internal BJT, please refer to below pic.

i don't know  what unit is for cut off value and restart value parameters? Can you give me a example...  how to set cut off value when temperature over 100 ℃ ?

The "pd_hal_measure_internal_temp"  API function is also for measuring internal temperature,

but we don't know what meaning is "pd_hal_measure_internal_temp" API's  returning value ? ℃ ?

ccg7d_otp.png

0 Likes
Abhilash_P
Moderator
Moderator 25 likes received 250 replies posted 250 sign-ins
Moderator

Hi,

 " but we don't know what meaning is "pd_hal_measure_internal_temp" API's  returning value ? ℃ ?"

                  The returning value of this API is  ℃.

This function returns the temperature value obtained from the internal BJT. The reading from the BJT is mapped to temperature value using SFLASH trims for HOT, ROOM and COLD

Below image will help you understand the relevant APIs',

Abhilash_P_0-1656321662620.png

 

Regards,
Abhilash P

 

    

0 Likes
Ivan_Lee
Level 5
100 sign-ins First like received 50 replies posted
Level 5

Hi, Abhilash,

1. In EZ-PD configuration  - "cut off" and "restart" value parameters unit also is ℃ , right?

2. "The reading from the BJT is mapped to temperature value using SFLASH trims for HOT, ROOM and COLD",What does it mean?  why does FW need to define "HOT" / "ROOM and "COLD" value?

3. what tolerance is internal BJT temperature ?

 

BR

Ivan

0 Likes
Abhilash_P
Moderator
Moderator 25 likes received 250 replies posted 250 sign-ins
Moderator

Hi,

   1. In EZ-PD configuration  - "cut off" and "restart" value parameters unit also is ℃ , right?
               Yes your understanding is correct. For bjt based sensing they are temperature values. For PTC/PTC they are in mV scale. 

2. "The reading from the BJT is mapped to temperature value using SFLASH trims for HOT, ROOM and COLD",What does it mean?  why does FW need to define "HOT" / "ROOM and "COLD" value?
               
The silicon die temperature will be read using a Round-robin ADC measurement (500ms). Trim registers will store HOT (120 °C), ROOM (25 °C) and COLD (-40 °C) temperature ADC code. Whenever die temperature increases above 120C, the OTP triggers and shuts down the port. 

3. The bjt resolutin is 5℃. 

 

 

Regards,
Abhilash P

0 Likes