How do I get a sharper off time curve on my Led driver output?
If you are trying to turn off the LEDs using SPI control then the stored energy in the buck converter’s inductor will take time to decay to zero. If you need a solution that turns the LED off quickly then you might consider a more direct method of simultaneously turning off using SPI and dumping that stored energy into a low value resistor using another MOSFET.