This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/PMP4451: CURRENT_A_OVER_LOAD_THRESHOLD value ?

Part Number: PMP4451


Tool/software: Code Composer Studio

Dear TI-er

How I calculated CURRENT_A_OVER_LOAD_THRESHOLD ?

    #define CURRENT_A_LOAD_ATTACH_THRESHOLD  2
    #define CURRENT_A_LOAD_FULL_THRESHOLD       2 
    #define CURRENT_A_OVER_LOAD_THRESHOLD  44
    #define CURRENT_A_TYPEC_HALF_THRESHOLD     22

plz help me.

  • Hi Kiyong,

    It looks like the pb.current_A value is calculated from an ADC sampling routine. This appears to be where we are sampling the actual current:

    After we have the raw current measurement (pb.current_A), we compare this value to the CURRENT_A_OVER_LOAD_THRESHOLD:

    As to why the CURRENT_A_OVER_LOAD_THRESHOLD value is 44 - I'm not sure exactly how this was calculated, but I assume this was probably determined by gathering test data from our team. 

    Thanks,

    Mitch