I bumped into a problem while implementing a Master Slave two way audio communication using cc1110 I2S using the below given settings
I2SCFG0 = 0x3F; // Bit 7 - TX Interrupts disabled
// Bit 6 - RX Interrupts disabled
// Bit 5 - ulaw expansion enabled
// Bit 4 - ulaw compression enabled
// Bit 3 - TX mono mode enabled
// Bit 2 - RX mono mode enabled
// Bit 1 - mode set to Master
// Bit 0 - I2S interface disabled
I2SCFG1 = 0x78; // Bits 7:4 - WORDSIZE = 16 bits
I2SCLKF2 = 0x06; // Fsck = 256 kHz, Wordsize = 16 bits
I2SCLKF1 = 0x59;
I2SCLKF0 = 0x20;
While I try to change the I2SCLKF1 = 0x59; to I2SCLKF1 = 0x57 and then back to I2SCLKF1 = 0x59; (Changing the register values manually through an external button) the clarity in the speech is affected a noise kicks in the audio out and this effect happens and persists till I redo all the " I2SCLKF1 = 0x59; to I2SCLKF1 = 0x57 and then back to I2SCLKF1 = 0x59;" tasks.Please shed some light into this issue and enlighten me why this is happening or is there any rule of thumb for correcting this kind of problems, I am really stranded and any help is greatly appreciated.