7 years, 11 months ago.

Beginner info mbed and ADC

Hi guys I'm a beginner with ARM MCU and I have two questions. I do have a Nucleo F446 and I've installed mbed-CLI to work with Visual Studio Code.

1) Does my board support mbed OS 5? When I install mbed-CLI which version of the OS am I using? Could you please explain what's the difference of using mbed over for example libopencm3?

2) I'm planning to use my Nucleo board for a mini project with a friend of mine. He told me that we need a specific feature regarding the internal ADC. Basically when an ADC conversion is done a method in the code should be triggered; is this featured implemented in one of the mbed library that I have on my computer from the installation of mbed-cli? Do we have API to actually set the settings for ADC and DAC for my MCU?

Thanks in advance!

1 Answer

7 years, 11 months ago.

Hello Vincenzo,

Related with the ADC, I would recommend to beging with this example: https://developer.mbed.org/teams/ST/code/Nucleo_read_analog_value/

Best regards.