Question 2 The microcontroller RX63N has a 16-bit timer named TPU2. Its peripheral clock is at 48MHz. 1. Calculate the m
Posted: Mon May 09, 2022 7:35 am
Question 2 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 164 (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 (IGRX) Timer Start Register (TSTR) (15 marks)