- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Specifically, I'm trying to invert the output of a UART. I tried just adding an inverter to the output of the component but the synthesizer won't allow that. In general, it seems like component pins can only be connected to device pins. This seems like a major limitation so I'm wondering if I'm missing something here.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That will be possible if you use an UDB implementation of the UART. When using the SCB (fixed function blocks), you might be able to make it work using the SmartI/O block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I also would like to swap TX and RX pins on the logic side due to a layout mistake. I had no problem doing this in PSOC5 but PSOC6 doesn't seem to allow this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That will be possible if you use an UDB implementation of the UART. When using the SCB (fixed function blocks), you might be able to make it work using the SmartI/O block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But the SmartI/O block is only available on P8 and P9. If you are using other ports, it will not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I create a UDB uart?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could refer to the PSoC 4/5 UART UDB implementation. All the PSoCs have the same UDB architecture, so as long you have enough hardware resources, they should be portable from one PSoC to other, with a few changes.
Perhaps someone here in the community already did this work. Cypress also has plans to provide such component as well, but not any time soon. We actually recommend to use SCB for UART, since there are so many available in PSoC 6. But I understand your hands are tied, since you already finalized your hardware.