Answer :- 1) The expression for baud rate register value is given by-
thus the register value is-
Taking the value as 105, in hexadecimal it is 0x069.
Hence SCI1BD = 0x069.
; To enable parity with odd parity, SCI wait mode,
one start, stop and 8 data bits.
SCICR1 = 0b00000011 = 0x03.
;To enable TDRE, RDRF, TX and RX enable
bit.
SCICR2 = 0b10101100 = 0xAC.
Answer :- 3)a) The the start bit, the next 7 bits are slave address. Thus from the given signal graph, we get the 7-bits as-
slave bits = 0011010 = 0x1A.
Answer :- 3)b) After the acknowledgement bit A, the next 8-bit is the data value. Thus the data value after Ack bit (A) is-
Data = 00010010 = 0x12.
The master is reading the data from slave as R/W' = 1, just after 7-bit of slave address bit.
1. Fill in the blanks to configure the SCII module of HCS12 with the following settings 14400 baud (Bus clock is 24 MHz) SCI enabled in wait mode One start bit, 8 data bits, one stop bit Enable trans...