Skip to main content
Nuser
Associate II
Oct 24, 2019 11:20 AM UTC
Solved

Nucleo-L432KC : Generated Code Will Not Compile ADC_CHANNEL_DAC1CH2_ADC2

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.
Mike_ST
Mike_STBest answer
ST Technical Moderator
Mar 1, 2021 1:57 PM UTC

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. 

5 replies

Nuser
NuserAuthor
Associate II
Mar 1, 2021 10:48 AM UTC

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
Visitor II
Mar 1, 2021 11:29 AM UTC

Hi Nuser,

Can you please share your .ioc file ?

Best Regards,

Ons.

Nuser
NuserAuthor
Associate II
Mar 1, 2021 1:04 PM UTC

Of course, it is attached.

Mike_ST
Mike_STBest answer
ST Technical Moderator
Mar 1, 2021 1:57 PM UTC

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
Visitor II
Mar 2, 2021 2:38 PM UTC

Hi Nuser,

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

Best Regards,

Ons.