What are the steps to implement ADC in Dual mode for STM32L475?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-19 2:22 AM
There is no detailed procedure given in ref. manual to implement the dual-mode of ADC.
I have below doubts:
- Can I initialize the ADC1 and ADC2 individually and then configure the dual-mode related registers?
- Do I need to simultaneously all the configurations for ADC1 and ADC2 to configure the dual-mode ADC?
Implementing in two ways make sense. In one of our projects, 1st-way implementing causes issue and then implemented in a 2nd way then issue resolved. That's why I am asking this question.
Is there any example program for dual-mode ADC for STM32L475?? I tried but had no success.
- Labels:
-
ADC
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-19 6:54 AM
You can only write one register at a time, so there's no way to do them simultaneously.
You need to ensure the slave is ready to go when you start the master.
Here is an example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-19 8:08 PM
I found that one mistake is done. I have enabled both the ADCs and then dual-mode selection done but it violates the process recommended by ST as below screenshot. What could be the consequence of it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-19 8:22 PM
