2 years, 7 months ago.
optical PID using ST nucleo l476rg
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?
You need to log in to post a question