{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Homework 1 Getting Started

Homework 1 Getting Started - power and ground taken care of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
HOMEWORK 1 Getting Started CMPE 127 HL Connect your ARM board to laptop with Internet connection, once you log in to your account, then go to the following link, Micro-controller Getting Started, as in Figure 1. Figure 1. GUI. Follow the instruction to build your “hello, the world” application, and test it, see the pin connection in Figure 2 and 3. Figure 2. Pin Connection. Then use your wire wrapping board to build a power and GROUND connection. See the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
following table for pin assignment: Pin Description GND (Top left pin 1) GND VIN (Top left pin 2) Power supply input, 4.5 ~14.0 VDC Table 1. Pin Assignment. Note: Use 5.0 or 7.5 VDC power supply to the board. Figure 3.Pin Connection. When you are doing the board work, be sure to disconnect USB cable. Once you have the
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: power and ground taken care of with independent power supply, now you can then the power switch on to have ARM board booted. At this moment, you should see your board LED flashing to indicate your “Hello, the world” is working. When you are compiling your “hello, the world” program, pay attention to the C code as shown in Figure 3. Figure 3. C program for “hello, the world”. Based on the program, perform the following changes and answer the questions accordingly: 1. Which line defines LED selection, how do change your LED1 to LED 2? 2. For how long LED is on? How to change it 100 mS? How to change it to 2.5 uS? 3. For how long LED is off? How to change it to 50 mS? (END)...
View Full Document

{[ snackBarMessage ]}