Question: Please pay attention the the type of micro controller used as that impacts the answer Problem 2. (25 points) In the following assume a PIC24FJ64GA002
Please pay attention the the type of micro controller used as that impacts the answer Problem 2. (25 points) In the following assume a PIC24FJ64GA002 microcontroller operating with Fosc at 32 MHz and a 16 MHz instruction cycle clock, FCY Note that the default value of (a) Suppose Timer 1 is configured with TICON = Ox80 10. what is the interval between T11F (b) With Timer 1 configured as in (a), suppose now that upon each TlIF event, n addition to PRI is Oxffff. events (assumig TIIF is cleared after each one.) clearing T1IF, we immediately write 0x53c0 into TMR1. What is the interval between TIIF (c) Suppose we configure TICON with 0x8002. What is the significance of TMR1 at any time we d) Suppose we want to measure an hour with Timer 1 configured as in (a). We will use an events? might read it? additional variable, count, to count timer rollover events. Show the line of C code which e count. low al o w t the pulae Problem 2. (25 points) In the following assume a PIC24FJ64GA002 microcontroller operating with Fosc at 32 MHz and a 16 MHz instruction cycle clock, FCY Note that the default value of (a) Suppose Timer 1 is configured with TICON = Ox80 10. what is the interval between T11F (b) With Timer 1 configured as in (a), suppose now that upon each TlIF event, n addition to PRI is Oxffff. events (assumig TIIF is cleared after each one.) clearing T1IF, we immediately write 0x53c0 into TMR1. What is the interval between TIIF (c) Suppose we configure TICON with 0x8002. What is the significance of TMR1 at any time we d) Suppose we want to measure an hour with Timer 1 configured as in (a). We will use an events? might read it? additional variable, count, to count timer rollover events. Show the line of C code which e count. low al o w t the pulae
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
