Other Parts Discussed in Thread: TLV320AIC3204, TLV320AIC3254
Hello,
when the beep generator is activated, a clear noise can be seen or heard on the beep signal.
The quieter the beep is, the clearer the noise can be heard.
If I deactivate the "Automute" function, the noise can also be heard after the beep.
But not before. In the appendix my code and a screenshot of my scope measured by the LOL (TP09).
How can I reduce noise?
# Reset w 30 01 01 # Power UP Analog Block w 30 00 01 w 30 01 08 w 30 02 01 # Init DAC (44100kHz) MCLK=12MHz w 30 00 00 w 30 04 03 91 07 #PLL_clkin = MCLK, codec_clkin = PLL_CLK, PLL on/P=1, R=1, J=7 w 30 07 26 F0 #D=9968 w 30 0B 81 91 #NDAC = 1, divider powered on/MDAC = 17, divider powered on w 30 0D 00 80 #DOSR = 128 w 30 12 81 91 #NADC = 1/MADC = 17 w 30 14 80 #AOSR = 128 # Processing Block PRB_P25 w 30 00 00 w 30 3C 19 w 30 1B 0C w 30 1E 81 w 30 1E 01 w 30 1B 00 # DAC Volume w 30 41 81 81 #DRC settings w 30 00 00 # go to page 0 w 30 41 18 #make gain of Left DAC=12 dB w 30 42 18 #make gain of right DAC=12 dB w 30 44 7F #Enable DRC for both DAC channels, set threshold=24dB, Hysteresis= 3dB w 30 45 00 #Make DRC hold=0 ms w 30 46 E2 #Make DRC attack and Decay as required # inputsetting w 30 00 01 w 30 34 54 w 30 37 54 w 30 39 41 w 30 36 41 # Output setting w 30 00 00 w 30 3F 94 #DAC_L OUTPUT ON w 30 3F D4 #DAC_R OUTPUT ON w 30 40 00 #DAC_L UNMUTE (AutoMUTE_ON) w 30 40 06 #DAC_R UNMUTE (AutoMUTE_ON) w 30 00 01 w 30 0E 0A #MAL und LDAC auf LOL w 30 0F 0A #MAR und RDAC auf LOR w 30 09 0C w 30 13 0A #Verstärkung LOR w 30 12 0A #Verstärkung LOL w 30 09 0F # Workaround I²S Master w 30 00 00 w 30 1B 0C w 30 1E 81 w 30 1E 01 w 30 1B 00 # Beepsequenz # Registertable 00 w 30 00 00 # Beeplänge w 30 49 00 w 30 4A 11 w 30 4B 3A # Beepfrequenz w 30 4C 09 #Sinuskoeffizient w 30 4D 1C #Sinuskoeffizient w 30 4E 7F #Cosinuskoeffizient w 30 4F AD #Cosinuskoeffizient # Ausgabe/Lautstärke w 30 48 0F w 30 47 8F
Richard Dicklberger