Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2650STK: question related to I2S & PDM drivers for sensortag microphone driver.

$
0
0

Part Number:CC2650STK

Hello,

I am working on an application where we need to calculate the loudness from a microphone. I am using CC2650 sensor tag rev. 1.3 on Contiki OS. i am having few queries related to the microphone and I2S drivers for sensor tag -

Q1) Are there latest any CC2650 sensor tag microphone I2S and PDM driver and/or documentation available ?

Q2) I have written a driver on contiki OS which enables the microphone ON but as soon as the first data buffer is full, i get the IRQFLAGS.PTR_ERR = 1. What can be the possible issue ?
i am using by default WCLKDIV(6), BCLKDIV(60) and MCLKDIV ratio(25). Is it something related to the incorrect clock division or may be due to incorrect assignment of DMA pointers (for both current and next) after the first interrupt (I have attached the file i2s_mic.c with the driver code in it).(Please visit the site to view this file)

Q3) As the microphone takes time to set-up, is it true to throw away the data in first 2 buffers and start using the data after that ?

Best Regards,

Nishant Gupta


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>