Skip to main content
Nuser
Associate II
October 24, 2019
Solved

Nucleo-L432KC : Generated Code Will Not Compile ADC_CHANNEL_DAC1CH2_ADC2

  • October 24, 2019
  • 5 replies
  • 1193 views

Requesting "VDAC1_OUT2 Channel" on ADC IN18 causes the .ioc file to generate the following line:-

 sConfig.Channel = ADC_CHANNEL_DAC1CH2_ADC2;

which doesn't compile, I think it should be:-

 sConfig.Channel = ADC_CHANNEL_DAC1CH2;

This topic has been closed for replies.
Best answer by Mike_ST

Thank you for the report, Ticket entered.

5 replies

Nuser
NuserAuthor
Associate II
March 1, 2021

This issue is still not fixed as 01-MAR-2021. IDE V 1.6.0 and FW Package STM32L4 1.17.0

There is no ADC2 in the chip!

Ons KOOLI
Associate
March 1, 2021

Hi Nuser,

Can you please share your .ioc file ?

Best Regards,

Ons.

Nuser
NuserAuthor
Associate II
March 1, 2021

Of course, it is attached.

Mike_ST
Mike_STBest answer
ST Technical Moderator
March 1, 2021

Thank you for the report, Ticket entered.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
Ons KOOLI
Associate
March 2, 2021

Hi Nuser,

Can you please mark this question as answered by Selecting the best answer?

Best Regards,

Ons.