Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 c (c) As an intern of an embedded system start-up company, you have been tasked to assist in developing an embedded C program using

Q1 c

image text in transcribed

image text in transcribed

(c) As an intern of an embedded system start-up company, you have been tasked to assist in developing an embedded C program using Mbed SDK. The program should operate as follows: 1. Transmit an authorization ID via UARTI. 2. Wait to receive the character Y' via UARTI. 3. If Y' is received, read the value of analog pin AO and transmit this value via UART1. 4. Wait three seconds before repeating Step 1. The operations are summarized in the flowchart in Figure Q1(c). Write the program to carry out these operations and use your full Student ID (10 digits) as the authorization ID for this program. UARTI should operate at the default mode (9600 baud, 8N1). [10 marks] Start KL25Z Transmit authorization ID via UART1 Sensor TX D14 AO UART1 D15 Receive Y Read value of No via UART1? Yes analog pin AO RX Transmit the value via UART1 Wait 3 seconds Figure Q1(c) (c) As an intern of an embedded system start-up company, you have been tasked to assist in developing an embedded C program using Mbed SDK. The program should operate as follows: 1. Transmit an authorization ID via UARTI. 2. Wait to receive the character Y' via UARTI. 3. If Y' is received, read the value of analog pin AO and transmit this value via UART1. 4. Wait three seconds before repeating Step 1. The operations are summarized in the flowchart in Figure Q1(c). Write the program to carry out these operations and use your full Student ID (10 digits) as the authorization ID for this program. UARTI should operate at the default mode (9600 baud, 8N1). [10 marks] Start KL25Z Transmit authorization ID via UART1 Sensor TX D14 AO UART1 D15 Receive Y Read value of No via UART1? Yes analog pin AO RX Transmit the value via UART1 Wait 3 seconds Figure Q1(c)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

5. Discuss the key components of behavior modeling training.

Answered: 1 week ago

Question

4. Develop a self-directed learning module.

Answered: 1 week ago

Question

2. Provide recommendations for effective on-the-job training.

Answered: 1 week ago