首页> 外国专利> METHOD AND APPARATUS FOR SWITCHING BETWEEN MASTER MCU(MICRO CONTROLLER UNIT) AND SLAVE MCU OF DUAL MCU

METHOD AND APPARATUS FOR SWITCHING BETWEEN MASTER MCU(MICRO CONTROLLER UNIT) AND SLAVE MCU OF DUAL MCU

机译:双MCU主MCU和从MCU之间切换的方法和装置

摘要

Disclosed are a method and an apparatus for switching between a master MCU and a slave MCU in a dual MCU. A method for handshaking a dual MCU including a master MCU and a slave MCU comprises the steps of: setting a first GPIO output of a first MCU set as a master MCU to a high state; performing a task synchronized with the first MCU and a second MCU set as a slave MCU; setting a second GPIO output of the second MCU to a high state; allowing the first MCU to detect a rising edge due to the high status in the second GPIO output and to perform SPI communications between the first MCU and the second MCU; setting the second GPIO output channel of the second MCU to a low state after the completion of the SPI communications; and setting the first GPIO output channel of the first MCU to a low state. In addition, handshaking can be performed when a switch between a master MCU and a slave MCU fails to occur.
机译:公开了一种用于在双MCU中的主MCU和从MCU之间切换的方法和设备。一种用于对包括主MCU和从MCU的双MCU进行握手的方法,包括以下步骤:将被设置为主MCU的第一MCU的第一GPIO输出设置为高状态;执行与第一MCU和设置为从MCU的第二MCU同步的任务;将第二MCU的第二GPIO输出设置为高电平;允许第一MCU检测由于第二GPIO输出中的高状态而引起的上升沿,并在第一MCU和第二MCU之间执行SPI通信; SPI通信完成后,将第二MCU的第二GPIO输出通道设置为低电平;将第一MCU的第一GPIO输出通道设置为低电平。另外,当主MCU和从MCU之间的切换失败时,可以执行握手。

著录项

  • 公开/公告号KR20150103905A

    专利类型

  • 公开/公告日2015-09-14

    原文格式PDF

  • 申请/专利权人 MANDO CORPORATION;

    申请/专利号KR20140025546

  • 发明设计人 KANG HWAN JOON;JON UNG;

    申请日2014-03-04

  • 分类号G06F9/48;G06F15/163;

  • 国家 KR

  • 入库时间 2022-08-21 14:59:17

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号