You are here

Staring Components | Cypress Semiconductor

Staring Components

Summary: 16 Replies, Latest post by Bob Marlowe on 31 Jan 2013 01:18 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
zabc's picture
User
17 posts

Hi, i have a problem with a opamp:

when i don't starting the amp with "opam_start();" in my initialization function there's no problem and it works fine,

but if i do including the "opam_start();" the amp don't works. Which components do i have to start explicit with..._start() and which starts automatically?

Thank you

Im using the Creator 2.1 Pack 4.

user_14586677's picture
User
7648 posts

I tried this, and start is required.

 

You typed "opam_start();", is your Opamp component named opam, or

is it named "Opamp" or is it named "Opamp_1" ?

 

The start commands would look like (associated with above names) -

 

opam_Start();

Opamp_Start();

Opamp_1_Start();

 

Capitaization matters.

 

Regards, Dana.

zabc's picture
User
17 posts

Thanks,

but it seems that this is not the problem. Shouldn't the complier gives a error message, if i do mistakes like this?

Which Konfiguration has the opamp (and other components too) if i dont start him explicit (with..._Start();),

because then it runs quit good!? I could leave it like this but it concerns me a little bit.

user_1377889's picture
User
10803 posts

Most analog  modules and half the digital ones need a Start() - command. Best is to peep into the datasheet, section APIs where the initially necessary calls are listed first.

 

Bob

user_1377889's picture
User
10803 posts

Modules that need a Start() are not working correctly as long as they are not initialized. Their default state is powered off. When you mis-spelled an API you will be informed by the compiler, as you said.

To give us the chance to check your complete settings will you please use the "Create Workspace Bundle" (minimal) and upload the resulting archieve here. This may clarify everything for us.

 

Bob

zabc's picture
User
17 posts

hmm , for me it seems like the opamp is only starting when i add no API-code, if i a add the code he do nothing?

zabc's picture
User
17 posts
zabc's picture
User
17 posts

The "Trigger " is for flashing an LED, on the opamp is an photodiode - it works fine untill i uncommend line:

    //Mess_Opamp_Start();    //Here's the Problem!?

Thanks for help

user_1377889's picture
User
10803 posts

The inside of the PSoC looks OK.

what is connected to the 3 pins, any feedback on the OPA1-pins externally?

 

Bob

user_14586677's picture
User
7648 posts

Looks like you are going to use OpAmp for a TIA, so why not use a TIA from Creator ?

 

 

 

 

 

Regards, Dana.

user_14586677's picture
User
7648 posts

Note, you may be able to take enough G in TIA to eliminate PGA, which would

enhance noise performance as well.

 

Regards, Dana.

Log in to post new comments.