- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From your project schematic, the circuit could achieve "Vout=2*Vin".
Could you tell us the actual test result in your test platform?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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