The microcontroller RX63N has a 16-bit timer named TPU2. Its peripheral clock is at 48MHz. 1. Calculate the minimum time
Posted: Mon May 09, 2022 7:35 am
The microcontroller RX63N has a 16-bit timer named TPU2. Its peripheral clock is at 48MHz. 1. Calculate the minimum time interval between overflow interrupts if the prescaler is /64. (5 marks) 2. Calculate the maximum time internal between overflow interrupts if the prescaler is /64. (5 marks) 3. Configure the following Special Function Register (SFR) for the TPU2 timer to trigger an interrupt every 25ms. Timer Control Register (TCR) Timer Mode register (TMDR) Interrupt Enable Register (TIER) Timer General Register (TGRX) Timer Start Register (TSTR) (15 marks) 4. Write what might be in the interrupt if we are to stop the timer after 100sec. (8 marks) (33 marks)