- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Regards,
Hidekazu Omoi
Solved! Go to Solution.
- Labels:
-
USB EZ-PD Type-C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhilash-san,
Sorry for the late reply.
Your answer was very helpful to me.
Regards,
Hidekazu Omoi