samples/drivers/clock_control_xec/README.html · samples/drivers/clock_control_xec/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Drivers · Clock

Microchip XEC Clock Control

Internal oscillator, crystal과 두 external input 경로를 board jumper로 구성합니다.

Official pathsamples/drivers/clock_control_xec/README.html
Source filesamples/drivers/clock_control_xec/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

Assembly 6915·6906의 JP1·JP2·JP121 연결과 관찰 pin을 정리합니다.

Families

MEC15xx · MEC172x

Clock

32KHz

Sources

Internal · Crystal · External

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 ED8EC35153FA215973CA4D80B82743641BB33212E3C9463EEC6774F97A6E1949
.. _clock_control_xec:

Microchip XEC (MEC15xx/MEC172x) clock control driver sample application
#######################################################################

Overview
********

This sample demonstrates configuring the 32KHz clock
options via device tree. The application prints out
hardware configuration and exercises some clock control
driver API's.

Building and Running
********************

The sample can be built and executed on boards using west.
No pins configurations, except GPIO014 is used as indicator for entry/exit and
GPIO060 for 48MHZ PLL clock out.
GPIO221 alternate function 1 is 32KHZ_OUT and can be monitored on Assembly 6915 JP7 pin 5.

Internal Silicon 32KHz Oscillator jumper configuration
MEC172x Assembly 6915

   JP1 pin 2 to GND (ground MEC172x XTAL1 pin)
   JP2 No jumper

Dual-ended 32KHz Crystal jumper configuration
MEC172x Assembly 6915

   Jumper on JP1 1-2 connect crystal Y1 pin 1 to MEC172x XTAL1
   Jumper on JP2 2-3 connect crystal Y1 pin 2 to MEC172x XTAL2

MEC172x Assembly 6906 (baseboard)

   Remove jumper on JP121 to prevent U15 32KHz 50% duty waveform
   from coupling to JP2 on Assembly 6915.

External single-ended 32KHz waveform to MEC172x XTAL2 input
MEC172x Assembly 6915

   JP1 pin 2 to GND (ground MEC172x XTAL1 pin)
   Jumper on JP2 1-2 connect external 32KHz signal to XTAL2

MEC172x Assembly 6906 (baseboard)

   Jumper on JP121 pins 3-4 connect U15 32KHz output to
   XTAL2_32KHZ_IN signal routed to XTAL2 MEC172x pin on Assembly 6915

External single-ended 32KHz waveform to MEC172x 32KHZ_IN pin
MEC172x Assembly 6915

   JP1 pin 2 to GND (ground MEC172x XTAL1 pin)
   Remove jumper on JP2

MEC172x Assembly 6906 (baseboard)

   Jumper on JP121 pins 1-2 connect U15 32KHz output to
   32KHZ_IN pin of MEC172x on Assembly 6915

Sample output
=============

.. code-block:: console

   Prints MEC172x VBAT and PCR register pertaining to power on status and
   clock control.

Part 3

한국어 전문 번역

개요

이 sample은 Device Tree를 통해 32KHz clock option을 구성하는 방법을 보여줍니다. Application은 hardware 구성을 출력하고 일부 clock control driver API를 실행합니다.

Build와 실행

이 sample은 west를 사용해 대상 board에서 build하고 실행할 수 있습니다. 별도의 pin 구성은 없지만 GPIO014는 진입과 종료 표시기로, GPIO060은 48MHZ PLL clock output으로 사용됩니다. GPIO221 alternate function 1은 32KHZ_OUT이며 Assembly 6915의 JP7 pin 5에서 관찰할 수 있습니다.

Internal silicon 32KHz oscillator jumper 구성, MEC172x Assembly 6915

  • JP1 pin 2를 GND에 연결해 MEC172x XTAL1 pin을 ground합니다.
  • JP2에는 jumper를 장착하지 않습니다.

Dual-ended 32KHz crystal jumper 구성, MEC172x Assembly 6915

  • JP1 1-2에 jumper를 장착해 crystal Y1 pin 1을 MEC172x XTAL1에 연결합니다.
  • JP2 2-3에 jumper를 장착해 crystal Y1 pin 2를 MEC172x XTAL2에 연결합니다.

MEC172x Assembly 6906 baseboard

  • Assembly 6915의 JP2로 U15 32KHz 50% duty waveform이 coupling되는 것을 막기 위해 JP121 jumper를 제거합니다.

MEC172x XTAL2 input에 외부 single-ended 32KHz waveform 연결, MEC172x Assembly 6915

  • JP1 pin 2를 GND에 연결해 MEC172x XTAL1 pin을 ground합니다.
  • JP2 1-2에 jumper를 장착해 외부 32KHz signal을 XTAL2에 연결합니다.

MEC172x Assembly 6906 baseboard

  • JP121 pin 3-4에 jumper를 장착해 U15 32KHz output을 XTAL2_32KHZ_IN signal에 연결합니다. 이 signal은 Assembly 6915의 XTAL2 MEC172x pin으로 연결됩니다.

MEC172x 32KHZ_IN pin에 외부 single-ended 32KHz waveform 연결, MEC172x Assembly 6915

  • JP1 pin 2를 GND에 연결해 MEC172x XTAL1 pin을 ground합니다.
  • JP2 jumper를 제거합니다.

MEC172x Assembly 6906 baseboard

  • JP121 pin 1-2에 jumper를 장착해 U15 32KHz output을 Assembly 6915의 MEC172x 32KHZ_IN pin에 연결합니다.

Sample 출력

Prints MEC172x VBAT and PCR register pertaining to power on status and
clock control.

Source

출처

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