Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
optical PID using ST nucleo l476rg
Dear all,
currently I'm trying to set up an optical PID using ST nucleo l476rg. I'm reading an analog signal running few lines of code in order to compute a feedback and then sending it in output on the analogic port.
My problem is in the refresh speed of the analog output, my need is to reach tenths of KHz or better MHz.
As far as I understood my system now works correctly up to 1 KHz. What I would like to know is if there are some specifically (nucleo l476rg) optimized libraries I can use in my project in order to reach such speeds.
P.S. there is some way to monitor the computational time of every line of my code?
Regards.