Question
CubeMX for STM32F746-DISCO, TIM5 channel4 misleading generated code
Posted on February 27, 2016 at 01:00Using channel4 of TIM5 sets up ARDUINO_PWM_CS_D10_Pin where actually thesignal is on D5ARDUINO_PWM_CS_D10_Pin is defined as pin PI_0 which is the correct pin however.------------- so I am expecting generated code to be:in mxconstants.h&sharpdefine ARDUINO_PWM_D5_Pin GPIO_PIN_0&sharpdefine ARDUINO_PWM_D5_GPIO_Port GPIOIin tim.c /**TIM5 GPIO Configuration PI0 ------> TIM5_CH4 */ GPIO_InitStruct.Pin = ARDUINO_PWM_D5_Pin;---------- also TIM1_channel1 generated code attempts to use the D5 pin, it is likely to have the converse problem #stm32f746-cubemx
