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

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
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
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
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
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
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
 

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.