Dec 15, 2008 #1 R reven Newbie level 6 Joined Dec 4, 2008 Messages 14 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,371 clock init problems i am using a renesas m306n4fggp uC and i have set the following setting in order to initialize the main clock: PRCR |= (1<<PRCR_PRC0); cm0 &= ~(1<<CM0_CM06); cm0 |= (1<<CM0_CM04); cm0 &= ~(1<<CM0_CM03); cm1 &= ~(1<<CM1_CM15); cm0 &= ~(1<<CM0_CM05); cm1 &= ~(1<<CM1_CM11); cm2 &= ~(1<<CM2_CM21); cm0 &= ~(1<<CM0_CM07); plc0 &= ~(1<<PLC0_PLC01); PRCR &= ~(1<<PRCR_PRC0); the problem is that i dont want any divition and still got /8 division with these settings. do i have to set anything else or there must be a different order so that changes take place?
clock init problems i am using a renesas m306n4fggp uC and i have set the following setting in order to initialize the main clock: PRCR |= (1<<PRCR_PRC0); cm0 &= ~(1<<CM0_CM06); cm0 |= (1<<CM0_CM04); cm0 &= ~(1<<CM0_CM03); cm1 &= ~(1<<CM1_CM15); cm0 &= ~(1<<CM0_CM05); cm1 &= ~(1<<CM1_CM11); cm2 &= ~(1<<CM2_CM21); cm0 &= ~(1<<CM0_CM07); plc0 &= ~(1<<PLC0_PLC01); PRCR &= ~(1<<PRCR_PRC0); the problem is that i dont want any divition and still got /8 division with these settings. do i have to set anything else or there must be a different order so that changes take place?
Dec 28, 2008 #2 Gomez Full Member level 2 Joined Feb 12, 2002 Messages 125 Helped 10 Reputation 20 Reaction score 3 Trophy points 1,298 Activity points 1,006 Re: clock init problems Could you post register values after initialisation for CM0,CM1,CM2,CCLKR ? Gomez
Re: clock init problems Could you post register values after initialisation for CM0,CM1,CM2,CCLKR ? Gomez