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.

UCD3138064: UCD3138064 migration confirmation and reference

Part Number: UCD3138064
Other Parts Discussed in Thread: UCD3138128, , UCD3138128A, UCD3138A64A, UCD3138A64, UCD3138

Hi Champ,

I am confirming for the customer.

Due to supply shortage, we are proposing the customer to use UCD3138064RMH to replace their ongoing UCD3138RHA for their PSHB design.

May I confirm that the peak current mode control is available to all EADCx(0~2) channels on UCD3138064, no more restrictions on EADC2 only, correct ?

For the migration reference, besides the UCD3138064 Programmer’s Manual (SLUUAD8B), is there any others for the customer ?

Thanks and regards.

  • Johnny, that is the main document.  Yes, there is more support for all of the Front Ends for PCM mode.  However, the main code change turns out to be that they need to write to the added BLANK_PCM_EN bit in the DPWMs that are providing blanking for the PCM.  Assuming that they don't want to change the board layout, this should be the only change necessary for the PCM mode.  

    For example, in the PSFB EVM code, they need to add this:

    #if defined(UCD3138A64) || defined(UCD3138128) || defined(UCD3138064) || defined(UCD3138064A) || defined(UCD3138128A) || defined(UCD3138A64A)
    Dpwm2Regs.DPWMCTRL2.bit.BLANK_PCM_EN = 1; //this DPWM is used for PCM blanking
    Dpwm3Regs.DPWMCTRL2.bit.BLANK_PCM_EN = 1; //this DPWM is used for PCM blanking
    #endif

    They may want to do a search on everything in the relevant EVM code that has defined(UCD3138064), since this will show all the differences between the 064 and other chip versions.  

  • Ian, thanks for the reply.

    So, if the customer wants to replace UCD3138RHA with UCD3138064RMH quickly, just follows the section14 Converting UCD3138 programs to UCD3138064 in the document, correct ?

    Regarding the Flash Memory (Program) for 40 pins UCD3138064RMH, is it 64 kB right ? Cause the datasheet 6.1 Device Comparison Table and 6.2 Product Selection Matrix doesn't match for the Flash Memory (Program).

    Thanks.

  • Yes, it is 64K.  And yes, they should be able to just follow the conversion guide I think it's pretty complete.  However, they will need to test the final code, because I don't know what all they are doing, so there could be something missing somewhere.