You are here

error regarding pins | Cypress Semiconductor

error regarding pins

Summary: 16 Replies, Latest post by Bob Marlowe on 01 Feb 2016 02:27 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
vgy
user_214919094's picture
User
137 posts

 Terminals "Clock.clock_out" connected to signal "Net_75" have mismatching types.

i got this error while i connected clock source to anolog pin. what is way to out of this error

Regards

Rajendra

H L
user_460349's picture
User
1362 posts

I think it is better to upload your project here so we can see what is the problem.

user_1377889's picture
User
10803 posts

Probably a clock is a digital signal and could not be connected to an analog I/O-pin.

 

Bob

hli
user_78878863's picture
User
2759 posts

You cannot connect analog to digital nets. But you can set your clock to be in the analog domain: just go to it's 'advanced' configuration, and set 'force clock to be analog clock'.

But why do you need a clock as analog output?

user_1377889's picture
User
10803 posts

@hli

I am afraid that an "Analog Clock" still is a digital signal, but residing in the analog domain. So there is still the problem of connecting a digital signal to an analog pin.

 

Bob

hli
user_78878863's picture
User
2759 posts

A clock is by nature digital, yes (there is no native sine-wave generator in the PSoC). That's why I was asking for the reason to connect it to a analog pin. But I see no problem to connect a digital signal to an anlog pin - it just uses only a sub-set of the allowed values of the analog domain.

user_1377889's picture
User
10803 posts

As I said earlier: You may not connect a PSoC internal digital signal to an analog pin, you'll get an error immediately.

 

Bob

So what do i have to do just to see the signal of a non-inverting op amp. 

Attachments: 
user_1377889's picture
User
10803 posts

Your resistors are not on the PSoC, but are external components. They can only be connected to pins.

Activate for the pins "External Connection"

All blue colored objects/lines are external.

 

Bob

Attachments: 

Thank you I have made the schema as you told me and I put 2 resistance to have a gain of 3. But I don't have the expected result. 

I don't have a clean signal. I put on the ground of the Psoc on the turntable too . If we saw the oscilloscope we have a gain of 250. Before resistors i've match the external terminal. I don't know what i can do 

user_81899650's picture
User
19 posts

prp,

 

Can you throw some light on why do you need to route a clock output (square wave - digital signal) to an analog pin? I personally cound not think of a good reason why someone would want to do that.

 

Regarding the error, Creator will disable the digital input and output paths of a GPIO if you place an analog pin on Top Design. Therefore, there is no way to route a digital signal to the pin using the analog routing path which is the only remaining route. This is why the error appears.

 

However,  for whatever reasons, if you want to route a clock to an analog pin, you would just need to enable the  'Digital Output' checkbox in the pin configuration along with the 'Analog' chekchbox. This will give you two terminals: an analog terminal and a digital terminal. You can then hook up the clock output to this digital terminal and the analog terminal is still free to be routed to any of the internal analog resources. I've tried that out and builds just fine for me. Snapshot attached.

Log in to post new comments.