2022-06-01 12:42 AM
Hello, I'm driving LED driver chip (MAX16836ASA+) with PWM output of microprocessor STM32F303CB.
The issue: When turn the Power supply ON, LEDs blinked for a few moments (milliseconds).
I assume that the PWM giving some output values (not zero) before the microprocessor is fully set and start operating.
Is there any options How to set PWM that default state is Zero (between Power Supply ON and microcontroller normally operating state)?
Thank you a lot,
Domen
2022-06-01 03:54 AM
Which pin?
Most of the STM32 pins are high-impedance (Input or Analog, in case of 'F3 Input) after reset. You have to ensure externally the required level, i.e. if the LED driver's input has pullup and you want the signal to be low, you have to add an external pulldown.
JW
2022-06-01 04:30 AM
Thank you for your message.
I'm using PIN 10 (PA0, TIM2_CH1).
I already have an pull-dowm resistors.
2022-06-01 06:16 AM
That should be then OK from the STM32 side.
This may be inherent problem of the LED driver. Try to disconnect it from STM32 and switch off/on - does it still blink?
JW
2024-01-23 02:31 AM
Is there any update? Same problem for me. Pull-down resistors did not solve the problem.