| Electronic Components Datasheet Search |
|
CS43131 Datasheet(PDF) 101 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS43131 Datasheet(HTML) 101 Page - Cirrus Logic |
|
101 / 156 page ![]() DS1155F1 101 CS43131 5.14 Headphone Load Measurement Ex. 5-19 demonstrates measuring DC impedance for both channels of the CS43131. Example 5-19. Sequence for 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 Turn off impedance measurement subsystem HP Load 1. 0xE0000 0x00 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 0 00 0 00 0 0 Disable impedance measurement Stop DC impedance measurement 10 Wait for interrupt. Read Interrupt Status 4 register (0xF0003). Check for HPLOAD_OFF_INT = 1. 11 Select Channel B HP Load 1. 0xE0000 0x10 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 0 00 1 00 0 0 HPOUTB selected 12 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 13 Wait for interrupt. Check if HPLOAD_ON_INT = 1 in Interrupt Status 4 register (0xF0003) 14 Start DC impedance measurement HP Load 1. 0xE0000 0x91 HPLOAD_EN Reserved HPLOAD_CHN_SEL Reserved HPLOAD_AC_START HPLOAD_DC_START 1 00 1 00 0 1 HPOUTB selected Start DC impedance measurement 15 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. 16 DC impedance values are available in HP DC Load Status 0 (0xE000D) and HP DC Load Status 1 (0xE000E) registers. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |