The PWM signal that has passed through the level shifter(level converter) is not clear.
I'm using PWM with level shifter(BSS138, 74HCT14D, TXB0104) for developing IC embedded LED (such as WS2812)
However, when I captured this siganl using scope, I found that the signal was not clear.
Below are the pictures that I captured.
1. Before addition of level shifter

2. After additon FET level Shifter


3. 74HCT14 Level shifter

4. IC Level shifter (TXB0104)

Q1
One thing I curious about is that why IDEL signal is in High instead of LOW when using FET level Shifter?
When I tested FET level shifter using non-STM32(ESP32), the Idle signal was LOW, not Hi. It is a very weired situtation!
Q2
And also, according to BSS138 datasheet, T_rising is 18ns. However, in my case, It was longer than specification.

PS. I'm using PA0 Pin for PWM control with DMA
