Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question.

aduc841 eeprom

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.