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.
6 years, 9 months ago.
AnalogIn convert time on Nucleo F303ZE, was 10us, now 40us!!
Hello, I had some old code compiled end of 2017 and the AnalogIn convert time was 10us, as measured by toggling a signal before and after the conversion:
pulse = 1; measure convert time, takes 10us per convert.
detector_vis_1[i] = ain0.read_u16();
pulse = 0;
But compiling it now the conversion takes 40us. Has the mbed library changed? Can I get back to the old conversion speed?
Also, can I go even faster than 10us?
I see there is a FastAnalogIn, but only for LPC, not ST. Sad.
Thanks!!
Ken
Hi Ken, I'll report this. You can change mbed lib revision to go back. It would help if you share what version are you using
posted by Martin Kojtal 24 Feb 2019Hi Martin, Thanks for reporting it. The mbed lib revision which has 10us conversion was rev 157, 11 Nov 2017. And the 40us was from yesterday, so rev 172. Thanks, Ken
posted by Ken Henderson 24 Feb 2019