Is there MKL17Z256 example code?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Is there MKL17Z256 example code?

跳至解决方案
626 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
620 次查看
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 项奖励
回复
1 回复
621 次查看
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 项奖励
回复