Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
EEPROM AT25256 Exercise:<br />
Lab<strong>13</strong>_4:<br />
• Initialize <strong>McBSP</strong>-B in SPI-<strong>Mode</strong> forAT25256<br />
• Write data to EEPROM, if button PB1 (GPIO17) is<br />
pushed. Read the current value from Hex-Encoder<br />
(GPIO12…15) and store it into EEPROM-address<br />
•<br />
0x0040, bits 3…0.<br />
Read data from EEPROM-address 0x0040, when button<br />
PB2 (GPIO48) is pushed and display bits 2…0 at LEDs<br />
LD4 (GPOI49), LD3 (GPIO34) and LD1 (GPIO9).<br />
<strong>13</strong> - 39