Creator Route Error

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

cross mob
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

On PSOC 4 the below will not route. However if I make SAR 1 channel,

   

single ended, it routes successfully with an external mux. Seems like

   

this is a tool error ?

   

 

   

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Not a tool error afaik. There was a picture of the PSoC4 internals which showed that "the" AMUX was directly connected to the IO-pins and the other side was connected to the SAR. There is no difference when you provide your own channel-switching with your "own" AMUX or using the sequenced SAR and the internal AMUX (which is quite the same underlying hardware).

   

 

   

Bob

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I just realize what exactly you mean, you are expecting Creator to be able to drive a mix of AMUX and sequenced SAR which SHOULD be possible with the avail resources but is denied by the software. Only way out is: Use one OR the other.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

"Only way out is: Use one OR the other."

   

 

   

I am trying to establish if this is a Creator tool error. I will post a CASE,

   

I should have done that.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

The results from Tech Support -

   

 

   

The error you are facing is an expected behavior.

The SAR sequence ADC uses hardware amux and hence it expects inputs to sequence ADC come from analog pins(since hardware AMUX uses the switch at pin).

If you want to use an external AMUX, then you may configure the number of channels of SAR sequence ADC to 1 and have an AMUX (hardware or software) external to the ADC to multiplex the analog signals. This eliminates the routing problems.
 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Fast response from Tech support!!! Are you using a secret channel???  

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

No.

0 Likes