DT>> I've never seen a serial EEPROM with a 256 byte page buffer.
Can't say that anymore ... 25AA1024
> So I beleive sending the page to the eeprom takes roughly ~ (1+3+256)*8*100 ns = 208Us
Even using the MSSP module, you can't do SPI at full 10mhz. But I'm assuming you're using SHIFTOUT, which AT BEST (40mhz OSC) will run at about 500khz clk, which is 2us ea.
(1+3+256)*8*
2us = 4160us
But don't count on that, because there's additional overhead involved too like retrieving bytes from the array.
With data as slow as 9600 baud, more than 4 bytes could be received during that time.
At 38400 baud it would be 16 bytes.
<br>
Bookmarks