File tree 2 files changed +5
-2
lines changed
eloc610LowPowerPartition/src 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ i2s_config_t i2s_mic_Config = {
17
17
#endif
18
18
19
19
.communication_format = I2S_COMM_FORMAT_I2S,
20
- .intr_alloc_flags = ESP_INTR_FLAG_LEVEL3 ,
20
+ .intr_alloc_flags = I2S_INTR_PIRO ,
21
21
.dma_buf_count = gBufferCount , // so 2000 sample buffer at 16khz sr gives us 125ms to do our writing
22
22
.dma_buf_len = gBufferLen , // 8 buffers gives us half second
23
23
.use_apll = gUseAPLL , // not getting set. gUseAPLL, //the only thing that works with LowPower/APLL is 16khz 12khz??
Original file line number Diff line number Diff line change 41
41
#define OTHER_GPIO_BUTTON GPIO_NUM_0
42
42
#define VOLTAGE_PIN GPIO_NUM_34
43
43
44
- /** Interrupt definitions*/
44
+ /** Interrupt definitions
45
+ * lower levels are lower priorities
46
+ */
45
47
#define GPIO_INTR_PRIO ESP_INTR_FLAG_LEVEL1
48
+ #define I2S_INTR_PIRO ESP_INTR_FLAG_LEVEL2
46
49
47
50
48
51
You can’t perform that action at this time.
0 commit comments