- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi community, currently I am using the PSoC 5LP Prototyping Kit and its UART Module to send characters through serial port to my PC and checking the characters in Termite, the question is: If I cut in two pieces the PSoC5 LP stick, I mean, if I separate the KitProg and the Target Device away and connected the 5 middle pins (SWDIO, SWDCLK, RESET, GND, VTARG) with wires, could I be able to continue using the Termite terminal in my computer once separated? Or am I going to lose that feature?
I hope you understand, my respects Julian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Julian,
As pacr_284376 and BiBi_1928986 indicated, breaking the two boards apart you will lose the UART function since those signals (P12.7 Tx and P12.6 Rx) cross over between the boards but are NOT apart of the 5 signals in the header.
As indicated, these signals can be restored by placing wiring on the header locations on the edge of the boards.
Here is a picture of the 059 board and the minimum needed connections in RED.
If you're going to separate the two boards (which I do on a regular basis). I then place code on the target board to use the board's USB port using the USB_UART component. This would allow you to use Termite with this port without needing the extra connections listed above.
If you're not familiar with coding the USB_UART component in project, I've provided a new component called "Term". It has two advantages. I uses the standard UART API calls that you already use on your current project (little to no code changes). It also allows you to change which type of UART comm port to use at design time. In other words, you can chose the standard UART or the USB_UART.
Here is a link to the archive of Term component code you can use in your project.
Terminal-Support-Component-Library
Go to the very bottom of the thread. It has the latest official release (v1.4).
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are more signals lines than the signals on those headers at the breakpoint. But you can 'restore' them via extra wire bridges. See CY8CKIT-059 diagram for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JulianLBTK ,
Yes, it should work and You will not lose that feature.
I executed a program by connecting kitprog separately with the 5 middle pins (SWDIO, SWDCLK, RESET, GND, VTARG) of CY8CKIT-059 PSoC 5LP has CY8C588LTI-LP097 MCU and I am able to view the data on the Serial terminal.
Thanks and regards,
Sidramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sidramesh.
Can you provide details of how you changed SWD signals into UART TX/RX signals?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @BiBi_1928986 ,
In that response, I have provided a partial solution which created confusion. I also made the below connections along with SWD signals.
Kitprog Target
12.7 TX --> 12.6 RX
12.6 RX <-- 12.7 TX
Regards,
Sidramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Yes, you can snap off Kitprog from KIT-059 and still have access to UART feature. The 5 thru-holes (where you snap the board off) are for SWD programming. You can put headers in these holes for re-attaching to the target 5LP when needed.
For restoring the UART function, make the following connections along the edge of circuit boards:
Kitprog Target
12.7 TX --> 12.6 RX
12.6 RX <-- 12.7 TX
GND ---> GND
Vtarg ---> Vtarg
Good luck with your project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Julian,
As pacr_284376 and BiBi_1928986 indicated, breaking the two boards apart you will lose the UART function since those signals (P12.7 Tx and P12.6 Rx) cross over between the boards but are NOT apart of the 5 signals in the header.
As indicated, these signals can be restored by placing wiring on the header locations on the edge of the boards.
Here is a picture of the 059 board and the minimum needed connections in RED.
If you're going to separate the two boards (which I do on a regular basis). I then place code on the target board to use the board's USB port using the USB_UART component. This would allow you to use Termite with this port without needing the extra connections listed above.
If you're not familiar with coding the USB_UART component in project, I've provided a new component called "Term". It has two advantages. I uses the standard UART API calls that you already use on your current project (little to no code changes). It also allows you to change which type of UART comm port to use at design time. In other words, you can chose the standard UART or the USB_UART.
Here is a link to the archive of Term component code you can use in your project.
Terminal-Support-Component-Library
Go to the very bottom of the thread. It has the latest official release (v1.4).
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I really appreciate you guys for giving me a bit of your time, thanks to all of you for the inmmediate answers. My respects, Julian.