Chapter 2 - Understanding Data sheets:
Assume we are using a PIC18F46K40. Using the the information on PIC and the data sheet answer the following:
- What is the 5K pricing for this chip?
- How many pins does this chip have?
- What is the Max. CPU speed?
- What is the resolution for the DAQ?
- What is the ALU size?
- What is the program memory size?
- What is the size of the DRAM?
- What is the size of the SRAM?
- What is th emax. number of instructions you can write?
- Draw the interfaces between CPU and Memory devices.
- What is the size of the working register for this chip?
- According to the spec sheet, core features, what type of instruction architecture this chip has?
- In terms of memory organization, what type of memory architecture does it have?
- What types of memory types are used in PIC18 enhanced microcontroller ?
- What is the flash memory used for?
- What is the EEPROM is used for?
- How many bits are used for the program counter?
- Looking at the register summary what is the address of the WREG?
- How many WREG does this chip have? (data sheet P. 143)
- Is the working register in the data memory or program memory? (data sheet P. 142)
- What type of physical packages this chip can be purchased in?
- How many pins the PDIP package has?
- Is PDIP package ceramic or plastic?
- How many physical LEADS the UQFN package has?
- How many actual IO Pins does it have?
- Looking at fig. 1-1 in the data sheet , What is the address bus size for the program memory?
- Looking at fig. 1-1 in the data sheet, What is the data bus size for the program memory?
- Looking at fig. 1-1 in the data sheet, What is the address bus size for the datamemory?
- Looking at fig. 1-1 in the data sheet, What is the data bus size for the data memory?
- How many stack levels are available in this chip?
- How many timers this chip has?
Chapter 2 - Example Problem:
Name the three basic operations in MCU?
Name the two models that MCU can operate its basic three-step operation.
Assume each MCU operation takes 2 clock cycles and the clock speed is 1 MHz. How long (in time) does it take to complete 10 instructions using this sequential model?
What is the purpose of memory cache? What technology does it typically use?
Name the main memory models. Explain the differences.
What type of Memory Model RISC uses?
Using a drawing show the Harvard Memory Model.
Between Flash and SRAM which is cheaper?
Between Flash and SRAM which is faster?
Between Flash and SRAM which is considered to be non-volatile memory?
Between Flash and SRAM
which one can be used to make EEPROM?
What Memory Model PIC uses?
What instruction Set Model PIC uses?
Can the width of the DATA bus used for programing and data memories be different?
Can the width of the ADDRESS bus used for programing and data memories be different?
What are the main three memory types we discussed in class?
Draw and show how a 32K program memory can be connected to an 8-bit MCU. Show all the buses and number the last register location of the memory using a Hex value.
Name the two sections of Data Memory in a PIC.
Draw and show how a 31-deep with 21 bits can be interfaced to an 8-bit MCU.
What is the purpose of status register in a PIC? Give an example.
Using a drawing show how ALU operates. On your drawing show WREG, and STAT REG. Where is the out put going?
What is the purpose of the program counter? How many bits does it have?
How many bit does FSR have?
What are SFRs located in? Which part of the memory?
In PIC the Flash cells are utilized for both program memory and data EEPROM (data sheet P.22). But, what other type of technology is used for Data Memory?
What is the purpose of Opcode in a MCU instruction? Give an example.
What is Access RAM? Where is it located at?
What is the difference between SFR and FSR?
What is the purpose of “a” bit in an instruction?
Refer to PIC Architecture Diagram to answer the following questions: - see teh data sheet
How many Banks are used in the data memory? How do you know?
How many registers are in each bank? data sheet P.132
What is data bus size for the program memory?
What is the size of the address bus for the program memory
How many stack registers the chip has?
How many bits the WREG has?
What is the ALU size in terms of number of bits?
How many bits the Program Counter (PC) has? Explain why?