AnsweredAssumed Answered

Init_I2S bug with WDFL?

Question asked by Marc Lindahl on Apr 8, 2014
Latest reply on Apr 10, 2014 by Petr_H

In the Init_I2S PE module:

If you set transmit configuration->word flag configuration to 1, this is the comment and code generated (I2S1.c):

 

  /* I2S0_RCR3: RCE=0,WDFL=0 */

  I2S0_RCR3 &= (uint32_t)~(uint32_t)((I2S_RCR3_RCE(0x03) | I2S_RCR3_WDFL(0x1F)));                                  

 

seems the comment is correct, code not so much?

 

(K20F120M project)

Outcomes