MMA8451Q PE component unsupported on MKL03

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

MMA8451Q PE component unsupported on MKL03

Jump to solution
587 Views
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 Kudos
1 Solution
459 Views
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

View solution in original post

0 Kudos
2 Replies
460 Views
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 Kudos
459 Views
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 Kudos