9 years, 7 months ago.

FRDM-KL46Z - as I2C slave ?

Dear friends,

after buying 7 or 8 FRDM-KL25Z I had the surprise that they cannot be used and configured as I2C slave. I believe this issue is not pointed out in platform overview.

Therefore I'm about to buy several FRDM-KL46Z, but I would like to know if the issue is fix. Also if there are other issues please let me know so I can manage my projects accordingly.

Thanks, Mircea.

Question relating to:

The FRDM-KL46Z is an ultra-low-cost development platform enabled by the Kinetis L series KL4x MCU family built on the ARM® Cortex™-M0+ processor. Features include easy access to MCU I/O, battery-ready, …

does FRDM-KL46Z work as an I2C slave? Just wanna clarify as I am looking for the same. Thanks, Viswa.

posted by Chaitanya Viswa 17 Oct 2014

1 Answer

9 years, 7 months ago.

The KL25Z and KL46Z share almost all code, including I2C code, and I2C slave code is enabled. There might be bugs, since I2C slave is rarely used, but it should work on both.

Accepted Answer

Hi Erik,

thanks for you quick answer.

From a post of yours to another i2c question...comes out that i2c slave functionality is disabled for FRDM-KL25Z

https://mbed.org/forum/bugs-suggestions/topic/4335/#id_content

I have also try compiling a software with the I2CSlave data library but the compiler throws out an error.

Do you know what might be the issue?

Thanks again, Mircea.

posted by Mircea Murar 09 Sep 2014

Back then it was indeed, but currently it is enabled. Your library must be outdated, right mouse button on it, click update.

posted by Erik - 09 Sep 2014

Thanks Erik,

...I think...I remember that few days ago I modified an older program for an FRDM-KL25Z to use the I2C slave this functionality. Could have been this the issue for compiler error, because right now I created a new program an it compiles.

posted by Mircea Murar 09 Sep 2014