Question: In this homework we will begin to study the data sheets for our chip (KL25Z) with the MO+ ARM core. Make sure you locate the

 In this homework we will begin to study the data sheets

In this homework we will begin to study the data sheets for our chip (KL25Z) with the MO+ ARM core. Make sure you locate the PDF's for both the Freescale (now NXP) and ARM files. 1. Start with the KL252" manual in chapter 12 on the system integration module (SIM). The first step to take when configuring a output pin for GPIO is to turn on the clock to the module which by default is off when the chip is reset or first powered on. Look at the table in section 12.2 called "SIM memory map". This table gives the registers used by the SIM. Read through the various registers listed but then focus on the "system clock gating control registers" (SIM SCGCx). Answer the following questions about these registers: How many SIM_SCGCx registers are there listed? What are their numbers? Now look at the section 12.2.8,9,10 and 11 and answer the following questions: What bit would you have to set in which SIM_SCGC4 register to enable the clock to the 12C module 0? a) b) c) d) e) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the TSI (Touch f) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the PORTB g) How many clock enables are controlled by SIM_SCGC7? Sensing Input) module? module? In this homework we will begin to study the data sheets for our chip (KL25Z) with the MO+ ARM core. Make sure you locate the PDF's for both the Freescale (now NXP) and ARM files. 1. Start with the KL252" manual in chapter 12 on the system integration module (SIM). The first step to take when configuring a output pin for GPIO is to turn on the clock to the module which by default is off when the chip is reset or first powered on. Look at the table in section 12.2 called "SIM memory map". This table gives the registers used by the SIM. Read through the various registers listed but then focus on the "system clock gating control registers" (SIM SCGCx). Answer the following questions about these registers: How many SIM_SCGCx registers are there listed? What are their numbers? Now look at the section 12.2.8,9,10 and 11 and answer the following questions: What bit would you have to set in which SIM_SCGC4 register to enable the clock to the 12C module 0? a) b) c) d) e) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the TSI (Touch f) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the PORTB g) How many clock enables are controlled by SIM_SCGC7? Sensing Input) module? module

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!