Other Parts Discussed in Thread: CC2564
Hi!
I'm trying to setup a CC2564 demo, using the HFP demo for STM32 from Bluetopia stack. I have a CODEC connected to the CC2564, and I've been unsuccessfully trying to get audio through the CC2564 using I2S protocol.
My original setup is to use the CODEC as I2S master, and CC2564 as slave.
Just for the kicks, I took the CC2564 EM, and set it up as I2S master, by making a copy of BTVS.c::VS_PCM_Codec_Config_Slave_I2S(), and simply modifying CommandBuffer[2] to contain 0x00 (sets up the CC2564 as master), and of course CommandBuffer[7] and [8] contain 0x0000 (50% duty cycle FrameSync).
So my surprise was when I hooked my scope probe to FrameSync pin (in the debug header) and found that FrameSync was anything, but 50% duty cycle. The frequency was 8kHz, as per my settings, but duty cycle was not 50%.
Is there any known issue with this?
Also, could you explain, with the HFP demo, how can I activate the I2S port, for example to listen to the ringtone on the speaker? So far, I could only activate audio on an ongoing call, but not during phone standby, as to listen to the ringtone on the handsfree device's speaker.
Thanks!!