Eli Hughes

**WARNING!** Bug Kinetis Bare Metal Same Code for SAI KINETIS_50MHZ_SC

Discussion created by Eli Hughes on Feb 14, 2014
Latest reply on Feb 17, 2014 by Hui_Ma

This applies to


Kinetis 50MHz bare metal sample code.  Size (K): 39831 Format: zip Rev #: 1.5 Modified: 4/2/2013


The function sai_mclk_config has a parameter "divide".    the variable is declared as a unsigned char but need to be at least a uint16_t.     The Divide portion of the I2S_MDR_REG is 12 bits in length so parameter needs to be able to store a bigger value.