← Documents Documentation/ABI/testing/debugfs-iio-ad9467 GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

AD9467 IIO calibration과 test mode debugfs ABI

AD9467 계열 IIO device에서 digital interface tuning 결과를 확인하고, 지원 test tone을 조회·실행하며 IIO backend가 제공하는 data correctness를 확인하는 debugfs interface를 설명합니다.

Source pathDocumentation/ABI/testing/debugfs-iio-ad9467
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Digital interface calibration table

debugfs-iio-ad9467:1-6

calibration_table_dump는 digital interface tuning 과정에서 채워진 calibration table을 출력합니다.

사용 가능한 ADC test tone

debugfs-iio-ad9467:8-30

in_voltage_test_mode_available은 device가 실제로 지원하는 test tone만 ABI mode 이름으로 나열합니다.

채널별 test mode 실행과 검증

debugfs-iio-ad9467:32-39

in_voltageY_test_mode에 쓰면 channel Y에서 test tone을 시작하고, 읽으면 현재 test와 지원되는 경우 IIO backend의 data correctness 정보를 확인합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/kernel/debug/iio/iio:deviceX/calibration_table_dump
2 KernelVersion: 6.11
4 Description:
5 This dumps the calibration table that was filled during the
6 digital interface tuning process.
7
8 What: /sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available
9 KernelVersion: 6.11
11 Description:
12 List all the available test tones:
13 - off
14 - midscale_short
15 - pos_fullscale
16 - neg_fullscale
17 - checkerboard
18 - prbs23
19 - prbs9
20 - one_zero_toggle
21 - user
22 - bit_toggle
23 - sync
24 - one_bit_high
25 - mixed_bit_frequency
26 - ramp
27
28 Note that depending on the actual device being used, some of the
29 above might not be available (and they won't be listed when
30 reading the file).
31
32 What: /sys/kernel/debug/iio/iio:deviceX/in_voltageY_test_mode
33 KernelVersion: 6.11
35 Description:
36 Writing to this file will initiate one of available test tone on
37 channel Y. Reading it, shows which test is running. In cases
38 where an IIO backend is available and supports the test tone,
39 additional information about the data correctness is given.
40

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Digital interface calibration table

1-6
항목내용
What/sys/kernel/debug/iio/iio:deviceX/calibration_table_dump
KernelVersion6.11
Contact[email protected]
DescriptionDigital interface tuning 과정에서 채워진 calibration table을 출력합니다.

사용할 수 있는 test tone 목록

8-30
항목내용
What/sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available
KernelVersion6.11
Contact[email protected]
Description사용할 수 있는 모든 test tone을 나열합니다.
순서Test tone ABI 문자열
1off
2midscale_short
3pos_fullscale
4neg_fullscale
5checkerboard
6prbs23
7prbs9
8one_zero_toggle
9user
10bit_toggle
11sync
12one_bit_high
13mixed_bit_frequency
14ramp

실제로 사용하는 device에 따라 위 항목 중 일부는 제공되지 않을 수 있습니다. 그런 항목은 이 파일을 읽을 때 목록에 나타나지 않습니다.

Channel Y test mode 제어

32-39
항목내용
What/sys/kernel/debug/iio/iio:deviceX/in_voltageY_test_mode
KernelVersion6.11
Contact[email protected]
Write이 파일에 쓰면 channel Y에서 사용 가능한 test tone 중 하나를 시작합니다.
Read현재 실행 중인 test를 보여 줍니다. IIO backend가 존재하고 test tone을 지원하는 경우에는 data correctness에 대한 추가 정보도 제공합니다.
AD9467 tuning과 test tone 검증 흐름
Digital interface tuningCalibration table filledcalibration_table_dumpInspect tuning result
Read test_mode_availableSelect supported ABI modeWrite in_voltageY_test_modeChannel Y generates test tone
Read in_voltageY_test_modeCurrent testIIO backend supportData correctness information

Calibration 결과 확인과 channel test tone 선택·검증은 서로 다른 debugfs 경로를 사용한다.