A96G150 User's manual
21. Memory programming
301
EEPROM write mode
①
Enable program mode.
②
Reset page buffer. FEMR: 0100_0001 FECR:0000_0010
③
Select page buffer. FEMR:0100_1001
④
Write data to page buffer.(Address automatically increases by twin.)
⑤
Set write mode. FEMR:0110_0001
⑥
Set page address. FEARH:FEARM:FEARL=20’hx_xxxx
⑦
Set FETCR.
⑧
Start program. FECR:0000_1011
⑨
Insert one NOP operation
⑩
Read FESR until PEVBSY is 1.
⑪
Repeat step2 to step 8 until all pages are written.
EEPROM page erase mode
①
Enable program mode.
②
Reset page buffer. FEMR: 0100_0001 FECR:0000_0010
③
Select page buffer. FEMR:0100_1001
④
Write ‘h00 to page buffer. (Data value is not important.)
⑤
Set erase mode. FEMR:0101_0001
⑥
Set page address. FEARH:FEARM:FEARL=20’hx_xxxx
⑦
Set FETCR.
⑧
Start erase. FECR:0000_1011
⑨
Insert one NOP operation
⑩
Read FESR until PEVBSY is 1.
⑪
Repeat step2 to step 8 until all pages are erased.
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...