INSAMP PSOC 5LP ?

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

cross mob
lock attach
Attachments are accessible only for community members.
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
4 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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