| Electronic Components Datasheet Search |
|
DRV2667RGPR Datasheet(PDF) 36 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
DRV2667RGPR Datasheet(HTML) 36 Page - Texas Instruments |
|
36 / 51 page ![]() 8.3.2.2 Library Storage Example This example loads and plays the six effects shown in Figure 6-15 through Figure 6-20 into the waveform RAM. This is a simple example of how to put multiple waveforms in memory for subsequent low-latency recall. It is generally good practice to put the waveform header in page 1, and the waveform data in the following pages. When new waveforms are added later, the waveform data does not need to be shifted when this practice is used. Although this sequence seems long with the verbose descriptions, this example only takes 121 bytes of the waveform RAM, that is 6% of the available on-chip memory. I2C ADDRESS I2C DATA DESCRIPTION Control 0x02 0x00 Take device out of standby mode 0x01 0x03 Set to highest gain, 200 VPP maximum 0x03 0x02 Set sequencer to play waveform ID #2 (Figure 6-15) 0x04 0x01 Set sequencer to play waveform ID #1 (Figure 6-16) 0x05 0x03 Set sequencer to play waveform ID #3 (Figure 6-17) 0x06 0x04 Set sequencer to play waveform ID #4 (Figure 6-18) 0x07 0x05 Set sequencer to play waveform ID #5 (Figure 6-19) 0x08 0x06 Set sequencer to play waveform ID #6 (Figure 6-20) 0x09 0x00 End of sequence Header 0xFF 0x01 Set memory to page 1 0x00 0x1E Header size –1 0x01 0x81 Start address upper byte #1, also indicates Mode 3 0x02 0x00 Start address lower byte #1 0x03 0x01 Stop address upper byte #1 0x04 0x03 Stop address lower byte #1 0x05 0x01 Repeat count, play waveform #1 once 0x06 0x81 Start address upper byte #2, also indicates Mode 3 0x07 0x04 Start address lower byte #2 0x08 0x01 Stop address upper byte #2 0x09 0x07 Stop address lower byte #2 0x0A 0x01 Repeat count, play waveform #2 once 0x0B 0x81 Start address upper byte #3, also indicates Mode 3 0x0C 0x08 Start address lower byte #3 0x0D 0x01 Stop address upper byte #3 0x0E 0x0B Stop address lower byte #3 0x0F 0x01 Repeat count, play waveform #3 once 0x10 0x81 Start address upper byte #4, also indicates Mode 3 0x11 0x0C Start address lower byte #4 0x12 0x01 Stop address upper byte #4 0x13 0x1B Stop address lower byte #4 0x14 0x01 Repeat count, play waveform #4 once 0x15 0x81 Start address upper byte #5, also indicates Mode 3 0x16 0x1C Start address lower byte #5 0x17 0x01 Stop address upper byte #5 0x18 0x37 Stop address lower byte #5 0x19 0x01 Repeat count, play waveform #5 once 0x1A 0x81 Start address upper byte #6, also indicates Mode 3 DRV2667 SLOS751E – MARCH 2013 – REVISED JANUARY 2023 www.ti.com 36 Submit Document Feedback Copyright © 2023 Texas Instruments Incorporated Product Folder Links: DRV2667 |
|
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 |