cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476: how to select ADC & ADC channel the DAC is internally routed to ?

VDaanen
Associate II

Hello,

I'm planning to use a STM32L476 to acquire approx 150 analog signals. 

For some reasons, I have to periodically check the justness of the ADCs.

I read in the RM that it is possible to connect internally DAC to ADC but I can not figure out how to select on which ADC & ADC channel the DAC output is "routed" to.

Can someone point me to info related to this ?

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Aime
ST Employee

Hi @VDaanen​ ,

Thank you for sharing your request :) .

In fact the answer is in the RM (0351), section 18.4.11 "Channel selection (SQRx, JSQRx")

0693W00000Sv0GPQAZ.pngIt is mentioned that :

  • The DAC1 internal channel 1 is connected to ADC2_INP/INN17 and ADC3_INP/INN14
  • The DAC1 internal channel 2 is connected to ADC2_INP/INN18 and ADC3_INP/INN15

As indicated on the schemas that you can also find in the RM

0693W00000Sv0IkQAJ.png0693W00000Sv0J4QAJ.pngPlease find in attached the document ;) .

Best regards,

A.MVE

View solution in original post

3 REPLIES 3
RomainR.
ST Employee

Hello VDaanen 

According STM32L47xx RM0351 Rev 9, chapter 18 ADC, page 509 and 510.

Non Bufferized DAC1 and DAC2 channels are internally connected in single-ended to

  • ADC2 IN17 and IN18.
  • ADC3 IN14 and IN15.

Here the link:

https://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM00083560.pdf/files/DM00083560.pdf/jcr:content/translations/en.DM00083560.pdf

Regards.

Romain

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Aime
ST Employee

Hi @VDaanen​ ,

Thank you for sharing your request :) .

In fact the answer is in the RM (0351), section 18.4.11 "Channel selection (SQRx, JSQRx")

0693W00000Sv0GPQAZ.pngIt is mentioned that :

  • The DAC1 internal channel 1 is connected to ADC2_INP/INN17 and ADC3_INP/INN14
  • The DAC1 internal channel 2 is connected to ADC2_INP/INN18 and ADC3_INP/INN15

As indicated on the schemas that you can also find in the RM

0693W00000Sv0IkQAJ.png0693W00000Sv0J4QAJ.pngPlease find in attached the document ;) .

Best regards,

A.MVE

Aime
ST Employee

Hi @VDaanen​ ,

Please let me know if you need more support for my side ;) .

Otherwise if I gave you the right answer, select my answer as the best so that will help the others members to find the thread.

Best regards,

A.MVE