7 The PIC has 3 internal timers. 1) True 2) False 3 timers+ watchdog Timer 4...
15 The PIC can expand the PortC with external shift registers with 16 bits. 1) True 2) False 16 The PIC has 5 ports all 8-Bits wide capabilities available. 1) True 2) False 17 The PIC has an 8-bit Data bus to make it an 8-bit Processor. 1) True 2) False 18 The PIC make use of VDD and VSS supply voltage. 1) True 2) False
1. How many Timers does the F5529 have? Name them. What happens when the Timer overflows? And what exactly does "overflow" mean? 2. What is the name of the register that "counts?" 3. 4. What is the name of the Timer A Interrupt Flag? 5. What is "resolution?" State 2 ways you can change it. What are the different Timer Modes and how do they work? 6. 7. What is the advantage of Up Mode vs Continuous Mode? What settings...
7 The Timer0 can only count 256 count steps. 1) True 2) False 8 Each pin of the ports of the PIC can supply 1 μA. 1) True 2) False 9 The Stack memory can stack 8x13 bits of program counter only. 1) True 2) False 10 PortA is alternatively used for Timer0. 1) True 2) False
EEN324-F16 Final 12) The SUBLW command will cause the following a) k-W>W with affected flag Z,DC b)W with affected flags C.DC k->W with affected flags C,DC,Z d) None of the above 13) PIC16F84 has four sources of interrupt where PIC16F87x have thirteen different sources. a) True False 14) In PIC16 family, the fix place where the program counter jumps to in memory in case of an interrupt is 15) In PIC16F84 family, every interrupt source has its own enable bit...
10. You are using a 16-bit timer, time are using PBCLK, an internal c r1, which has pre ock, hihh has pre-scale options of 1:1, 1.3, 1.64,and 1.256. You configured to run at 10MHz. PRESET EXT CLK COMPARATOR INT CLK Is it possible to set the preset register to a value that corresponds to a time interval of 1.70 seconds, so that the timer can count from 0 to the value and generate an interrupt? You must justify your answer....
20 pts] 2- Consider the internal structure of the pseudo-CPU discussed in class augmented with a single-port register file (i.e., only one register value can be read at a time) containing 32 8-bit registers (RO-R31) and a Stack Pointer (SP). Suppose the pseudo-CPU can be used to implement the AVR instruction ICALL (Indirect Call to Subroutine) with the format shown below: 10001 10101 00001 10011 ICALL pushes the return address onto the stack and jumps to the 16-bit target address...
I. This is an open book, open notes exam. A calculator is allowed. No network-enabled devices are allowed I Completely show all of your work to insure partial credit for problems Convert the following instructions into their machine language equivalent in Hex: 1. (10 pts) AND WI,#15,W2 CLR.B IW2 2. (8 pts) a) What is the range of ports on the PIC24 for PORTA (RAx) and PORTB (RBx) b) Set PORTB bits 15-13, 9, 7-5, 0 as INPUTS and all...
fill in the blanks
1. The Timer Base value for the Fixed SLC500 PLC isseconds. 2. The Preset value for timer T4:0 is in register 3. The Accumulated value for timer T4:0 is in register 4 You must the ON-Delay timer function to start it. 5. When the Non-retentive timer is de-energized, content of its accumulated register will 6. The function transfers either a number or content of a register to a destination register 7. In the MOVE function, can...
Question 2 An on-delay timer is used when you want a time delay to occur before an input instruction becomes true. True False Question 3 bit of the timer functions similar to an For the programmed timer circuit shown the instantaneous contact. L1 Laddor logic program 2. laput Outputs Input A TON Le Output BG TIMER OND Timer Time base Preset Accumu Oupur c- o 5 99 5 1 Output D HLON b. DN EN PB1 d. PB2
1 to 15 blanks thank you!
(1 point) For registers, Integers are encoded in one of two basic types 1. and 2. (1 point) The number 201 as a one byte unsigned integer is represented as in binary and in hexadecimal. (1 point) The 2 methods for representing signed integers are 3. and (5 points) What is the 16 bit representation of -125 in 2's complement notation? 4. (5 points) What is the decimal representation of the signed integer 10000001?...