I2CWRITE runs at about 200Khz, and sending a command involves at least 2 bytes (address + data). I2CWRITE has a short delay between bytes as well. Your actual throughput will be about 150 Kbits/sec = 15 Kbytes/sec = 66 uSec per command. 5 chips = 5* 66 = 330uSec. One half-cycle in Spain (I assume 50Hz) takes 10 mSec. That is 180/10 = 18 degrees per mSec or 6 degrees every 330 uSec. Once you fire the SCRs/TRIACs, you can turn them off at any time before the end of the half-cycle, since the SCRs/TRIACs will keep things going until the next zero crossing.
Keep in mind that at the above rate, your PIC will be running "flat out" and will have time to do NOTHING else. If you have background processing to do, you will either have to slow down the update rate or else use the PIC hardware to to the WRITE. And I always advocate using 18F chips and running them at 40Mhz.
Bookmarks