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.
RoFr_4201436
Level 3
Level 3
50 sign-ins 25 sign-ins 10 replies posted

So, i'm trying to make a program with a OpAmp, but i don't know if i doing this program correctly. How to use the OpAmp in the code, i mean, how to start the OpAmp of the correct way. Please, look my code.

I'll leave my program in the attachment.

0 Likes
1 Solution
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

You can start the Opamp_1 instance by calling Opamp_1_Start()  you don't need to call Opamp_1_Init()

As well as the Opamp_1, you also don't need to call ADC_Init()

ADC_Start() is enough.

Regards,

Noriaki

View solution in original post

0 Likes
2 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

From your project schematic, the circuit could achieve "Vout=2*Vin".

Could you tell us the actual test result in your test platform?

0 Likes
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

You can start the Opamp_1 instance by calling Opamp_1_Start()  you don't need to call Opamp_1_Init()

As well as the Opamp_1, you also don't need to call ADC_Init()

ADC_Start() is enough.

Regards,

Noriaki

0 Likes