Question: Use the MSP 4 3 0 seven - segment daughter board ( available in the IEEE office ) to implement a hexadecimal up - down

Use the MSP430 seven-segment daughter board (available in the IEEE office) to implement a
hexadecimal up-down counter on a single digit of the seven-segment display. The counter should
start at 0x0, count up to 0xF, count down to 0x0, and repeat indefinitely. The counter should update
every 500ms.
Engineering Constraints
Your implementation must:
Make use of the timerperipherals.
Utilize a lookup table for the seven-segment values. I am using the MSP-EXP430FR6989 with TI Code Composer Studio, the project is a empty assembly only project. I have attached a schematic of the daughter board along with the connections. Below is the structure of a empty assembly only project. Written code should only be placed in the "Main loop here" section. ;-------------------------------------------------------------------------------
; MSP430 Assembler Code Template for use with TI Code Composer Studio
;
;
;-------------------------------------------------------------------------------
.cdecls C,LIST,"msp430.h" ; Include device header file
;-------------------------------------------------------------------------------
.def RESET ; Export program entry-point to
; make it known to linker.
;-------------------------------------------------------------------------------
.text ; Assemble into program memory.
.retain ; Override ELF conditional linking
; and retain current section.
.retainrefs ; And retain any sections that have
; references to current section.
;-------------------------------------------------------------------------------
RESET mov.w #__STACK_END,SP ; Initialize stackpointer
StopWDT mov.w #WDTPW|WDTHOLD,&WDTCTL ; Stop watchdog timer
;-------------------------------------------------------------------------------
; Main loop here
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
; Stack Pointer definition
;-------------------------------------------------------------------------------
.global __STACK_END
.sect .stack
;-------------------------------------------------------------------------------
; Interrupt Vectors
;-------------------------------------------------------------------------------
.sect ".reset" ; MSP430 RESET Vector
.short RESET

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!