代写ECE 2560 Intro to Microcontroller-Based Systems Spring 2025帮做R编程

ECE 2560 Intro to Microcontroller-Based Systems

Spring 2025

Final Exam Part 1

Part 1: Coding task

Pick and implement one of the two blinking patterns below:

1. Simple Red-Green Blinky – basic coding task for reduced number of points (63/70 pts):

Use periodic interrupts generated by Timer B0 (B zero) to make the LEDs to twinkle in a simple alternating pattern: when the green LED is on the red one should be off and vice versa.

For this task, you do not need to implement a state machine.

2. Polyrhythmic Blinky – regular coding task with a state machine (70/70 pts)

Use periodic interrupts generated by Timer B0 (B zero) to make the two LEDs blink in a 3 against 2 polyrhythm: During the time the red LED completes three blinks, the green LED will only blink twice.

For both tasks:

Please watch the short demo video posted to Carmen exhibiting the desired behaviors.

While the LEDs are twinkling, the MCU must be in low power mode (LPM3).

The LEDs are turned on and off while serving interrupts generated by Timer B0, you are not allowed to utilize any software generated delay loops.

Start by downloading the corresponding asm file from Carmen. In both files, I have already configured Timer B0 to throw periodic interrupts (only the frequency is different, faster for the 3:2 polyrhythm). You will write an ISR that services these interrupts. Make sure that your ISR does not modify any core registers.

The memory address for the Timer B0 interrupt vector is 0xFFF4. The interrupt flag is bit TBIFG in the 16-bit register TB0CTL. Make sure to test and clear the TBIFG bit only  DO NOT clear the entire TB0CTL register since it holds information that is critical for the correct operation of Timer B0.

Part 2: Submission – Media Recording, PDF and text files uploaded to Carmen

Media Recording:

Record and submit a short video of yourself and your code in action.

Carmen will do the recording but does not submit the video unless you press the submit button.

Do not forget to press the submit button!

PDF File: Screenshot of your code

Take a screenshot of your main program (including variable definitions if applicable), your ISR and interrupt vectors, and submit in a PDF file.

Text File: Your source code

Save the final version of your source code as txt file so it can be read in Carmen, and make sure that both files reflect your name, e.g., firstname_lastname.txt or name_number.txt.

If your source code is missing, is not in the correct format (i.e., not saved as txt file but PDF etc.) or cannot be opened and built in CCS, you will receive zero points for the assignment regardless of your other submitted files/videos.

If your source code file does not produce the results you demonstrate in your memory browser screenshots or video recordings, that counts as academic misconduct. I have no choice but to refer your case to COAM. Make sure to submit the exact source code  that you used to create the video recording.

 


热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图