SLAAED8 October   2024 TAC5111 , TAC5112 , TAC5211 , TAC5212 , TAC5412-Q1 , TAD5112 , TAD5212

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Signal Generator 1 (SG1)
    1. 2.1 Signal Generator 1 Introduction
    2. 2.2 Signal Generator 1 Amplitude and Output Channels
    3. 2.3 Signal Generator 1 Frequency
    4. 2.4 Generating Register Coefficients Using PPC3
  6. 3ADSR Envelope Parameters
    1. 3.1 ADSR Introduction
    2. 3.2 Restart and Sustain Timers
    3. 3.3 Attack, Release, and Decay Timers
    4. 3.4 Sustain Level
    5. 3.5 ADSR Envelope Example Script
    6. 3.6 Ultrasonic Activity Detection (UAD) ADSR Mode
  7. 4Signal Generator 2 (SG2)
    1. 4.1 Signal Generator 2 Introduction
    2. 4.2 Signal Generator 2 Amplitude
    3. 4.3 Signal Generator 2 Frequency
    4. 4.4 Signal Generator 2 Modes
      1. 4.4.1 Manual Mode
      2. 4.4.2 Continuous Pulse Mode
      3. 4.4.3 One Shot Mode
  8. 5Summary

Generating Register Coefficients Using PPC3

PPC3 is recommended to generate register values for all forms of tone generation configurations. This section uses SG1 amplitude and frequency configuration as an example to generate I2C scripts.

The mixing volume coefficient and this gain formula configure SG1 and SG2 amplitudes. Fill in coefficient values in the GUI boxes like Figure 2-2 suggests. This applies to all tone generators.

I2C script generation can be accessed offline in PPC3 without connecting a device to the software.

Table 2-4 PPC3 Guide to Generate Hexadecimal Register Coefficients

Instruction

Image
Locate DAC Mixer Page in PPC3.
TAC5412QRGERQ1 PPC3 step
                                        1 Figure 2-4 PPC3 step 1

Open I2C Monitor Window.

TAC5412QRGERQ1 PPC3 step
                                        2 Figure 2-5 PPC3 step 2

Select LOG page. Click on green button. The button turns red. This means PPC3 is ready to record next I2C executions.

TAC5412QRGERQ1 PPC3 step
                                        3 Figure 2-6 PPC3 step 3

Return to main PPC3 window. Configure amplitude and frequency using GUI. Observe change in hex values on LOG window.

TAC5412QRGERQ1 PPC3 step
                                        4 Figure 2-7 PPC3 step 4