# 25AA320A EEPROM byte write and page write

I need to write data into my external EEPROM 25AA320A using Attiny2313. I know how to write one byte at a time. For example, spieeprom_write (200, 7); with 200 being the starting address on EEPROM, and 7 is the data i want to write into the EEPROM.

my questions are: 1. what is the next address that i can write to? 2. is 7 considered to be a byte? 3. how do i perform a page write? I know one page is 32 bytes for my EEPROM.

Thanks, it would be great if you can provide some examples.

• What is spieeprom_write()? Nov 5, 2013 at 4:43
• spieeeprom_write() is a function that performs the write to EEPROM instruction. I need to feed it with address and data. Nov 5, 2013 at 17:34
• Okay. But it's obscuring the answers to 1 and 3. Nov 5, 2013 at 17:35