Back to the 2021 paper

Module 5: External Communication Interface

20212m

Which byte has the capability to interrupt the slave when SM2 bit is assigned to be '1' after the initialization process in the multiprocessor mode of communication?
(i) Address byte
(ii) Data byte
(iii) Both (i) and (ii)
(iv) None of the above

Worked SolutionAI Assisted

Answer: (i) Address byte

Explanation: In 8051 multiprocessor mode (SM2=1), SCON bit SM2 enables filtering. When SM2=1 after initialization, the slave's RI is activated only if the received 9th bit (RB8) =1, which indicates an address byte (9th bit =1 marks address, 0 marks data). Data bytes (9th bit 0) do not interrupt slaves whose SM2=1 unless their address was previously matched (then SM2 is cleared by software). Thus only address byte interrupts all slaves when SM2=1.

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.