View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002631 | FSVybrid | Audio | public | 2015-04-29 06:49 | 2018-04-04 08:45 |
Reporter | derksen | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | V2.1 | ||||
Target Version | V3.0 | ||||
Summary | 0002631: Fixed value for lineout volume on SGTL5000 | ||||
Description | Lineout volume has currently fixed register value. This works but it's ill-suited for different boards (revisions) like armStoneA5, PicoCOMA5, NetDCUA5 and PicoMODA5 because this value is depend on VDDA and VDDIO voltages. | ||||
Additional Information | UINT32 SGTL5000Codec::SGTL5000CodecInit(VOID) … //------------------Startup volume configuration----------------- // Set LINEOUT volume based on VAG and LINEOUT_VAG values // The LO_VOL_LEFT and LO_VOL_RIGHT be 40*log(VAG_VAL/LO_VAGCNTRL) + 15 // VDDA VDDIO LO_VOL_* // 1.8V 1.8V 0x0F // 1.8V 3.3V 0x06 // 3.3V 1.8V 0x19 // 3.3V 3.3V 0x0F uiStatus = SGTL5000WriteRegister(SGTL5000_CHIP_LINE_OUT_VOL_ADDR, 0x0F0F); Lineout value can be calculate by following formula 40*log(VDDA/2/VDDIO/2) + 15 = 40*log(VDDA/VDDIO) + 15 In linux this value is set by platform file and would be used by codec initialization. | ||||
Found Driver Version | |||||
Fixed Driver Version | |||||
Forum Link | |||||