cancel
Showing results for 
Search instead for 
Did you mean: 

PLC01A1 Example Code for Nucelo-F401RE

HMina.1
Associate II

Hello ST community, I recently bought a PLC01A1 expansion PLC board for my NUCLEO-F401RE and I am having trouble compiling the example code provided on the PLC01A1 website. After carefully integrating the code in STM32CubeIDE, I was prompted with the following error message "TIM6_DAC_IRQn' undeclared (first use in this function); did you mean 'TIM1_CC_IRQn". I checked the CubeMX (.ioc) file and TIM6 doesn't exist there. How can I run the example, and properly declare TIM6?

I very much appreciate the community help in advance, looking forward to hear a response from you.

This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Sara BEN HADJ YAHYA
ST Employee

Hello @HMina.1​ ,

Could you please share your ioc file and specify the CubeMX version?

Thanks,

Sara.


In order 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.
HMina.1
Associate II

I apologize for the late response, I am using STM32CubeIDE Ver 1.7.0, per your request I attached the .ioc file to this answer.

Thanks for the help!

Sara BEN HADJ YAHYA
ST Employee

Hello @HMina.1​ ,

Could you please specify which example are you using and from where exactly did you download it?

Thanks,

Sara.


In order 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.
HMina.1
Associate II