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.

TMS320F280025: Different question about motor control SDK

Part Number: TMS320F280025

Hello,

I'm currently using motor control SDK for my own bard.

Software is based on universal motor control lab and I have several question on this:

-only _FULL_FAST_LIB seems to work, user_mtr1.c seems not compatible with other FAST_LIB. 

Can you confirm if the other libs are functionnals? My need is for a PMSM and I try to reduce the size of the code. If yes can you please advice what is needed?

-ADC PPB are configured but I can not see where it is used. I cannot see any PPB event or interupt used in the code. Can you please let me know why PPB is used?

-On another post on the forum I read that UL approval was in progress, do you have some updates on this?

With best regards.

  • Hi,

    -only _FULL_FAST_LIB seems to work, user_mtr1.c seems not compatible with other FAST_LIB. 

    Which are you trying to use instead? _PMSM_FAST_LIB or _SIMPLE_FAST_LIB?

    I see the issue you mention, that only _FULL_FAST_LIB is used in 'user_mtr1.c' for #if defined checks. I think the code just needs to be updated to check for the other FAST LIB versions as well, can use OR logic for that. Would need to check.

    -ADC PPB are configured but I can not see where it is used. I cannot see any PPB event or interupt used in the code. Can you please let me know why PPB is used?

    See HAL_readMtr1ADCData() function used in motor1CtrlISR(). PPB is used for current measurements. It us used for removing the current sense offset values.

        // convert phase A current
        value = (float32_t)ADC_readPPBResult(MTR1_IU_ADCRES_BASE, MTR1_IU_ADC_PPB_NUM);
        pADCData->I_A.value[0] = value * pADCData->current_sf;
    
        // convert phase B current
        value = (float32_t)ADC_readPPBResult(MTR1_IV_ADCRES_BASE, MTR1_IV_ADC_PPB_NUM);
        pADCData->I_A.value[1] = value * pADCData->current_sf;
    
        // convert phase C current
        value = (float32_t)ADC_readPPBResult(MTR1_IW_ADCRES_BASE, MTR1_IW_ADC_PPB_NUM);
        pADCData->I_A.value[2] = value * pADCData->current_sf;

    -On another post on the forum I read that UL approval was in progress, do you have some updates on this?

    Need to check with some others on this.

    Best,

    Kevin

  • Hello,

    Certification of InstaSPIN-FOC FAST for UL 60730-1, 5th Edition has been completed! Refer to UL file number E352502 for more information. This is a relatively recent development, and although I believe there is a plan to release some documentation on TI's side, none has been published as of the writing of this post. If this changes in the near future, I will update this post with the relevant links.

    Regards,
    Jason Osborn