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?
-
On March 2, 2014, the two 50% shareholders of a calendar year corporation decide to elect S status. One of the shareholders, Terry, purchased her stock from a previous shareholder (a nonresident...
-
Determine the slope at point A. EI is constant. Use the method of virtual work. A B
-
Why is it advisable to obtain a written confession from the subject of an investigation?
-
Cash budgeting, chapter appendix. Retail outlets purchase snowboards from Slopes, Inc., throughout the year However, in anticipation of late summer and early fall purchases, outlets ramp up...
-
Describe a typical backup scenario and share your preferred Oracle database backup type. Why is it most appropriate? Is there a role for the Recovery Manager (RMAN) for this procedure? Explain.
-
Find the Z-transforms of the following sequences: n a) x [n] = () u[n + 2] b) x [n] = {..., 0, 1, 3, -2, 4, 0, 0, ...} c) x3 [n] = alm, 0
-
Create a small program that will allow the user to create players and then it will allow them to view them by different sorting. See next slide for sample output. JAVA PROJECTS < Exercise3 src { }...
-
Cost and sales information for the most recent fiscal year are shown below: WALLACE RIVER COMPANY Cost and Sales Information For the Year Ended December 31 Purchases of raw materials Raw materials...
-
Q3. A solid noncoducting sphere of radius R has a charge density p = p constant and r is the distance from the center of the sphere. (a) What is the total charge@inside the sphere? (b) Find the...
-
Financing Cost (Discount Rate): 12% Initial Capital Outlay: $100,000 Cashflow (net revenue) Year 1: $0 Year 2: $60,000 Year 3: $60,000 Year 4: $40,000 Project Two Financing Cost (Discount Rate): 10%...
-
make java coding based on my information The purposed of this system is to help owner of any bus company to check total reservation made by passenger and show their information details. Any passenger...
-
A pipe slopes upward in the direction of liquid fl ow at an angle of 30 with the horizontal. What is the pressure gradient in the fl ow direction along the pipe in terms of the specifi c weight of...
-
What is your opinion of advertising awards, such as the Cannes Lions, that are based solely on creativity? If you were a marketer looking for an agency, would you take these creative awards into...
-
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,...
-
Solve Exercise 1.22 using the concept of the transfer function. Exercise 1.22 Compute the inverse Fourier transform of \[X\left(\mathrm{e}^{\mathrm{j} \omega} ight)=\frac{1}{1-\mathrm{e}^{-\mathrm{j}...
-
We define the even and odd parts of a complex sequence \(x(n)\) as \[\mathcal{E}\{x(n)\}=\frac{x(n)+x^{*}(-n)}{2} \quad \text { and } \quad \mathcal{O}\{x(n)\}=\frac{x(n)-x^{*}(-n)}{2}\]...
-
Prove that \[\begin{equation*}\mathcal{F}^{-1}\left\{\sum_{k=-\infty}^{\infty} \delta\left(\omega-\frac{2 \pi}{N} k ight) ight\}=\frac{N}{2 \pi} \sum_{p=-\infty}^{\infty} \delta(n-N p) \tag{2.262}...
Study smarter with the SolutionInn App