Other Parts Discussed in Thread: CC1350STK
Tool/software: TI-RTOS
The taskFxn code fails to start streaming in response to the "start stream" button because PDMCC26XX_open returns a NULL handle.
At a breakpoint in PDMCC26XX_open in PDMCC26XX.c (line 360, if (!activePcmBuffer)). PDMCC26XX_getNewPcmBuffer(pdmHandle) on the previous line seems to have returned a valid address because activePcmBuffer has changed from 0 to 0x20001678. However, the if block is entered (as if activePcmBuffer were NULL), causing PDMCC26XX_open to return NULL.
As far as I can tell from its data sheet the MP34DT01 mic should work with the pdmstream example. I've modified the CC1350STK board files in the project and got the button and LED I/O's reassigned correctly though I haven't gotten far enough along to verify that the I2S I/O is correct. The problem I'm having doesn't seem to have any dependence on board I/O. The pdmstream example I imported inherits CC13x0 SDK version 1.60.0.21 from the CC1350STK_release dependency. What am I missing?
Thanks,
Rich