Rainbow-electronics ATtiny15L Uživatelský manuál Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 83
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
61
ATtiny15L
1187EAVR06/02
Data Polling When a byte is being programmed into the Flash or EEPROM, reading the address
location being programmed will give the value $FF. At the time the device is ready for a
new byte, the programmed value will read correctly. This is used to determine when the
next byte can be written. This will not work for the value $FF so when programming this
value, the user will have to wait for at least t
WD_PROG_FL
before programming the next
Flash byte, or t
WD_PROG_EE
before the next EEPROM byte. As a chip-erased device con-
tains $FF in all locations, programming of addresses that are meant to contain $FF can
be skipped. This does not apply if the EEPROM is reprogrammed without chip-erasing
the device. In that case, data polling cannot be used for the value $FF and the user will
have to wait at least t
WD_PROG_EE
before programming the next byte. See Table 30 for
t
WD_PROG_FL
and t
WD_PROG_EE
values.
Figure 34. Low-voltage Serial Programming Waveforms
MSB
MSB
LSB
LSB
SERIAL CLOCK INPUT
PB2(SCK)
SERIAL DATA INPUT
PB0(MOSI)
SERIAL DATA OUTPUT
PB1(MISO)
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 82 83

Komentáře k této Příručce

Žádné komentáře