Other Parts Discussed in Thread:TAS5805M
您好,
請問AMP Initial (參考: stereo_flow2_48kHz_default_coldboot_-10dB.h tas5805m_init_sequence)寫入後
GLOBAL_FAULT1 Register (Offset = 71h) [reset = 0h] 為0x04.
查詢了一下, 為2 CLK_FAULT_I R 0h Clock fault.
請問是指什麼的Clock fault ?
Thanks,
Best Regards
yaolin chang:
0x37 = 09 (48KHz) 正確
0x39 = 08(Bit3)=> CLKDET_STATUS Register Field Descriptions
(This bit indicates whether the PLL is locked or not. The PLL will be
reported as unlocked when it is disabled.)
,
yaolin chang:
(This bit indicates whether the PLL is locked or not. The PLL will bereported as unlocked when it is disabled.)
=>是指SCLK clock不正確嗎?
,
Amy Luo:
(This bit indicates whether the PLL is locked or not. The PLL will be
reported as unlocked when it is disabled.)
括号中的意思是该位指示PLL是否被锁定,当PLL被禁用时,它将被报告为未锁定Clock fault可使器件进入HIZ状态而无PWM输出。请检查时钟时序(BCLK,LRCLK,data)是否遵循数据表规范,您可以使用示波器捕捉I2S时钟以查看时序
,
yaolin chang:
目前量起來沒什麼錯. LRCLK: 48KHz SCLK: 64fs 約3.xMHz
,
yaolin chang:
I2S CTRLRegister Setting是否需要對應設定 ? 目前AMP Initial (參考: stereo_flow2_48kHz_default_coldboot_-10dB.htas5805m_init_sequence)寫入
console:/tmp # ./rtd i2c r 1 0x2c 0x31 10
————————————————————
ADDRESS00 01 02 03 04 05 06 0708 09 0A 0B 0C 0D 0E 0F
————————————————————
0000000000 00 00 00 00 00 09 4008 00 — — — — — –…….@……..
————————————————————
,
yaolin chang:
您好,
我這邊重新下FAULT_CLEAR Register (Offset = 78h) => WRITE CLEAR BIT.Once write this bit to 1, device will clear analog fault
清除後, 再重寫一次Initial Setting後就有聲了.
但不確定為何開機後第一次寫Initial會Clock Fault
,
yaolin chang:
您好,
我這邊重新下FAULT_CLEAR Register (Offset = 78h) => WRITE CLEAR BIT.Once write this bit to 1, device will clear analog fault
清除後, 再重寫一次Initial Setting後就有聲了.
但不確定為何開機後第一次寫Initial會Clock Fault
,
yaolin chang:
請問: 以下link所提供的Initial setting, 是golden sample嗎?
,
Amy Luo:
开机后第一次写Initial会Clock Fault,检查下上电时序是否满足数据手册图 97. Start-up Sequence所示上电时序,看是否由上电时序造成的
TI提供的有关TAS5805M的设计开发资料都在其产品主页可以找到,软件资料可以在“设计与开发”–>"软件开发"中查找,链接中Initial setting应该不是golden sample
,
yaolin chang:
不好意思, 想再請教一下. 那是否有TAS5805 golden sample initial code.
以 (參考: stereo_flow2_48kHz_default_coldboot_-10dB.h tas5805m_init_sequence).
data約1900筆, I2C 400KHz寫大約需要花費2s, 請問是否能提供minimum configurations?
,
yaolin chang:
哪些parameter Info 是必須要重新設置的?
,
yaolin chang:
GLOBAL_FAULT1 Register (Offset = 71h) [reset = 0h] 為0x04.
查詢了一下, 為2 CLK_FAULT_I R 0h Clock fault.
=> 請問SCLK與LRCLK 電壓標準為多少呢?
開機時,量這兩個clock頻率沒錯, 但電壓會從2.x V升到快4V. 請問這會造成Clock fault嗎?
Note: I2C data write是在蠻後面才做.
,
yaolin chang:
GLOBAL_FAULT1 Register (Offset = 71h) [reset = 0h] 為0x04.
查詢了一下, 為2 CLK_FAULT_I R 0h Clock fault.
=> 請問SCLK與LRCLK 電壓標準為多少呢?
開機時,量這兩個clock頻率沒錯, 但電壓會從2.x V升到快4V. 請問這會造成Clock fault嗎?
Note: I2C data write是在蠻後面才做.