How to connect MiniProg3 VTARG and CCG3PA VDDD in power bank applications

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

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

cross mob
HiOm_1802421
Level 5
Level 5
Distributor - Marubun (Japan)
50 replies posted 50 questions asked 25 replies posted

Hi,

My customer is currently designing a custom board.

In the PowerBank application diagram in the CCG3A datasheet, VDDD is powered by the battery.

When connecting the VTARG to VDDD,  should they add diodes to the VTARG as shown?

Is there any other good connection method?

HiOm_1802421_0-1615182762544.png

 

Regards,

Hidekazu Omoi

0 Likes
1 Solution
Abhilash_P
Moderator
Moderator
Moderator
50 likes received 500 replies posted 250 solutions authored

Hi,

   The CCG3PA chip must be powered up by the host programmer during SWD programming. The external power supply V_BUS_IN_DISCHARGE shouldn't be used in this case. 

Please refer the following image (figure 4 is similar to what you have shared without adding diode) from the CCG3PA datasheet to know more about this application.

You can use a switch in between regulator and VDDD pin to control the flow of voltage during SWD programming.

Abhilash_P_0-1615205738768.png

Please refer to the following information to know more about the use of VTRAG supply,

          "The MiniProg3 requires a connection to the VDDIO supply of the target device to set the voltage level used for communication. This is required regardless of the communication protocol and the port selected. One of the connector’s VTARG pins must be connected to the VDDIO supply of the target device. For PSoC 3, PSoC 4, PSoC 5LP, and PSoC 6, this is the VDDIO1 supply because this supply is used to drive the debug pins. If you do not connect the VTARG or you connect it to the wrong supply, MiniProg3 cannot communicate with the target device. On boards where there is a single power supply for the entire board, MiniProg3 can, in some cases, supply power to the board. This supply is limited to approximately 200 mA, and is protected against  excess current draw. You can select 1.8 V, 2.5 V, 3.3 V, or 5 V for the power supply voltage. The 5-V supply may be as low as 4.25 V or as high as 5.5 V, because it is supplied directly from the USB port. When the target voltage is set to 5 V in PSoC Programmer or PSoC Creator, MiniProg3 provides SCLK and SDAT signals at 3.3 V".

The diode does helps in blocking the reverse current from flowing to the programmer from the regulator, but when the chip is being programmed, the regulator supply must be disconnected.

Please do let me know if the above solution is feasible for your application.

 

Regards,

Abhilash P

View solution in original post

0 Likes
2 Replies
Abhilash_P
Moderator
Moderator
Moderator
50 likes received 500 replies posted 250 solutions authored

Hi,

   The CCG3PA chip must be powered up by the host programmer during SWD programming. The external power supply V_BUS_IN_DISCHARGE shouldn't be used in this case. 

Please refer the following image (figure 4 is similar to what you have shared without adding diode) from the CCG3PA datasheet to know more about this application.

You can use a switch in between regulator and VDDD pin to control the flow of voltage during SWD programming.

Abhilash_P_0-1615205738768.png

Please refer to the following information to know more about the use of VTRAG supply,

          "The MiniProg3 requires a connection to the VDDIO supply of the target device to set the voltage level used for communication. This is required regardless of the communication protocol and the port selected. One of the connector’s VTARG pins must be connected to the VDDIO supply of the target device. For PSoC 3, PSoC 4, PSoC 5LP, and PSoC 6, this is the VDDIO1 supply because this supply is used to drive the debug pins. If you do not connect the VTARG or you connect it to the wrong supply, MiniProg3 cannot communicate with the target device. On boards where there is a single power supply for the entire board, MiniProg3 can, in some cases, supply power to the board. This supply is limited to approximately 200 mA, and is protected against  excess current draw. You can select 1.8 V, 2.5 V, 3.3 V, or 5 V for the power supply voltage. The 5-V supply may be as low as 4.25 V or as high as 5.5 V, because it is supplied directly from the USB port. When the target voltage is set to 5 V in PSoC Programmer or PSoC Creator, MiniProg3 provides SCLK and SDAT signals at 3.3 V".

The diode does helps in blocking the reverse current from flowing to the programmer from the regulator, but when the chip is being programmed, the regulator supply must be disconnected.

Please do let me know if the above solution is feasible for your application.

 

Regards,

Abhilash P

0 Likes
HiOm_1802421
Level 5
Level 5
Distributor - Marubun (Japan)
50 replies posted 50 questions asked 25 replies posted

Hi Abhilash-san,

Sorry for the late reply.

Your answer was very helpful to me.

Regards,

Hidekazu Omoi

0 Likes