For a current project I've designed a multiplexed LED Display Board. The prototype you can see on the picture below.
![Smiley :)](https://www.eevblog.com/forum/Smileys/default/xsmiley.gif.pagespeed.ic.R8GFI-pF6f.png)
![](http://farm6.staticflickr.com/5514/9672186202_57469404d3_c.jpg)
Everything works just fine. But there is a thing that bothers me and that's the switch off of the highside P-Channel Mosfets. They switch on sharp an clean, but switch off really weird. Although the Gate voltage is the same as the voltage at the source of the MOSFET, it doesn't switch off as expected. The voltage on the Drain of the MOSFET pretty much declines like a capacitor beeing discharged.
![WTF? :wtf:](https://www.eevblog.com/forum/Smileys/default/wtf2.gif.pagespeed.ce.pxLiY5pjs4.gif)
Here is the scope- image (note that the waveform is -2.12V offset and display is blank)
![](http://farm4.staticflickr.com/3689/9668955569_1cf8b7cdbf_o.png)
The gate waveform is really clean (note that the waveform is -2.12V offset and display is blank):
![](http://farm8.staticflickr.com/7364/9668955479_cc0fefd0c8_o.png)
Now if I switch on all segments on the display (display test) and then measure the drain of the MOSFET the waveform looks even ugglier.
![](http://farm3.staticflickr.com/2838/9672261974_89501ae565_o.png)
Short description of my hardware Setup:
- The gates of the MOSFETs are switched on/off via a 74HC595 Shift register
- I use 7- and 16- segment LED Displays with a common anode.
- the cathodes of those Displays are connected to the outputs of the SPT16CP05 constant current shift registers.
- everything is powered with +5V
- MOSFETs used are IRML2246
Has anyone a idea what causes that weird behavior of the MOSFETs maybe the STP16CP05 devices play some role?