MMA8451Q PE component unsupported on MKL03

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MMA8451Q PE component unsupported on MKL03

ソリューションへジャンプ
1,749件の閲覧回数
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,621件の閲覧回数
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,622件の閲覧回数
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,621件の閲覧回数
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:      [email protected]: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 件の賞賛
返信