KrisBlueNZ
Sadly passed away in 2015
Yeah, the Si2333DDS-T1-GE3 is one of those. But it's a P-channel MOSFET running from 5V and the signal is 3.3V/0V.
If you're talking about the switching time test circuit, this is not an application suggestion; it's the test setup for measuring the device's performance operating into a capacitive load. (A MOSFET gate is a capacitive load.) So they don't intend you to use a 470 pF capacitor in a practical application circuit.There is also a 470pF cap between outputs and ground. I don't have the latter cap on my circuit, would this be needed?? - seems like it might actually slow down rise/fall times on the outputs, probably something I'm missing.
Yes. I don't think you'll need them. One application circuit (in the Microchip data sheet) for an H-bridge shows no external components in the drive circuit for an N-channel MOSFET, but there is a series resistor with a diode across it in the drive for a P-channel MOSFET. This is probably done to prevent shoot-through (short overlapping conduction in both devices at the switching time), which is not relevant to your application. So I don't think you need any external components in this application.Also per the datasheet there is an output gate resistance between 10-15Ohms. Does this mean I can do away with the proposed gate resistors?
Right.I think that you are right on the delays, from reading other sites on led multiplexing ghosting can be an issue and creating a few mops delay between cube-off and latching the next data set in seems to be a cure.
Personally I would check the feasibility now, instead of going with an approach that may prove to be impractical for the final system. I would rather be confident from the start.Timing - rather than do a lot of calculations I'm cheating a bit with the timing. I've created an ISR where the update of the chips takes place. This ISR gets called and reset based on a timer variable. I've already got an update function working within the ISR for my three-chip/six-chip breadboard test. This will need to be expanded a little to cater for all 12 chips. I intend to gradually reduce the time variable (so the ISR gets called faster and faster), rerun the code each time and then check that the updated time still work at each reduction. At some point the time variable will be so small that there is not enough time in the ISR to do the full update and at this point I will have the ISR down to the minimum possible time to execute all its code.(this is kind of assuming that the code gets executed under the time for PoV in the first place).
It's only the limiting factor if you can clock the data out at more than 30 MHz using bit-banging. I wouldn't assume that an 80 MHz MCU can bit-bang SPI at 30 MHz. It will probably be a lot slower.Per an earlier point of yours the max update that the led driver chips can take is 30MHz which is less than the clock speed of the chipkit (80MHz) so that is the limiting factor.
If it turns out that an ISR written in C can do all the bit-banging with lots of time to spare, then that's fine.I'm writing the code in c. However instead of using standard in built functions I'm using direct port and register writing to update the chipkit pins eg SET/CLR/LAT and bitwise functions eg << and | to read/write and fetch data etc. I think that this is about as close to assembler I can get without actually writing it.
Wow, you're keen!I'm teaching myself programming as I go along which is why it took so long to get the ISR working but there is a good programming flowchart on the TI website for the TLC5940 which helps a lot and which I've used for the code I've written already. (I'm not a complete novice I used to be fairly proficient in Basic programming back in the day (BBC micro, ZX spectrum etc!!!!) and the principles aren't that different) Bit of a clue on a range of age for me there!!!!!
In the Electrical Specifications summary, the "Logic 1 input voltage" is specified as anything between 2.4V and VDD, the positive supply for the IC, so either option will work. I would leave them connected to VDD.One thing I did notice - the high inputs to the IC in my circuit are all hooked to the 5V supply. I think that they should be hooked to the 3.3V supply?? I will correct this when I revise the circuit later.
The P-channel MOSFETs are activated by a LOW voltage on their gates, so the inputs to the driver IC are active-high, not active-low.