PSoc5 5LP: manually routing pins. What's the maximum?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ricardoquesada
Level 4
Level 4
First solution authored 50 sign-ins 25 replies posted

Hi,

I'd like to use PSoC5 as a kind of "bridge". I want to route some pins  with other pins. This is going to be a 1-to-1 connection. And it is going to be bi-directional. And the routing-map will be defined in runtime... (UPDATE: if it is not possible to do it in runtime, then "offline" is good too).

For clarification purposes, let's assume that I have 8 GPIOs:  A1, A2, B1, B2, C1, C2, D1, D2. I'd like that A1 be routed to A2, B1 to B2... etc.  But this info is not hardcoded. I should be able to change in runtime.

 

My questions are:

 - What's the best way to achieve  this? DSI?

- What's the maximum number of connections that I can do? Can I do a 28 x 28 routing-map?

Thanks!

 

[This is a follow up of this question: https://community.cypress.com/t5/PSoC-5-3-1-MCU/PSOC5LP-DSI-manual-routing-for-32x32-mux/td-p/183433  ]

 

0 Likes
1 Solution

ricardo,

...digital... Too bad.   Analog bi-directionality with AMUX control is easier. (Analog has it's own issues.)

You can DMUX digital ins to digital outs with runtime switching changes.

The major issue is that you want bi-directionality.   This is a BIG problem.

To achieve bi-directionality you need to control of the Output Enables (OE) for each of the outputs and synchronize it with your digital protocol.

Recommendation:  The PSoC can provide DMUXing in one direction without too much problems.  It can also provide bi-directionality control to much smaller number of GPIOs.  (You'll run out of UDBs quickly).

There are commercially available bi-directional DMUX switches.  This is probably your best and lowest-cost choice for larger matrixes.  You can use the PSoC5 for control of the DMUX and other functions.

These commercial switches are used in ETHERNET switches, routers, Digital telephony equipment, etc...

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
7 Replies