Max ADC speed with zerynth


Hey guys, I have a doubt, can anyone help me?

For example, the microcontroller STM32L476RG has an ADC that can reach 5Msps, if i use it with Zerynth virtual machine, when I use the python function the microcontroller will convert the analog signal at the full speed or is it needed another configuration?


Hi Wuerike,

Regarding the microcontroller, Zerynth, for now, does not support STM32L476RG based devices but seems it is an M4 Cortex from STM the porting is possible.

here you can find more info about the ADC module of the Zerynth Standard Library.

You can set the “samples_per_second” in the init() function and when you’re going to read the ADC channel with the number of samples greater than 1 (default parameter), the samples will be acquired at the set frequency (according to the microcontroller specifications).

Let me know if this can help you :slight_smile:



It was helpful, thank you.
I just wanted to know if zerynth allows use the maximum of a microcontroller.

I have other question, I’m a electrical engineer student and I wanna work as firmware developer, all I know its use PIC16 with the MikroC compiler, I’m not expert in C neither in Python, do you think I can be able to use Zerynth? Zerynth will be a real tool used for the industry? If I’m a begginer with microcontroller and if python, which way should I take to get an expert with Zerynth?

I know it seems kind of personal issues, but I wanna know it from someone who alredy knows Zerynth then I can make my onw choices about what e how study it.


Hi @Wuerike,

of course Zerynth is a valid tool for an engineer joining the Embedded Systems world: though we love to have and support a big community of makers and hobbyists, one of our main targets is the industrial use of our software which is already deployed in industrial scenarios.

Regarding your doubts for not being a C or Python expert: one of our goals is to lower the entry level for Embedded Systems, but in a way that does not create conflicts with the perception of Zerynth as a professional tool.

To be an expert in Zerynth, just like with lot of other fields, the best way is to practice: following our guides, articles and documentation and developing projects that we really appreciate to see shared on our community.

Let me know if you have other questions :slight_smile:


Guys, do you have some idea of when STM32L476RG will be supported by Zerynth?

I have a lot of these MCU’s here at my company and I’d like to have an experience with Zerynth.