SlideShare a Scribd company logo
1 of 1
Download to read offline
Requirement: Use Assembly Language to program STM32 microcontroller.
There are many serial submodules in the STM32 microcontroller, using both synchronous and
asynchronous methods. We will be exploring UART communication in this lab, where two devices
communicate without sharing clock information (asynchronous). There are multiple UARTs
available on the board, the example code uses UART4, you will also need to use UART5 in this
exercise. 2.5.2 Tasks a) Make a function that can transmit a string of characters. Pass the address
of the string to the function using register RI. Make another function that can repeatedly call the
transmit function at a rate of around lHz. b) Make a function that can receive a string of characters,
and store the resulting characters in a buffer address that is passed to the function using register
RI c) Adapt the previous two task items to include a feature that sends a terminating character at
the end of the string transmission, and stops receiving when the terminating character is detected.

More Related Content

Similar to Requirement Use Assembly Language to program STM32 microcon.pdf

Internet of things laboratory
Internet of things laboratoryInternet of things laboratory
Internet of things laboratorySoumee Maschatak
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfGandhibabu8
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI Alliance
 
Answer sheet of switching & routing
Answer sheet of switching & routingAnswer sheet of switching & routing
Answer sheet of switching & routingMd. Mashiur Rahman
 
EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)Netwax Lab
 
Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System IJECEIAES
 
Synthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft CoreSynthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft Coreijsrd.com
 
Operating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programmingOperating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programmingguesta40f80
 
Some important networking questions
Some important networking questionsSome important networking questions
Some important networking questionsSrikanth
 
Basic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdfBasic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdftthind
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
[2016/2017] AADL (Architecture Analysis and Design Language)
[2016/2017] AADL (Architecture Analysis and Design Language)[2016/2017] AADL (Architecture Analysis and Design Language)
[2016/2017] AADL (Architecture Analysis and Design Language)Ivano Malavolta
 
Advanced Microprocessors
Advanced MicroprocessorsAdvanced Microprocessors
Advanced MicroprocessorsBuddiesSairamit
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC MachineEdutechLearners
 

Similar to Requirement Use Assembly Language to program STM32 microcon.pdf (20)

Jy3717961800
Jy3717961800Jy3717961800
Jy3717961800
 
Internet of things laboratory
Internet of things laboratoryInternet of things laboratory
Internet of things laboratory
 
microprocessor
 microprocessor microprocessor
microprocessor
 
Handout#10
Handout#10Handout#10
Handout#10
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
 
Answer sheet of switching & routing
Answer sheet of switching & routingAnswer sheet of switching & routing
Answer sheet of switching & routing
 
EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)
 
Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System Security Enhancement in Networked Embedded System
Security Enhancement in Networked Embedded System
 
Synthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft CoreSynthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft Core
 
Operating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programmingOperating System Chapter 4 Multithreaded programming
Operating System Chapter 4 Multithreaded programming
 
Some important networking questions
Some important networking questionsSome important networking questions
Some important networking questions
 
Basic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdfBasic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdf
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
[2016/2017] AADL (Architecture Analysis and Design Language)
[2016/2017] AADL (Architecture Analysis and Design Language)[2016/2017] AADL (Architecture Analysis and Design Language)
[2016/2017] AADL (Architecture Analysis and Design Language)
 
Advanced Microprocessors
Advanced MicroprocessorsAdvanced Microprocessors
Advanced Microprocessors
 
avr-web-server
avr-web-serveravr-web-server
avr-web-server
 
Lecture-07 .pdf
Lecture-07 .pdfLecture-07 .pdf
Lecture-07 .pdf
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC Machine
 

More from info213941

Residences of US Citizens According to the US Census 67.pdf
Residences of US Citizens According to the US Census 67.pdfResidences of US Citizens According to the US Census 67.pdf
Residences of US Citizens According to the US Census 67.pdfinfo213941
 
resistance against gone oditing tochnologes and ways to ove.pdf
resistance against gone oditing tochnologes and ways to ove.pdfresistance against gone oditing tochnologes and ways to ove.pdf
resistance against gone oditing tochnologes and ways to ove.pdfinfo213941
 
Researchers studying the number of electric fish species liv.pdf
Researchers studying the number of electric fish species liv.pdfResearchers studying the number of electric fish species liv.pdf
Researchers studying the number of electric fish species liv.pdfinfo213941
 
Resident is admitted to the nursing home following hospitali.pdf
Resident is admitted to the nursing home following hospitali.pdfResident is admitted to the nursing home following hospitali.pdf
Resident is admitted to the nursing home following hospitali.pdfinfo213941
 
resources and respond to the following prompts You will use.pdf
resources and respond to the following prompts You will use.pdfresources and respond to the following prompts You will use.pdf
resources and respond to the following prompts You will use.pdfinfo213941
 
