Is there MKL17Z256 example code?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there MKL17Z256 example code?

Jump to solution
443 Views
JiaAn
Contributor I

Hi,

 

I am looking for the MKL17Z256 example code. But I can't find it. Nor KL17 example code either. (I guess it's the KL17 family. If I'm wrong please tell me.)

I would like to know how to use its ADC and DAC. And I guess an example code can give me a huge help.

Where can I find them?

 

Thanks for helping.

Labels (1)
0 Kudos
1 Solution
437 Views
bobpaddock
Senior Contributor III

The parent of the KL17 is, somewhat oddly, the KL43.

The USB KL27 is also part of the family.


The standard answer is look at the SDK for MCUXPresso.

Not the greatest answer.

 

Some example code can be found here:

 

https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-developm...


Also be aware that anything with a double buffered I2C module, such as the KL17, has problems.  The SDK fixes the issue by inserting undocumented NOPs.   Mark's uTasker project has a better solution using interrupts, he'll probably pop in with details.


View solution in original post

0 Kudos
1 Reply
438 Views
bobpaddock
Senior Contributor III

The parent of the KL17 is, somewhat oddly, the KL43.

The USB KL27 is also part of the family.


The standard answer is look at the SDK for MCUXPresso.

Not the greatest answer.

 

Some example code can be found here:

 

https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-developm...


Also be aware that anything with a double buffered I2C module, such as the KL17, has problems.  The SDK fixes the issue by inserting undocumented NOPs.   Mark's uTasker project has a better solution using interrupts, he'll probably pop in with details.


0 Kudos