We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello,
i'm working on the XC2267 of infineon. I have a problem to write in the sfr register of CC2_T78CON which have 0xFF20 as adress.
when I write CC2_T78CON = 0x4000; for example, with the debbuger the value of CC2_T78CON (with adress 0xFF20) is always 0.
when I force by debugger to write in this adress, the next step the content of CC2_T78CON is cleared.
is it a problem inside the chip?
thanks for your help
hi, I am not sure, maybe is it a problem with a protected register ?.?... Kindly regards Rainer
Without reading the datasheet for the specific chip: it is quite common to have write-only SFR, or to have one read-only and one write-only SFR sharing the same memory address.
What does the datasheet say about the specific register?
Hi,
In fact it's a problem with a protected register.
thanks for your help.
Momo