Texas Instruments TMS320DM36X Industry Compliance Statement, Clock Control, Signal Descriptions

Page 9

www.ti.com

Peripheral Architecture

1.2Industry Compliance Statement

The ADC interface does not conform to any recognized industry standards.

2 Peripheral Architecture

2.1Clock Control

The ADC interface is driven by the auxiliary clock of the PLL controller. The frequency of the auxiliary clock is equal to the input reference clock of the PLL controller, and therefore is not affected by the multiplier and divider values of the PLL controller. For more information on device clocking, refer to the TMS320DM365 Digital Media System-on-Chip (DMSoC) ARM Subsystem Reference Guide (SPRUFG5).

2.2Signal Descriptions

The ADC interface receives analog inputs on six separate pins: ADC_CH [5:0]. Refer to the TMS320DM365 Digital Media System-on-Chip Data Manual (SPRS457) for more information on these pins.

2.3Functional Operation

The ADC interface can operate in either one-shot mode or free-run mode. In both modes, the ADC peripheral has a Comparison A/D Lower data register (CMPLDAT) and a Comparison A/D Upper data register (CMPUDAT) to specify, respectively, the lower and upper data for comparison. The analog input channel to be used for scan conversion can be configured using the CHSEL registers and on the CMPTGT register, set the analog input data to be the target of comparator. For one-shot mode operation, see Section 2.3.1; for Free-Run mode operation, see Section 2.3.2.

2.3.1One-Shot Mode Operation

In one-shot mode operation, the ADC interface does not run continuously and A/D conversion terminates when scanning is completed.

For one-shot mode operation, the ADC interface should first be configured for scan mode (SCNMD) and comparator mode (CMPMD) in ADC interface control register (ADCTL), along with other configuration options. The ADC interface sets the BUSY bit in ADCTL once it is started by writing a 1 to the START bit in the ADCTL register

Once started, the ADC interface genertaes the output after A/D conversion time. A/D conversion time is obtained by Analog switch setup time + ADC setup time + A/D conversion time.

Analog switch setup time = Peripheral CLK period * (SET_DIV[5:0] + 3)*2

ADC setup time = Peripheral CLK period * (SET_DIV[15:0] + 1)*2

A/D conversion time = Peripheral CLK period* (SET_DIV[5:0] + 1)*24

When the A/D scan conversion is finished for all channels, the peripheral sends an interrupt to the system (if the interrupt is enabled in ADCTL register). The START bit will cleared automatically when A/D conversion in One-Shot mode terminates. The ADC interface then becomes inactive until the START bit is written a 1 again.

The ADC Interface is stopped during one-shot mode operation by changing the START bit to 0 in ADCTL. After START bit turns to '0', it will be stop at the completion of current sample conversion. If user change configuration, then user need to wait at least a time which defined by SETDIV register after writing '0' into START bit.

SPRUFI7–March 2009

Analog to Digital Converter (ADC) Interface

9

Image 9
Contents Users Guide Submit Documentation Feedback Contents List of Figures Read This First Related Documentation From Texas Instruments Related Documentation From Texas Instruments ADC if Block Diagram Block DiagramOne-Shot Mode Operation Signal DescriptionsIndustry Compliance Statement Clock ControlInterrupt Support Reset ConsiderationsEdma Event Support Power ManagementEmulation Considerations ADC interface Memory Map RegistersADC Control Adctl Field Descriptions AdctlCmpldat CmptgtComparator Target Channel Cmptgt Field Descriptions Comparison A/D Lower Data Cmpldat Field DescriptionsCmpudat Setup Divide Value for Start A/D Setdiv Field DescriptionsSetdiv ChselAD0DAT Chsel setting for Channel selectionAD1DAT Analog Input Channel Select Chsel Field Descriptions10 AD3DAT AD2DAT11 AD4DAT D Conversion Data 2 AD2DAT Field DescriptionsEmuctrl 12 AD5DATD Conversion Data 4 AD4DAT Field Descriptions D Conversion Data 5 AD5DAT Field DescriptionsImportant Notice
Related manuals
Manual 134 pages 23.68 Kb