MMA8451Q PE component unsupported on MKL03

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

MMA8451Q PE component unsupported on MKL03

跳至解决方案
1,197 次查看
gschelotto
Contributor V

Hello,

I was happy to find out a MMA8451Q PE component to easily use on my MKL03 custom application. However I've realized that the related GenericI2C component is not supported for selected processor.

Is there any workaround to make the MMA8451Q component compatible with MKL03 devices?

Untitled.png

thanks in advance,

gaston

0 项奖励
回复
1 解答
1,069 次查看
BlackNight
NXP Employee
NXP Employee

Hi Gaston,

you can use the GenericSWI2C driver (bit banged):

pastedImage_1.png

pastedImage_4.png

I see that in your project you are using the KinetisSDK component which is depreciated. Use the McuLibConfig one instead and specify which SDK you are using (I assume 1.3):

pastedImage_2.png

The latest version of all the components are available on SourceForge, latest release is this one from early this month:

McuOnEclipse Components: 06-May-2017 Release | MCU on Eclipse 

As for a general comment: I moved up to the SDK v2, and most components are supporting that newer SDK as well.

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,070 次查看
BlackNight
NXP Employee
NXP Employee

Hi Gaston,

you can use the GenericSWI2C driver (bit banged):

pastedImage_1.png

pastedImage_4.png

I see that in your project you are using the KinetisSDK component which is depreciated. Use the McuLibConfig one instead and specify which SDK you are using (I assume 1.3):

pastedImage_2.png

The latest version of all the components are available on SourceForge, latest release is this one from early this month:

McuOnEclipse Components: 06-May-2017 Release | MCU on Eclipse 

As for a general comment: I moved up to the SDK v2, and most components are supporting that newer SDK as well.

I hope this helps,

Erich

0 项奖励
回复
1,069 次查看
mjbcswitzerland
Specialist V

Hi

http://www.utasker.com/kinetis/FRDM-KL03Z.html

Web:      https://github.com/uTasker/uTasker-Kinetis
HTTPS:    https://github.com/uTasker/uTasker-Kinetis.git
SSH:      git@github.com:uTasker/uTasker-Kinetis.git

Includes MMA8451Q support with 10 or 14 bit resolution, either continuous polling or interrupt based (using I2C controller in interrupt driven mode)

Regards

Mark

0 项奖励
回复