- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What device are we talking about (did not look at the schematics, I don't have eagle on my current machine - maybe you can attach a PNG).
The family data sheet for your device should tell you what pins are needed for JTAG (but SWD would be enough I think).
For SPI it depends on the component you are using. For the UDB-based SPI component you can route the pins to wherever it suits you on the PCB.
Whats about the analog connections you are talking about?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum
For creating a prototype or a proof-of-concept it is always advisable to use one of the development kits you can get from Cypress or your local distributor. In your case the CY8CKIT-042 for developing with the (smaller) PSoC4 or the CY8CKit-050 for the PSoC5LP family would be appropiate. All schematics of those kits (including the pinning for JTAG) are freely downloadable right now from the board-description websites.
Happy coding!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JTAG connection looks quite right. SPI is digital signal and can be routed all over the chip in a PSoC5. Analog out shouldn't be a problem either. Again: Get hands on a CY8CKIT-050 and build your project with it. You can be ready within a very short time and avoit any pitfalls.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MOSI, MISO and SS are all digital signals and as such can be routed to *ANY* GPIO pin on a PSoC5, regardless of your board acting as spi master or spi slave.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I renamed some pins for clarity, connected the slave select (ss) output to a pin, connected the reset input (not needed, but looks better) and spent you my inital main.c template.
Your translator program is a bit uncommunicative, try to use more words or the help of a kollegue.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Creator Start Page is an example project (Master or Slave or both) where you can
load and run for a basic approach -
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You mean you want to power the PSoC from an external port? or do you want to power the external SPI device from the PSoC (to turn it on and off)?