Microprocessors: From Assembly Language to C Using thePIC18Fxx2

| 1. | Determine the correct settings for the PIC18 CKE and CKP configuration bits for interfacing to this device. |
|
| 2. | How many wiper positions does this digital potentiometer support? |
|
| 3. | Is there a method for determining the current wiper register contents? If yes, how is this done? |
|
Answers
| 1. | The clock is idle low, so CKP = 0. Data is stable on the rising clock edge, so CKE = 1. |
| 2. | |
| 3. | The wiper cannot be read. |
| 4. | Determine the correct settings for the PIC18 CKE and CKP configuration bits for interfacing to this device. |
|
| 5. | How many wiper positions does this digital potentiometer support? |
|
| 6. | Is there a method for determining the current wiper register contents? If yes, how is this done? |
|
| 7. | This potentiometer has a zero-crossing detection feature. What does this mode do and why is it included? |
|
| 8. | What is the maximum clock frequency supported for the SPI port? |
|
Answers
| 4. | |
| 5. | The MAX5408 supports 32 wiper positions. |
| 6. | |
| 7. | If zero crossing is enabled, after a "change wiper position" command is executed the potentiometer will wait until the voltage across the potentiometer is zero before changing the wiper. This reduces clicks and pops in an audio application. The potentiometer has an internal timer that will timeout after 50 ms when waiting for the zero crossing condition. |
| 8. |
| 9. | What is the organization of this device and total bit capacity? |
|
| 10. | Determine the correct settings for the PIC18 CKE and CKP configuration bits... |