hardware/peripherals/smbus.html · hardware/peripherals/smbus.rst 공식 원문 ↗

Zephyr 3.7.0 · Hardware · Peripherals · SMBus

System Management Bus(SMBus)

I2C에서 파생된 motherboard management bus의 Host Notify와 SMBALERT# 흐름을 설명합니다.

Official pathhardware/peripherals/smbus.html
Source filehardware/peripherals/smbus.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

Controller·Peripheral·Host 역할과 peripheral-initiated communication 두 방식을 구분합니다.

Notify

Host Notify · SMBALERT#

Spec

SMBus 2.0

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 42C8C7C701E7A494AE0BF9AEE1EBA408238C5CA384CE99F0E551E287537BB70A
.. _smbus_api:

System Management Bus (SMBus)
#############################

.. contents::
    :local:
    :depth: 2

Overview
********

System Management Bus (SMBus) is derived from  I2C for communication
with devices on the motherboard. A system may use SMBus to communicate
with the peripherals on the motherboard without using dedicated control
lines. SMBus peripherals can provide various manufacturer information,
report errors, accept control parameters, etc.

Devices on the bus can operate in three roles: as a Controller that
initiates transactions and controls the clock, a Peripheral that
responds to transaction commands, or a Host, which is a specialized
Controller, that provides the main interface to the system's CPU.
Zephyr has API for the Controller role.

SMBus peripheral devices can initiate communication with Controller
with two methods:

* **Host Notify protocol**: Peripheral device that supports the Host Notify
  protocol behaves as a Controller to perform the notification. It writes
  a three-bytes message to a special address "SMBus Host (0x08)" with own
  address and two bytes of relevant data.
* **SMBALERT# signal**: Peripheral device uses special signal SMBALERT# to
  request attention from the Controller. The Controller needs to read one byte
  from the special "SMBus Alert Response Address (ARA) (0x0c)". The peripheral
  device responds with a data byte containing its own address.

Currently, the API is based on `SMBus Specification`_ version 2.0

.. note::
   See :ref:`coding_guideline_inclusive_language` for information about
   the terminology used in this API.

.. _smbus-controller-api:

SMBus Controller API
********************

Zephyr's SMBus controller API is used when an SMBus device controls the bus,
particularly the start and stop conditions and the clock.  This is
the most common mode used to interact with SMBus peripherals.

Configuration Options
*********************

Related configuration options:

* :kconfig:option:`CONFIG_SMBUS`

API Reference
*************

.. doxygengroup:: smbus_interface

.. _SMBus Specification: http://smbus.org/specs/smbus20.pdf

Part 3

한국어 전문 번역

Overview

SMBus(System Management Bus)는 motherboard의 device와 통신하기 위해 I2C에서 파생된 bus입니다. System은 dedicated control line 없이 SMBus로 motherboard peripheral과 통신할 수 있습니다. SMBus peripheral은 여러 manufacturer information 제공, error 보고, control parameter 수신 등을 수행할 수 있습니다.

Bus device는 세 역할로 동작할 수 있습니다. Transaction을 시작하고 clock을 제어하는 Controller, transaction command에 응답하는 Peripheral, system CPU의 main interface를 제공하는 specialized Controller인 Host입니다. Zephyr는 Controller 역할의 API를 제공합니다.

SMBus peripheral device가 Controller와 통신을 시작하는 방법은 다음 두 가지입니다.

  • Host Notify protocol: 이를 지원하는 Peripheral device가 notification을 수행할 때 Controller처럼 동작합니다. 자신의 address와 관련 data 2-byte를 포함한 3-byte message를 특수 address SMBus Host (0x08)에 씁니다.
  • SMBALERT# signal: Peripheral device가 특수 SMBALERT# signal로 Controller의 attention을 요청합니다. Controller는 SMBus Alert Response Address (ARA) (0x0c)에서 1-byte를 읽어야 하며, peripheral은 자신의 address가 든 data byte로 응답합니다.

현재 API는 SMBus Specification 2.0을 기준으로 합니다.

SMBus Controller API

SMBus device가 bus, 특히 start·stop condition과 clock을 제어할 때 Zephyr SMBus controller API를 사용합니다. SMBus peripheral과 상호 작용하는 가장 일반적인 mode입니다.

Configuration Options

관련 configuration option은 CONFIG_SMBUS입니다.

API Reference

smbus_interface Doxygen group이 SMBus interface의 공식 API reference를 제공합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.