prepare display

This commit is contained in:
2024-03-22 18:38:30 +01:00
parent 10a09e3ad3
commit a32ef8fa5b
7 changed files with 73 additions and 5 deletions

View File

@ -122,8 +122,8 @@ init:
mov.w #OUTMOD_7,&TA1CCTL2
;; spi configuration
;; USCI B to slave mode
mov.b #UCSYNC|UCMODE_2, &UCB0CTL0
;; USCI B to slave mode, enable STE and most significant bit first
mov.b #UCSYNC|UCMODE_2|UCMSB, &UCB0CTL0
mov.b #0x00, &UCB0CTL1
;; make sure the isr will not immediately start