|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
SPI configuration-port codec for the AD9238 (and the shared ADI high-speed-ADC SPI map it belongs to) - PROTOCORE_ENABLE_AD9238. More...
#include "protocore_config.h"Go to the source code of this file.
SPI configuration-port codec for the AD9238 (and the shared ADI high-speed-ADC SPI map it belongs to) - PROTOCORE_ENABLE_AD9238.
The AD9238 (12-bit, 20/40/65 MSPS dual ADC) has TWO interfaces that must not be confused:
Confidence note. The instruction-word framing, the transfer-register mechanism and every register address in Ad9238Reg are transcribed from AN-877 Rev. A, which defines the map this whole ADI ADC generation shares. AN-877 says which registers exist and where; it does not say which of them a given part implements, so confirm every address and bit position against your part's datasheet revision before writing to real silicon - per this project's hardware-verification policy (docs/KNOWN_LIMITATIONS.md), nothing here has been validated against a physical AD9238 yet.
Reference: Analog Devices AN-877 Rev. A, "Interfacing to High Speed ADCs via SPI", the FORMAT and CHIP PROGRAMMING sections. Cached at docs/learn/datasheets/an877.pdf.
Definition in file ad9238.h.