| поискавой системы для электроныых деталей |
|
CS43131 датащи(PDF) 104 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS43131 датащи(HTML) 104 Page - Cirrus Logic |
|
104 / 156 page ![]() 104 DS1155F1 CS43131 5.14 Headphone Load Measurement Ex. 5-20 demonstrates measuring both AC and DC impedance for both channels of the CS43131. Example 5-20. AC and DC Impedance Measurement STEP TASK REGISTER/BIT FIELDS VALUE DESCRIPTION 1 Read Interrupt Status 4 register (0xF0003) to clear sticky bits. 2 Enable HP Load Interrupts Interrupt Mask 4. 0xF0013 0x00 HPLOAD_NO_DC_INT_MASK HPLOAD_UNPLUG_INT_MASK HPLOAD_HPON_INT_MASK HPLOAD_OOR_INT_MASK HPLOAD_AC_DONE_INT_MASK HPLOAD_DC_DONE_INT_MASK HPLOAD_OFF_INT_MASK HPLOAD_ON_INT_MASK 0 0 0 0 0 0 0 0 Enable HPLOAD_NO_DC interrupt Enable HPLOAD_UNPLUG interrupt Enable HPLOAD_HPON interrupt Enable HPLOAD_OOR interrupt Enable HPLOAD_AC_DONE interrupt Enable HPLOAD_DC_DONE interrupt Enable HPLOAD_OFF interrupt Enable HPLOAD_ON interrupt 3 Select Channel A HP Load 1. 0xE0000 0x00 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 0 00 0 00 0 0 HPOUTA selected 4 Enable impedance subsystem HP Load 1. 0xE0000 0x80 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 1 00 0 00 0 0 Enable impedance subsystem 5 Wait for interrupt. Check if HPLOAD_ON_INT = 1 in Interrupt Status 4 register (0xF0003) 6 Start DC impedance measurement HP Load 1. 0xE0000 0x81 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 1 00 0 00 0 1 Start DC impedance measurement 7 Wait for interrupt. Read Interrupt Status 4 register (0xF0003). If HPLOAD_UNPLUG_INT = 1, go to the last step as an error has occurred. If HPLOAD_OOR_INT = 1, go to the last step as an error has occurred. Otherwise, if HPLOAD_DC_DONE_INT = 1, go to the next step. 8 DC impedance values are available in HP DC Load Status 0 (0xE000D) and HP DC Load Status 1 (0xE000E) registers. 9 Set HP load measurement frequency to desired frequency. Assuming 1 kHz. HP Load Measurement 1. 0xE0003 0xA8 HPLOAD_MEAS_FREQ_LSB 0xA8 Set measurement frequency = 1 kHz HP Load Measurement 2. 0xE0004 0x00 HPLOAD_MEAS_FREQ_MSB 0x00 MSB of load measurement frequency 10 Start AC impedance measurement HP Load 1. 0xE0000 0x82 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 1 00 0 00 1 0 Start AC impedance measurement 11 Wait for interrupt. Read Interrupt Status 4 register (0xF0003). If HPLOAD_UNPLUG_INT = 1, go to the last step as an error has occurred. If HPLOAD_OOR_INT = 1, go to the last step as an error has occurred. Otherwise, if HPLOAD_AC_DONE_INT = 1, go to the next step. 12 AC impedance values are available in HP AC Load Status 0 (0xE0010) and HP AC Load Status 1 (0xE0011) registers. 13 Stop AC impedance measurement. HP Load 1. 0xE0000 0x80 14 If another frequency point is desired, go back to step 9. Otherwise continue. 15 Disable impedance measurement subsystem and select channel B HP Load 1. 0xE0000 0x10 16 Wait for interrupt. Read Interrupt Status 4 register (0xF0003). Check for HPLOAD_OFF_INT = 1. If Channel B measurement is desired, continue to the next step; otherwise go to step 30 to end the impedance measurement. 17 Enable impedance subsystem HP Load 1. 0xE0000 0x90 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 1 00 1 00 0 0 Enable impedance subsystem HPOUTB selected 18 Wait for interrupt. Check if HPLOAD_ON_INT = 1 in Interrupt Status 4 register (0xF0003) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |