Other Parts Discussed in Thread: CC2650, CC2640R2F, CC2650STK
Tool/software: Code Composer Studio
Hi Team,
I am designing a demo with LED-audio sync function. Basically what I need to do is 1) Read 32-bit data from digital audio source by I2S protocol as below. 2) Map the audio information with LED brightness. 3) Write brightness value to LED driver by I2C.
I tried to use SPI to read data by MSP430 but there are always some data lost when continually read. So I changed to CC2650 with integrated I2S block. It is my first time to use CC2650 platform and deal with I2S protocol. There are lots of resource but I have no enough time to study, since the project is urgent. Could you help to share an example code of basic I2S read function and I2C write function with the head files I need? Thanks a lot.