- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I am in the process of making a board using the PSoC 3 chip.
I was using the schematics of the CY8CKIT-030 as a reference. In that design, there is a 10 pin header. My questions are as follows:
1) What are the connections needed for the chip to program & debug? In the reference schematic, they have:
p10 - SWDIO
p11 - SWDCK
p13 - SWO
p14 - TDI
These seem to be JTAG. I though miniprog 3 could do SWV/SWD which only required 2 pins? Please clarify.
2) Where can I find the female header to put on the board? I looked at Digikey, and they seem to be out of stock.
3) What should I do with the USB pins if I choose not to use them?
Thanks,
Alex
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For programming and debugging PSoC3 using SWD, following are the connections required between Miniprog3 and PSoC3 chip:
- SWDIO (P1[0])
- SWDCK (P1[1])
- XRES - Reset
- VTARG - Target Voltage(VTARG of Miniprog3 should be connected to VDDIO1 of PSoC3) - The SWDIO and SWDCK Pins are on the voltage quadrant corresponding to VDDIO1
- GND
For Programming and debugging via JTAG(4 wire):
- TMS P1[0]
- TCK P1[1]
- TDO P1[3]
- TDI P1[4]
For Programming and debugging via JTAG(5 wire):
- TMS P1[0]
- TCK P1[1]
- TDO P1[3]
- TDI P1[4]
- NTRST P1[5]
If you do not intend to use USB in your application, the USBIO pins P15[6] and P15[7] can be used as GPIOs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For programming and debugging PSoC3 using SWD, following are the connections required between Miniprog3 and PSoC3 chip:
- SWDIO (P1[0])
- SWDCK (P1[1])
- XRES - Reset
- VTARG - Target Voltage(VTARG of Miniprog3 should be connected to VDDIO1 of PSoC3) - The SWDIO and SWDCK Pins are on the voltage quadrant corresponding to VDDIO1
- GND
For Programming and debugging via JTAG(4 wire):
- TMS P1[0]
- TCK P1[1]
- TDO P1[3]
- TDI P1[4]
For Programming and debugging via JTAG(5 wire):
- TMS P1[0]
- TCK P1[1]
- TDO P1[3]
- TDI P1[4]
- NTRST P1[5]
If you do not intend to use USB in your application, the USBIO pins P15[6] and P15[7] can be used as GPIOs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the quick reply.
Is there a preferred method? I was thinking that the SWD/SWV method has a lower pin count and therefore might be more desirable. However, is there a debugging time cost to this (do data transfers/programming take longer)?
Thanks,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you do not require JTAG specific features like Boundry scan, JTAG chain programming, SWD is the recommended debug interface option. SWD is the debug interface from ARM intended to replace JTAG with lower pin count and no loss of performance or features.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SWD is the preferred interface for Programming and debugging. With PSoC3 SWD is a more Robust interface. Interms of timing, both the interface should take the sametime as long as the operating frequency is the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I need a help in designing a 32 channel data acquisition system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
U2's first illustration shows the SWD setup for miniprog3.
Can this configuration be used for capsense tuning as well?
Or are seperate pins need for I2C?
I connected P1[0,1] to P12[1,0] respectively on my target (no pull-ups). The tuner freezes quite a bit and the trouble seems to be I2C related.
Any ideas?
Thank you.
Bernie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please disregard previous post.
bc