Font size
S
M
L
XL
WorksheetsS32K MCU Final Quiz
Total questions: 81
Worksheet time: 1hrs 24mins
Name
Class
Date
1.
Which statement is TRUE about analog signal?
a)
Analog signals are continous in time
b)
Analog signals are denoted by square waves
c)
Analog signal uses discrete 0 and 1 to represent information
d)
None of the above
2.
What is the maximum value of an ADC with resolution 12 bits
a)
4095
b)
1024
c)
4096
d)
1023
3.
What is voltage reference in ADC?
a)
A voltage supply for ADC devices
b)
A constant voltage to be refered from ADC
c)
An output voltage from ADC devices
d)
All are correct
4.
What is the result of an ADC device with resolution 10 bits, Vreference is 3.3V, Vinput is 1.2V?
a)
1023
b)
372
c)
512
d)
312
5.
With ADC result is 128 of Adc resolution 8 bits, Vreference is 5V. Which measured Vinput is correct?
a)
5V
b)
3.3V
c)
2.5V
d)
1.2V
6.
Which statement is TRUE about Sample Rate?
a)
Number of samples per measured unit
b)
High sample rate is more accurate than low sample rate
c)
In the same duration, the low sample device takes less sample than the high sample device
d)
All are correct
7.
What is ADC architecture of S32K144?
a)
Flash ADC
b)
Successive-approximation ADC
c)
Ramp-compare ADC
d)
Delta-encoded ADC
8.
Which resolution is supported by S32K144?
a)
8 bits
b)
10 bits
c)
12 bits
d)
All are correct
9.
How to start an ADC conversion?
a)
By software trigger
b)
By hardware trigger
c)
By software and hardware trigger
d)
No action needed
10.
How many channels does the LPIT module of S32K144 support?
a)
1
b)
2
c)
3
d)
4
11.
For S32K144, what is the interval of peripheral clocks that need to be waited before clearing the channel and registers?
a)
2
b)
4
c)
6
d)
8
12.
What is the NVIC Interrupt ID of LPIT channel 3?
a)
50
b)
51
c)
52
d)
53
13.
For S32K144, which timer mode is NOT supported by LPIT?
a)
32-bit Periodic Counter
b)
Dual 16-bit Periodic Counter
c)
32-bit Trigger Input Capture
d)
Dual 16-bit Trigger Input Capture
14.
For S32K144, which chip mode is not supported for LPIT module?
a)
Run
b)
Stop
c)
Debug
d)
Wait
15.
For S32K144, which is the formula to calculate the timeout value when chain 2 channels together?
a)
TVALCHn + (TVALCHn-1 + 1)
b)
TVALCHn × TVALCHn-1
c)
TVALCHn × (TVALCHn-1 + 1)
d)
TVALCHn + TVALCHn-1
16.
For S32K144, if you want to enable the peripheral clock to the LPIT timer, what should you do?
a)
Write 1 to bit M_CEN of MCR register
b)
Write 0 to bit M_CEN of MCR register
c)
Write 1 to SW_RST of MCR register
d)
Write 1 to DBG_EN of MCR Register
17.
For S32K144, if you want to enable the interrupt for channel 1 of LPIT timer 0, what should you do?
a)
Write 1 to bit TIE0 of MIER Register
b)
Write 1 to bit TIE1 of MIER Register
c)
Write 1 to bit TIE2 of MIER Register
d)
Write 1 to bit TIE3 of MIER Register
18.
For S32K144, if you want to know the current timer value for channel 2 of LPIT timer 0, what should you do?
a)
Read register CVAL0
b)
Read register CVAL1
c)
Read register CVAL2
d)
Read register CVAL3
19.
For S32K144, if you want to set the timer counter value for channel 3 of LPIT timer 0, what should you do?
a)
Read register TVAL3
b)
Set the counter value to TVAL0
c)
Set the counter value to TVAL1
d)
Set the counter value to TVAL3
20.
For S32K144, if you want to start the timer LPIT0 channel 1, what should you do?
a)
Set the bit SET_T_EN_0 of the register SETTEN
b)
Set the bit SET_T_EN_1 of the register SETTEN
c)
Set the bit SET_T_EN_2 of the register SETTEN
d)
Set the bit SET_T_EN_3 of the register SETTEN
21.
Which statement is TRUE about analog signal?
a)
Analog signals are continous in time
b)
Analog signals are denoted by square waves
c)
Analog signal uses discrete 0 and 1 to represent information
d)
None of the above
22.
What is I2C?
a)
Inter Inbuild Circuit
b)
Inter Integrated Circuit
c)
Inter Integrated Chip
d)
Inbuild Integrated Chip
23.
I2C bus consists of ........wires.
a)
4
b)
6
c)
9
d)
2
24.
I2C is a ….. Protocol.
a)
Single master, single slave
b)
Multi master, single slave
c)
Single master, multi slave
d)
Multi master, multi slave
25.
Are pull up registers required in I2C?
a)
True
b)
False
26.
What is the stop condition?
a)
SDA low to high , SCL low
b)
SDA low to high , SCL High
c)
SDA high to low , SCL low
d)
SDA high to low , SCL High
27.
Master transmits means …..
a)
Master node is sending data to a slave
b)
Master node is receiving data from slave
c)
Slave node is transmitting data to master
d)
Slave node is sending data to master
28.
What sends the start bit?
a)
Master receive
b)
Master transmit
c)
Slave transmit
d)
Slave receive
29.
How many types of addressing structures are there in I2C?
a)
4 types
b)
3 types
c)
2 types
d)
5 types
30.
How many devices can be connected using 7 bit addressing?
a)
7
b)
1024
c)
128
d)
256
31.
Clock signals are generated by …..
a)
Slave
b)
Master
c)
Master and Slave
d)
None of the above
32.
What is the speed for fast mode?
a)
100 kbits/s
b)
400 kbits/s
c)
150 kbits/s
d)
200 kbits/s
33.
What is the speed for high speed mode?
a)
100 kbits/s
b)
3.4 Mbits/s
c)
150 kbits/s
d)
200 kbits/s
34.
What is the speed for standard mode?
a)
100 kbits/s
b)
3.4 Mbits/s
c)
150 kbits/s
d)
200 kbits/s
35.
Advantages of I2C is
a)
Reduce Pins
b)
Reduce Cost
c)
Reduce PCB size
d)
All of above
36.
Which line is used for sending and receiving data in I2C?
a)
SCL
b)
SDO
c)
SDA
d)
SDI
37.
Which of the following are handshake signals?
a)
START
b)
STOP
c)
ACKNOWLEDGE
d)
START and STOP
38.
Which of the following byte performs the slave selection?
a)
First byte
b)
Second byte
c)
Terminal byte
d)
Eighth byte
39.
Which of the following indicates the type of operation that the master requests?
a)
Address value
b)
Initial value
c)
Terminal count
d)
Read/Write bit
40.
For S32K144, to enable the Master mode, what should be done?
a)
Set the MEN bit in MCR Register
b)
Set the RST bit in MCR register
c)
Set the DBGEN bit in MCR Register
d)
Set the DOZEN bit in MCR Register
41.
For S32K144, to enable the Slave mode, what should be done?
a)
Set the MEN bit in MCR Register
b)
Set the RST bit in MCR register
c)
Set the bit SEN in SCR Register
d)
Set the bit RST in SCR register
42.
What is the abbreviation for UART?
a)
Universal Asynchronous Reception/Transmission
b)
Universal Asynchronous Receiver/Transmitter
43.
When should UART be used?
a)
High speed is not required
b)
High speed is required
c)
An inexpensive communication link between two devices is required
44.
How to connect two devices MCU1 and MCU2 via UART for full-duplex communication?
a)
MCU1_TX--MCU2_TX; MCU1_RX--MCU2_RX
b)
MCU1_TX--MCU2_RX; MCU1_RX--MCU2_TX
c)
MCU1_TX--MCU2_RX; MCU1_RX--MCU2_TX; MCU1_GND--MCU2_GND
45.
How to connect two devices via UART to transmit data from MCU1 to MCU2?
a)
MCU1_TX--MCU2_TX; MCU1_RX--MCU2_RX
b)
MCU1_TX--MCU2_RX; MCU1_RX--MCU2_TX
c)
MCU1_TX--MCU2_RX; MCU1_RX--MCU2_TX; MCU1_GND--MCU2_GND
d)
MCU1_TX--MCU2_RX; MCU1_GND--MCU2_GND
46.
How to connect two devices via UART to MCU1 receive data from MCU2?
a)
MCU1_TX--MCU2_TX; MCU1_RX--MCU2_RX
b)
MCU1_TX--MCU2_RX; MCU1_RX--MCU2_TX; MCU1_GND--MCU2_GND
c)
MCU1_TX--MCU2_RX; MCU1_RX--MCU2_TX
d)
MCU1_RX--MCU2_TX; MCU1_GND--MCU2_GND
47.
Which statement is correct?
a)
The bit time is fixed during transmission UART frame
b)
The bit time can be changed during transmission UART frame
c)
The bit time is determined by the baudrate
48.
Baud rate is 5000. The bit time is:
a)
2us
b)
0.2ms
c)
0.02ms
d)
2ms
49.
What is the structure of a UART frame?
a)
Start bit + Parity bit + Data bits + Stop bit
b)
Start bit + Data bits + Stop bit
c)
Start bit + Data bits + Parity bit + Stop bit
50.
What is the logic level of the Start bit?
a)
High
b)
Low
c)
High or Low
51.
Start bit and stop bit are generated by:
a)
Transmiter
b)
Receiver
c)
Both Transmiter and Receiver
52.
Which statement is correct?
a)
The Start bit marks the beginning of a new transmission
b)
The Start bit can be 1, 1.5 or 2 bits
c)
The receiver will synchronize with the new data stream when the Start bit is detected
d)
All options are correct
53.
Which statement is correct?
a)
Number of data bits always be 7 or 8 bits
b)
Number of data bits can be 7, 8 or depend on hardware support
c)
LSB always should be sent first
d)
LSB or MSB can be sent first depend on hardware support
54.
Which statement is correct?
a)
Parity bit can be 0 or 1
b)
Number of parity bit is 1 bit
c)
The parity bit can be used by the receiver to check for transmission errors
d)
The parity bit is added to UART frame to make the number of bit 1 become even (even parity) or odd (odd parity)
55.
Which statement is incorrect?
a)
The parity bit is generated by the transmiter
b)
The parity bit is generated by the receiver
c)
The parity bit is generated by both Transmiter and Receiver
d)
The parity bit is low level
56.
The UART frame is configured 1 bit Stop + 7 bits Data + 1 bit Start + 1 bit Parity. Which statement is incorrect when transmit data 0x35?
a)
The parity bit is 1 if the parity type is even
b)
The parity bit is 0 if the parity type is even
c)
The parity bit is 1 if the parity type is odd
d)
The parity bit is 0 if the parity type is odd
57.
Which statement is incorrect?
a)
The Stop bit marks the end of transmission
b)
Receiver will check to make sure stop bit is “1”
c)
Stop bit is "0"
d)
Number of stop bit is 1, 1.5 or 2 bits
58.
Which statement is correct?
a)
Framing error is generated by transmiter
b)
Framing error is generated by receiver
c)
Framing error is generated by both transmiter and receiver
d)
The purpose of the stop bit is to signal to the receiver the end of the frame
59.
The UART frame is configured 1 bits Stop + 7 bits Data + 1 bit Parity + 1 bit Start. Baud rate is 9600, transfer LSB first, parity type is even. The signal was captured as in the picture. So, What data was sent by UART?
Picture
a)
0b00111001
b)
0b10011100
c)
0b0111001
d)
0b1001110
60.
Which statement is correct?
a)
The receiver uses a timer when it samples
b)
The receiver will reset its timer to resynchronize for sample if it detects Start bit
c)
New start bit can appear immediately after Stop bit
d)
All options are correct
61.
To communicate between two devices via UART, what elements need to be consistent between the two devices?
a)
Baud rate, number of data bits
b)
Baud rate, number of data bits, parity type
c)
Baud rate, number of data bits, parity type, number of stop bits
d)
Baud rate, number of data bits, parity type, number of stop bits, transfer MSB or LSB
62.
Which statement is correct about RS232?
a)
Logic 1 is any signal from -25V to -3V
b)
Logic 1 is any signal from -24V to -1V
c)
Logic 0 is any signal from +3V to 25V
d)
Logic 0 is any signal from +1V to 27V
63.
Which statement is correct?
a)
CTS signal is used to request receiver prepare to receive data
b)
RTS signal is used to inform the transmiter that the receiver is ready to receive data
c)
RTS signal is used to request receiver prepare to receive data
d)
CTS signal is used to inform the transmiter that the receiver is ready to receive data
64.
Which statement is correct about RS232?
a)
Capable of long distance transmission
b)
Has better anti-interference ability
65.
On the MCU S32K144, which statement is incorrect about select bit mode on LPUART peripheral?
a)
BAUD[M10] bit is used to select 10 bit mode
b)
CTRL[M7] bit is used to select 7 bit mode
c)
CTRL[M] bit is used to select 9 bit or 8 bit mode
d)
CTRL[M] bit is used to select 11 bit or 9 bit or 8 bit mode
66.
On the MCU S32K144, how to configure to transfer 7 bit data mode?
a)
BAUD[M10] = 1
CTRL[M7] = 1
CTRL[M] = 1
b)
BAUD[M10] = 0
CTRL[M7] = 1
CTRL[M] = 1
c)
BAUD[M10] = 0
CTRL[M7] = 1
CTRL[M] = 0
d)
BAUD[M10] = 0
CTRL[M7] = 0
CTRL[M] = 0
67.
On the MCU S32K144, how to configure to transfer 10 bit data mode?
a)
BAUD[M10] = 1
CTRL[M7] = 1
CTRL[M] = 1
b)
BAUD[M10] = 0
CTRL[M7] = 1
CTRL[M] = 1
c)
BAUD[M10] = 0
CTRL[M7] = 1
CTRL[M] = 0
d)
BAUD[M10] = 1
CTRL[M7] = 0
CTRL[M] = 0
68.
On the MCU S32K144, how to configure to transfer 8 bit data mode?
a)
BAUD[M10] = 0
CTRL[M7] = 0
CTRL[M] = 0
b)
BAUD[M10] = 0
CTRL[M7] = 0
CTRL[M] = 1
c)
BAUD[M10] = 0
CTRL[M7] = 1
CTRL[M] = 0
d)
BAUD[M10] = 1
CTRL[M7] = 1
CTRL[M] = 0
69.
On the MCU S32K144, how to configure to transfer 9 bit data mode?
a)
BAUD[M10] = 0
CTRL[M7] = 0
CTRL[M] = 0
b)
BAUD[M10] = 0
CTRL[M7] = 0
CTRL[M] = 1
c)
BAUD[M10] = 0
CTRL[M7] = 1
CTRL[M] = 0
d)
BAUD[M10] = 1
CTRL[M7] = 1
CTRL[M] = 0
70.
On the MCU S32K144, how to configure 1 bit stop?
a)
BAUD[SBNS] = 0
b)
BAUD[SBNS] = 1
c)
BAUD[SBNS] = 2
d)
BAUD[SBNS] = 3
71.
On the MCU S32K144, how to configure OSR and SBR to have 8000 baud. Know that LPUART module clock is 20MHz.
a)
BAUD[OSR] = 3
BAUD[SBR] = 624
b)
BAUD[OSR] = 3
BAUD[SBR] = 625
c)
BAUD[OSR] = 4
BAUD[SBR] = 625
d)
BAUD[OSR] = 4
BAUD[SBR] = 624
72.
On the MCU S32K144, how to configure OSR and SBR to have 4200 baud. Know that LPUART module clock is 16MHz.
a)
BAUD[OSR] = 5
BAUD[SBR] = 762
b)
BAUD[OSR] = 5
BAUD[SBR] = 763
c)
BAUD[OSR] = 4
BAUD[SBR] = 762
d)
BAUD[OSR] = 4
BAUD[SBR] = 761
73.
On the MCU S32K144, which statement is incorrect about LPUART peripheral?
a)
STAT[MSBF] = 1 is used to transfer the most significant bit first
b)
STAT[RXINV] = 1 is used to invert receive data
c)
STAT[TDRE] = 1 indicates transmit data register full
d)
STAT[TC] = 1 indicates transmit data complete
74.
On the MCU S32K144, which statement is correct about LPUART peripheral?
a)
STAT[RDRF] = 1 indicates receive data register empty
b)
STAT[OR] = 1 indicates overrun error
c)
STAT[NF] = 1 indicates noise error
d)
STAT[RDRF] = 1 indicates receive data register full
75.
On the MCU S32K144, which bits will be used to enable transmiter and receiver?
a)
CTRL[TIE] = 1
b)
CTRL[RIE] = 1
c)
CTRL[RE] = 1
d)
CTRL[TE] = 1
76.
On the MCU S32K144, which bits will ensure transmit buffer empty?
a)
STAT[RDRF] = 1
b)
STAT[TC] = 1
c)
STAT[TDRE] = 1
77.
On the MCU S32K144, which bit will be used to enable interrupt for RDRF flag?
a)
CTRL[RIE] = 1
b)
CTRL[RE] = 1
c)
CTRL[TE] = 1
78.
On the MCU S32K144, which bit will be used to enable interrupt for TDRE flag?
a)
CTRL[TIE] = 1
b)
CTRL[TE] = 1
c)
CTRL[RIE] = 1
79.
On the MCU S32K144, how to configure generation and checking even parity?
a)
CTRL[PE] = 0
CTRL[PT] = 0
b)
CTRL[PE] = 1
CTRL[PT] = 0
c)
CTRL[PE] = 0
CTRL[PT] = 1
d)
CTRL[PE] = 1
CTRL[PT] = 1
80.
On the MCU S32K144, how to transmit data 0x03 after configuration completed?
a)
DATA register needs to be written 0x30000000
b)
DATA register needs to be written 0x00002003
c)
DATA register needs to be written 0x00000003 when STAT[TDRE] = 1
d)
DATA register needs to be written 0x00002003 when STAT[TDRE] = 1
81.
On the MCU S32K144, how to read data in receive buffer?
a)
DATA register needs to be read when STAT[TDRE]=1
b)
DATA register needs to be read when STAT[TDRE]=0
c)
DATA register needs to be read when STAT[RDRF]=0
d)
DATA register needs to be read when STAT[RDRF]=1
Reset
