cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

 i make an INSAMP based on three ompamp as is shown in the figure below, so my question is how to make a code C for this    INSAMP ? thank you for answering 

0 Likes
Reply
4 Replies
Honored Contributor II

You just need to call the _Start() methods for all the components, anything else should be configured in the configuration dialog for them.

   

Btw: you can edit a posting, no need to create a new one.

0 Likes
Reply
Esteemed Contributor II

Although there are several APIs for the amplifiers you just need -as hli states- just to start them with the API. Only when you want to change any properties dynamically you will need some more programming.

   

Do not forget to insert an infinite loop in your main() since the amplifiers are pure hardware and when main() ends they will be re-initialized. Have a look at some examples which you can access by reight-clicking on the component and selecting "Find Example Project"

   

 

   

Bob

0 Likes
Reply
Esteemed Contributor

Do NOT make a INAMP with the PSOC PGAs as their G error/tolerance

   

is so poor you will wind up with very little CM rejection. Much better way is

   

to use 3 OpAmps and an external precision thin film R array for that purpose.

   

 

   

Do an error analysis and you will see just how bad that approach is.

   

 

   

Regards, Dana.

   

 

   

    

   

          http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.an...

   

 

   

Take a look at this, especially the LTC analysis -

   

 

   

    

   

          http://japan.cypress.com/?app=forum&id=2232&rID=46467

   

 

   

Regards, Dana.

0 Likes
Reply
Esteemed Contributor

Here is an analysis of why not to use PGAs in IA front end -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=2492&rID=82151

   

 

   

Regards, Dana.

0 Likes
Reply