cancel
Showing results for 
Search instead for 
Did you mean: 

How to do operational amplifier function in ARM?

bfeixas
Associate II
Posted on July 20, 2010 at 19:58

How to do operational amplifier function in ARM?

1 REPLY 1
Andrew Neil
Chief II
Posted on May 17, 2011 at 13:59

''we are trying''

 

Who is ''we'' ?

''to make the mathematical function of one operational amplifier''

 

Why??! That seems a bizarre thing to do with an STM32!

 

Actually, you're not:  modelling just an op-amp would be simple - it'd be just a multiply.

You are trying to model the transfer function of a complete circuit - which just happens to include an op-amp.

Rather than try to model this in arithmetic, I think you'd be better to analyse the circuit, and then implement a corresponding digital filter.

Have you looked at the DSP library: 

http://www.st.com/mcu/familiesdocs-110.html

Or have you looked for an open-source SPICE-type application?