Please can someone point me to ADC sample code for an STM32 running Zephyr. Im using an STM32L476.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-20 11:33 AM
Hi, Im a newbie to ZEPHR and would like to test the ADC feature, I just want to be able to read the voltage level on an I/O pin. I have been unable to find sample code. Any help would be appreciated.
- Labels:
-
ADC
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-20 4:56 PM
It looks like Zephyr is an RTOS. Can't you just use the STM32CubeL4 examples to interface with the ADC? I guess the only interconnection between the two would be SysTick.
https://github.com/STMicroelectronics/STM32CubeL4/tree/master/Projects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 3:10 AM
Thank you for the link. I will have a look but was hoping that someone had already pulled together sample code with the appropriate overlay and prj files for Zephyr just to get me started.
