Conflicts with network and PWM on stm32f7 nucleo-144

2022-08-22 Thread Roberto Bucher
Hi I've configured a NUCLEO-F746ZG board with different devices: * PWM (TIM3 3xOutput) * QE * ADC * GPIO CONFIG_PWM=y CONFIG_STM32F7_PWM_MULTICHAN=y CONFIG_STM32F7_TIM3_PWM=y CONFIG_STM32F7_TIM1=y CONFIG_STM32F7_TIM1_QE=y CONFIG_STM32F7_TIM2=y CONFIG_STM32F7_TIM2_ADC=y CONFIG_STM32F7_TIM3=

Re: Conflicts with network and PWM on stm32f7 nucleo-144

2022-08-22 Thread raiden00pl
Do you use the default TIM3 outputs configuration from nucleo-144/include/board.h ? It uses PA7 as the TIM3 channel 2 output which is also used for RMII_CRS_DV. >From the nucleo 144 user manual: > 2. PA7 is used as D11 and connected to CN7 pin14 by default, if JP6 is ON, > it is also connected to

Re: Conflicts with network and PWM on stm32f7 nucleo-144

2022-08-22 Thread Roberto Bucher
This is my configuration: #define GPIO_TIM3_CH1OUT GPIO_TIM3_CH1OUT_2 #define GPIO_TIM3_CH2OUT GPIO_TIM3_CH2OUT_1 #define GPIO_TIM3_CH3OUT GPIO_TIM3_CH3OUT_1 #define GPIO_TIM3_CH4OUT GPIO_TIM3_CH4OUT_1 PA07 for PWM channel 2 is required by the Arduino Motor Shield, used to control an external m

Re: Conflicts with network and PWM on stm32f7 nucleo-144

2022-08-22 Thread Roberto Bucher
Exactly! The problem is there. Setting the PWM channel to #define GPIO_TIM3_CH2OUT GPIO_TIM3_CH2OUT_2 the problem disappears. I need this PA07 to connect the Arduino Motor Shield (Motor B)... I check the JP6, perhaps it solves the conflict. Thanks and best regards Roberto On 8/22/22 15:14

Re: Conflicts with network and PWM on stm32f7 nucleo-144

2022-08-22 Thread Nathan Hartman
On Mon, Aug 22, 2022 at 9:14 AM raiden00pl wrote: > Do you use the default TIM3 outputs configuration from > nucleo-144/include/board.h ? It uses PA7 as the TIM3 channel 2 output which > is also used for RMII_CRS_DV. > > From the nucleo 144 user manual: > > > 2. PA7 is used as D11 and connected t

Re: Conflicts with network and PWM on stm32f7 nucleo-144

2022-08-22 Thread Roberto Bucher
Today I test the possibility to exchange PA07 and PB05 as described here, be removing SB121 and closing SB122 solder bridges on the back of the nucleo board. https://os.mbed.com/teams/ST/wiki/Nucleo-144pins-ethernet-spi-conflict This an HW patch, but quite simple to be done. Roberto On 8/23/