Responda la siguiente pregunta basada en el estudio de caso .pdf
Responda la siguiente pregunta basada en el estudio de caso .pdfResponda la siguiente pregunta basada en el estudio de caso .pdf
Responda la siguiente pregunta basada en el estudio de caso .pdfinfo213941
 
Responda cada parte de la pregunta 1 a continuacin 1a Las .pdf
Responda cada parte de la pregunta 1 a continuacin 1a Las .pdfResponda cada parte de la pregunta 1 a continuacin 1a Las .pdf
Responda cada parte de la pregunta 1 a continuacin 1a Las .pdfinfo213941
 
Reset the index in df using an appropriate function from pan.pdf
Reset the index in df using an appropriate function from pan.pdfReset the index in df using an appropriate function from pan.pdf
Reset the index in df using an appropriate function from pan.pdfinfo213941
 
Researchers watched dolphin groups off the coast of Ireland .pdf
Researchers watched dolphin groups off the coast of Ireland .pdfResearchers watched dolphin groups off the coast of Ireland .pdf
Researchers watched dolphin groups off the coast of Ireland .pdfinfo213941
 
Required information Consider the data Develop an Mfile fu.pdf
Required information Consider the data Develop an Mfile fu.pdfRequired information Consider the data Develop an Mfile fu.pdf
Required information Consider the data Develop an Mfile fu.pdfinfo213941
 
Required information E617 Algo Analyzing Gross Profit Per.pdf
Required information E617 Algo Analyzing Gross Profit Per.pdfRequired information E617 Algo Analyzing Gross Profit Per.pdf
Required information E617 Algo Analyzing Gross Profit Per.pdfinfo213941
 
Research current HR practices related to event management s.pdf
Research current HR practices related to event management s.pdfResearch current HR practices related to event management s.pdf
Research current HR practices related to event management s.pdfinfo213941
 
Research a news story excluding Apple and Samsung involvin.pdf
Research a news story excluding Apple and Samsung involvin.pdfResearch a news story excluding Apple and Samsung involvin.pdf
Research a news story excluding Apple and Samsung involvin.pdfinfo213941
 
Research major types of cyber attacks Write a 5 page paper .pdf
Research major types of cyber attacks Write a 5 page paper .pdfResearch major types of cyber attacks Write a 5 page paper .pdf
Research major types of cyber attacks Write a 5 page paper .pdfinfo213941
 
Research different type of social networks social shopping.pdf
Research different type of social networks social shopping.pdfResearch different type of social networks social shopping.pdf
Research different type of social networks social shopping.pdfinfo213941
 
Requirements Answer all the questions regarding the article.pdf
Requirements Answer all the questions regarding the article.pdfRequirements Answer all the questions regarding the article.pdf
Requirements Answer all the questions regarding the article.pdfinfo213941
 
Reorganizing systems at ASP Software Nathan Millers phone b.pdf
Reorganizing systems at ASP Software Nathan Millers phone b.pdfReorganizing systems at ASP Software Nathan Millers phone b.pdf
Reorganizing systems at ASP Software Nathan Millers phone b.pdfinfo213941
 
Required Using the FIFO method a Determine the equivalent.pdf
Required Using the FIFO method a Determine the equivalent.pdfRequired Using the FIFO method a Determine the equivalent.pdf
Required Using the FIFO method a Determine the equivalent.pdfinfo213941
 
Required information Synaptic Integration Synaptic integrati.pdf
Required information Synaptic Integration Synaptic integrati.pdfRequired information Synaptic Integration Synaptic integrati.pdf
Required information Synaptic Integration Synaptic integrati.pdfinfo213941
 
Required information Use the following information for the Q.pdf
Required information Use the following information for the Q.pdfRequired information Use the following information for the Q.pdf
Required information Use the following information for the Q.pdfinfo213941
 

More from info213941 (20)

Residences of US Citizens According to the US Census 67.pdf
Residences of US Citizens According to the US Census 67.pdfResidences of US Citizens According to the US Census 67.pdf
Residences of US Citizens According to the US Census 67.pdf
 
resistance against gone oditing tochnologes and ways to ove.pdf
resistance against gone oditing tochnologes and ways to ove.pdfresistance against gone oditing tochnologes and ways to ove.pdf
resistance against gone oditing tochnologes and ways to ove.pdf
 
Researchers studying the number of electric fish species liv.pdf
Researchers studying the number of electric fish species liv.pdfResearchers studying the number of electric fish species liv.pdf
Researchers studying the number of electric fish species liv.pdf
 
Resident is admitted to the nursing home following hospitali.pdf
Resident is admitted to the nursing home following hospitali.pdfResident is admitted to the nursing home following hospitali.pdf
Resident is admitted to the nursing home following hospitali.pdf
 
