In this homework we will begin to study the data sheets for our chip (KL25Z) with...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In this homework we will begin to study the data sheets for our chip (KL25Z) with the M0+ ARM core. Make sure you locate the PDF's for both the Freescale (now NXP) and ARM files. 1. Start with the "KL25Z" 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: a) How many SIM_SCGCX registers are there listed? b) What are their numbers? c) Now look at the section 12.2.8,9,10 and 11 and answer the following questions: d) What bit would you have to set in which SIM_SCGC4 register to enable the clock to the 12C module 0? e) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the TSI (Touch Sensing Input) module? f) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the PORTB module? g) How many clock enables are controlled by SIM_SCGC7? In this homework we will begin to study the data sheets for our chip (KL25Z) with the M0+ ARM core. Make sure you locate the PDF's for both the Freescale (now NXP) and ARM files. 1. Start with the "KL25Z" 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: a) How many SIM_SCGCX registers are there listed? b) What are their numbers? c) Now look at the section 12.2.8,9,10 and 11 and answer the following questions: d) What bit would you have to set in which SIM_SCGC4 register to enable the clock to the 12C module 0? e) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the TSI (Touch Sensing Input) module? f) What bit would you have to set in which SIM_SCGC5 register to enable the clock to the PORTB module? g) How many clock enables are controlled by SIM_SCGC7?
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
Developments in Technology Light is incident from air on the end face of a multimode optical fibre at angle of incidence as shown below. n n 1 2 The refractive indices of the core and cladding are...
-
As an employer, what are steps you can take to avoid discrimination litigation?
-
Andy has operated his moving company as a sole proprietorship for several years. In 2014, he put into service $20,000 of property qualifying for immediate expensing under 179. In 2014, Andy also...
-
Let D = 4xya x + 2(x 2 + z 2 )a y + 4yza z nC/m 2 and evaluate surface integrals to find the total charge enclosed in the rectangular parallelepiped 0 < x < 2, 0 < y < 3, 0 < z < 5 m.
-
Determine the slope at \(B\). The beam is made from A992 steel and has a moment of inertia of \(I=53.8 \mathrm{in}^{4}\). 8 kip A B -5 ft- 10 ft- -5 ft-
-
Carmen Camry operates a consulting firm called Help Today. On August 31, the companys records show the following accounts and amounts for the month of August. Use this information to prepare an...
-
2. Data Types: Your Moose Jaw Reservoir Team in Saskatchewan has collect well cores, well logs and seismic data (acoustic impedance). Share your knowledge with your team. (3 points) a) What is the...
-
The Laplace Transform of a displacement is given as +40 s(s+1) with a 2. Calculate the limit displacement.
-
Conduct a Google search for (a) MBA programs and (b) vacation (holiday) resorts. Examine two or three contextual ads triggered by your searches. What are they doing right, and what can be improved?
-
Although Venice is considered to be one of the most beautiful and romantic cities in the world, modern Venice has faced many challenges, including a loss of population to other parts of Italy and...
-
Which strategy for entering a new international market should (a) an architectural design firm, (b) an online discount broker, and (c) a satellite TV channel consider, and why?
-
An attractive brochure that had been printed recently, although neither dated nor distributed to prospective patients, described Dr. Earle Shouldice, the founder of the hospital: Dr. Shouldices...
-
In mid-2002, Christine Day, Starbucks Senior Vice President of Administration in North America, sat in the seventh-floor conference room of Starbucks Seattle headquarters and reached for her second...
-
Harris Company borrowed $800,000 from Liber Bank on January 1, 2013 in order to expand its mining capabilities. The five-year note required annual payments of $208,349 and carried an annual interest...
-
Extend Algorithms 3.4 and 3.5 to include as output the first and second derivatives of the spline at the nodes.
-
Skyler is covered by his company's health insurance plan. The health insurance costs his company $3,500 a year. During the year, Skyler is diagnosed with a serious illness and the health insurance...
-
While preparing Massie Miller's 2012 Schedule A, you review the following list of possible charitable deductions provided by Massie: Cash contribution to a family whose house burned...
-
Amy is a calendar-year taxpayer reporting on the cash basis. Please indicate how she should treat the following items for 2012: a. She makes a deductible contribution to an IRA on April 15,...
-
The transient part of the solution arises from a. forcing function b. initial conditions c. bounding conditions
-
Fill in the Blank. The response of a linear system under any periodic force can be found by ___________ appropriate harmonic responses.
-
Find the steady-state response of the hydraulic control valve shown in Fig. 4.4 (a) to the forcing functions obtained by replacing \(x(t)\) with \(F(t)\) and \(A\) with \(F_{0}\) in Figs. 1.115....
Study smarter with the SolutionInn App