cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

Anonymous
Not applicable

Hi,

   

I'm trying to multiplex two analog signals inside the PSOC 5 to an output pin.  All implementations of the multiplexer say the only valid connection to the input is a GPIO signal.  Is there any way to accomplish what I am trying to do?  I've thought of running the signals out of the chip and then back in, but the board is already laid out.

0 Likes
1 Solution
Bob_Marlowe
Expert II

On the very first page of the datasheet is noted that the inputs for the AMuxHw MUST be GPIO-pins.

   

I'm afraid, you'll have to use an AMux or an AMuxSeq which may not be controlled with a signal but must be switched by CPU.

   

When the frequency is not too high I would suggest to use an interrupt and an Isr-component to switch inputs.

   

 

   

Bob

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Expert II

On the very first page of the datasheet is noted that the inputs for the AMuxHw MUST be GPIO-pins.

   

I'm afraid, you'll have to use an AMux or an AMuxSeq which may not be controlled with a signal but must be switched by CPU.

   

When the frequency is not too high I would suggest to use an interrupt and an Isr-component to switch inputs.

   

 

   

Bob

View solution in original post

0 Likes
ETRO_SSN583
Esteemed Contributor

Note there is a new option when starting Creator to get a new tab that looks at analog routing onscreen.

   

http://www.cypress.com/?rID=57718

   

 

   

You could use SW controlled muxes and use ISRs off HW triggers, the ISR in turn performs

   

writes to control SW mux. Some latency to consider.

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Esteemed Contributor

Looks like I "doubled" with Bobs reccomendations on this, not paying

   

attention.

   

 

   

Regards, Dana.

0 Likes