resources and respond to the following prompts You will use.pdf
resources and respond to the following prompts You will use.pdfresources and respond to the following prompts You will use.pdf
resources and respond to the following prompts You will use.pdf
 
Responda la siguiente pregunta basada en el estudio de caso .pdf
Responda la siguiente pregunta basada en el estudio de caso .pdfResponda la siguiente pregunta basada en el estudio de caso .pdf
Responda la siguiente pregunta basada en el estudio de caso .pdf
 
Responda cada parte de la pregunta 1 a continuacin 1a Las .pdf
Responda cada parte de la pregunta 1 a continuacin 1a Las .pdfResponda cada parte de la pregunta 1 a continuacin 1a Las .pdf
Responda cada parte de la pregunta 1 a continuacin 1a Las .pdf
 
Reset the index in df using an appropriate function from pan.pdf
Reset the index in df using an appropriate function from pan.pdfReset the index in df using an appropriate function from pan.pdf
Reset the index in df using an appropriate function from pan.pdf
 
Researchers watched dolphin groups off the coast of Ireland .pdf
Researchers watched dolphin groups off the coast of Ireland .pdfResearchers watched dolphin groups off the coast of Ireland .pdf
Researchers watched dolphin groups off the coast of Ireland .pdf
 
Required information Consider the data Develop an Mfile fu.pdf
Required information Consider the data Develop an Mfile fu.pdfRequired information Consider the data Develop an Mfile fu.pdf
Required information Consider the data Develop an Mfile fu.pdf
 
Required information E617 Algo Analyzing Gross Profit Per.pdf
Required information E617 Algo Analyzing Gross Profit Per.pdfRequired information E617 Algo Analyzing Gross Profit Per.pdf
Required information E617 Algo Analyzing Gross Profit Per.pdf
 
Research current HR practices related to event management s.pdf
Research current HR practices related to event management s.pdfResearch current HR practices related to event management s.pdf
Research current HR practices related to event management s.pdf
 
Research a news story excluding Apple and Samsung involvin.pdf
Research a news story excluding Apple and Samsung involvin.pdfResearch a news story excluding Apple and Samsung involvin.pdf
Research a news story excluding Apple and Samsung involvin.pdf
 
Research major types of cyber attacks Write a 5 page paper .pdf
Research major types of cyber attacks Write a 5 page paper .pdfResearch major types of cyber attacks Write a 5 page paper .pdf
Research major types of cyber attacks Write a 5 page paper .pdf
 
Research different type of social networks social shopping.pdf
Research different type of social networks social shopping.pdfResearch different type of social networks social shopping.pdf
Research different type of social networks social shopping.pdf
 
Requirements Answer all the questions regarding the article.pdf
Requirements Answer all the questions regarding the article.pdfRequirements Answer all the questions regarding the article.pdf
Requirements Answer all the questions regarding the article.pdf
 
Reorganizing systems at ASP Software Nathan Millers phone b.pdf
Reorganizing systems at ASP Software Nathan Millers phone b.pdfReorganizing systems at ASP Software Nathan Millers phone b.pdf
Reorganizing systems at ASP Software Nathan Millers phone b.pdf
 
Required Using the FIFO method a Determine the equivalent.pdf
Required Using the FIFO method a Determine the equivalent.pdfRequired Using the FIFO method a Determine the equivalent.pdf
Required Using the FIFO method a Determine the equivalent.pdf
 
Required information Synaptic Integration Synaptic integrati.pdf
Required information Synaptic Integration Synaptic integrati.pdfRequired information Synaptic Integration Synaptic integrati.pdf
Required information Synaptic Integration Synaptic integrati.pdf
 
Required information Use the following information for the Q.pdf
Required information Use the following information for the Q.pdfRequired information Use the following information for the Q.pdf
Required information Use the following information for the Q.pdf
 

Recently uploaded

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 

Recently uploaded (20)

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 

Requirement Use Assembly Language to program STM32 microcon.pdf

  • 1. Requirement: Use Assembly Language to program STM32 microcontroller. There are many serial submodules in the STM32 microcontroller, using both synchronous and asynchronous methods. We will be exploring UART communication in this lab, where two devices communicate without sharing clock information (asynchronous). There are multiple UARTs available on the board, the example code uses UART4, you will also need to use UART5 in this exercise. 2.5.2 Tasks a) Make a function that can transmit a string of characters. Pass the address of the string to the function using register RI. Make another function that can repeatedly call the transmit function at a rate of around lHz. b) Make a function that can receive a string of characters, and store the resulting characters in a buffer address that is passed to the function using register RI c) Adapt the previous two task items to include a feature that sends a terminating character at the end of the string transmission, and stops receiving when the terminating character is detected.