Design and Programming Checklist for for PSoC® 3/ PSoC 5LP – KBA208166

Version: **

 

Question:

 What are the minimum connections to do for designing PSoC 3/ PSoC 5LP board to program it properly with MiniProg3? 

 

Answer:

Ensure the following with your PSoC 3/ PSoC 5LP designs before you program the project. Fig 1 shows the connections of all voltages (VDD, VDDD, VDDA, VDDIO0 to VDDIO3) and ground (VSS) pins.

  • Both the VCCD pins of PSoC 3/ PSoC 5LP are shorted together with the minimum trace length possible.
  • All the voltage (VDDIO) pins are connected to the capacitance as shown in Fig 1. And capacitance (0.1 µF) should be very close to PSoC 3/ PSoC 5LP VDDIO pins.
  • The 1-µF capacitor is connected near to the main power supply (VDDD and VDDA).
  • VDDD is always be less than or equal to VDDA; that is, VDDD ≤ VDDA.
  • VCCD and VCCA are outputs of PSoC 3/ PSoC 5LP internal regulator. Supply the voltages to all VDDIO, VDDD, and VDDA pins.
      Make sure that VCCD and VCCA voltages are at 1.80 V.


Fig 1: Voltage and Ground Connections for PSoC 3/ PSoC 5LP Device

1) For programming the PSoC device with MiniProg3 using the SWD protocol, ensure the following connections. SWD protocol can work with 5-pin connector as well as with 10-pin connector of MiniProg3.

  • P1[0] of PSoC 3/ PSoC 5LP should be connected to the SDWIO pin of MiniProg3.
  • P1[1] of PSoC 3/ PSoC 5LP should be connected to the SDWCK pin of MiniProg3.
  • Ground of both PSoC 3/ PSoC 5LP and MiniProg3 should be interconnected
  • There are two modes of Programming the PSoC 3/ PSoC 5LP device:
      Reset Mode: 
        
    • You can supply power to PSoC 3/ PSoC 5LP using an external power source or from the MiniProg3 programmer.    
            
      1. If powered from external power supply optionally: Connect the VTARG pin of MiniProg3 to PSoC 3/PSoC 5LP power pins.
      2.     
      3. If powered from MiniProg 3: Connect the VTARG pin of MiniProg3 to PSoC 3/ PSoC 5LP VDDD, VDDA and VDDIO1 pins. Another option is to provide power to all VDD pins using MiniProg3.
      4.    
        
    •   
    • Connect the XRES pin of MiniProg3 to the XRES pin of the PSoC device.
          If your device does not have the XRES pin, connect the XRES pin of MiniProg3 with P1[2] (Configurable Reset) pin of PSoC 3/ PSoC 5LP, and enable the configurable XRES pin option in PSoC Creator project in System tab in CYDWR file.
    •  
      Power Cycle Mode:  
        
    • This Mode will only work with Rev *B version of MiniProg3 (Version is available on white sticker on MiniProg3)
    •   
    • Do NOT provide an external power supply to the PSoC device in this Mode. This mode will only work if MiniProg3 supplies power to the PSoC device.
    •   
    • It is optional to connect XRES pin of MiniProg3 with XRES pin of PSoC3/5.
    •   
    • Connect the VTARG pin of PSoC3/5 with VDDD, VDDA and VDDIO1. Or you can provide power to all VDD pins using MiniProg3.
    •  
      

    Note: VDD here means all power pins like VDDD, VDDA, VDDIO0, VDDIO1, VDDIO2, and VDDIO3.

2) For programming it with MiniProg3 using the JTAG protocol, make the following connections. All points specified for SWD protocol are valid for the JTAG protocol also.

  • Connect TDO pin of MiniProg3 with P1[3] of PSoC3/5.
  • Connect TDI pin of MiniProg3 with P1[4] of PSoC3/5.

 

For more information, see the schematic of CY8CKIT-030 available at http://www.cypress.com/documentation/developmentkitsboards/cy8ckit-030-psoc-3-development-kit.