Mcu is S32R274
I want to write into the clock generator module ((MC_CGM) divider register values Via DMA to generate different frequencies. Specifically I want to write into register CGM_AC14_DC0(which is not byte or half word accessible). But I want to write only into the CGM_AC14_DC0.DV0 value(which is 7 bit). As the neighbor bits are reserved. Can I use the 8bit address which corresponds to CGM_AC14_DC0.DV0 to write the divider values alone?
Will I get any kind of exception if I do so?
@
No, it is needed to use 32-bit write as reference manual indicates. Reserved bits are ignored during write.
Thanks for the reply. You are correct I cannot access byte (as document says)