自动化技术与应用
自動化技術與應用
자동화기술여응용
TECHNIQUES OF AUTOMATION AND APPLICATIONS
2012年
12期
81-85
,共5页
PSOC%I2C%磁隔离电路%中断%测控网络
PSOC%I2C%磁隔離電路%中斷%測控網絡
PSOC%I2C%자격리전로%중단%측공망락
本文介绍利用一体化数字与模拟混合处理器PSOC提供的I2C固件元件来实现主节点和从节点间的数据通信.主节点通过通用串行接口UART完成与上位机的信息交换,通过I2C接口将上位机的数据转换成从节点能接受的格式,起到协议转换器的作用.从节点接收主节点的命令和数据后,对命令进行解码,采集传感器的数据并进行信息处理,将数据发送给主节点,并对本节点的外设进行驱动和控制.利用PSOC的I2C设计的测控网络结构简单、功能强、图形化集成开发环境提供原理图设计、API函数和中断支持,是一种有发展前途的I2C测控网络实现方法.
本文介紹利用一體化數字與模擬混閤處理器PSOC提供的I2C固件元件來實現主節點和從節點間的數據通信.主節點通過通用串行接口UART完成與上位機的信息交換,通過I2C接口將上位機的數據轉換成從節點能接受的格式,起到協議轉換器的作用.從節點接收主節點的命令和數據後,對命令進行解碼,採集傳感器的數據併進行信息處理,將數據髮送給主節點,併對本節點的外設進行驅動和控製.利用PSOC的I2C設計的測控網絡結構簡單、功能彊、圖形化集成開髮環境提供原理圖設計、API函數和中斷支持,是一種有髮展前途的I2C測控網絡實現方法.
본문개소이용일체화수자여모의혼합처리기PSOC제공적I2C고건원건래실현주절점화종절점간적수거통신.주절점통과통용천행접구UART완성여상위궤적신식교환,통과I2C접구장상위궤적수거전환성종절점능접수적격식,기도협의전환기적작용.종절점접수주절점적명령화수거후,대명령진행해마,채집전감기적수거병진행신식처리,장수거발송급주절점,병대본절점적외설진행구동화공제.이용PSOC적I2C설계적측공망락결구간단、공능강、도형화집성개발배경제공원리도설계、API함수화중단지지,시일충유발전전도적I2C측공망락실현방법.