aduc841 eeprom

Document created by analog-archivist Employee on Feb 23, 2016
Version 1Show Document
  • View in full screen mode

How to configure ADUC841 to write and read external EEPROM


>Config CFG841 = 1 won't influence EEPROM, but will influence the stack.
>The default value of CFG841 is 10H, then the stack rolls over from SPH/SP =
00FFH to 0100H.
>But you config CFG841 = 1, then stack rolls over from SP = FFH to SP = 00H, so
the stack maybe overflow, then influence your internal XRAM and the program
maybe out of control.
>Try to config CFG841 using this instruction CFG841 |= 1; Please let me know if
you have any further questions.