- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Do SWDIO and SWDCLK for PSoC4/4S/4A need external pull-up resistors in case of the mass production?
And What ohms do you recommend?
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yocchi,
SWD lines (SWDIO and SWDCLK) are usually using for FW programming and debugging with PC.
In addition, when you program or debug with PC, MiniProg3 or TT-Bridge is necessary for its connection that external pull-up registers are mounted on this kit already.
So, in mass production (or FW development), SWD lines do not need to mount external pull-up resistors.
Thanks,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Brandon-san,
Thank you for your reply.
What is this kit?
I am thinking that the circuit is own.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yocchi-san,
For programming, PSoC needs MiniProg3 kit to connect between PSoC and PC.
Please refer below link for MiniProg3.
CY8CKIT-002 PSoC® MiniProg3 Program and Debug Kit
Thanks,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Brandon-san,
I know what you mean.
But, I tell you because it runs without the debugger(miniprog3) as a product.
Do you know what I mean?
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yocchi-san,
You mean the host processor(or external processor) will program the PSoC4 without MiniProg3?
Thanks,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Brandon-san,
No, the application software of PSoC4/4S/4A is running with no connection to SWD.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yocchi-san,
Yes, application software (I said FW) is running with no connection to SWD. SWD lines are used only for programming and debugging.
Then, why do you consider the external pull-up resistors in mass production? I'm really eager to know what is your problem.
Thanks,
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are 3rd party companies that build devices for mass-production of boards with the PSoC programmed on all of the boards simultaneously to speed up production times. See here: Device Programmer System Partners
Otherwise, all you need for programming the device is to have the SWD pins connected to a programmer (like the Miniprog3), power the board (Miniprog3 has the option to power the board through the SWD pins), and then program the FW image you want on the board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Brandon-san,
SWDCLK is input and SWDIO is input/output.
If the application of PSoC4/4S/4A is running, may we leave input and input/output pin without pull-up or pull-down?
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you may the pins without the pull-up or pull-down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your reply.
Why do not we need to input pull-up or pull-down resistor?
Are there pull-up or pull-down internally?
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the SWD are unconfigured during reset, and the SWD protocol resets the chip to achieve the changed pin state for communication to work. This would be an internal pullup (or no pullups) when the SWD acquires the device. It is all listed in the technical reference manual: http://www.cypress.com/file/126171/download
The pins are set to the pullup/Hi-z/strong drive internally by the chip during the SWD acquire procedure, which is why the pins can be reused for GPIO when not programming. The pin uses a 100k ohm pullup on the data line (not sure if the other pins use any pullups).