Accelerometer example/sample code for FRDM-KL27Z

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

Accelerometer example/sample code for FRDM-KL27Z

ソリューションへジャンプ
2,406件の閲覧回数
evelamartinez
Contributor I

Hi folks,

 

please, do you have any accelerometer example/sample code for FRDM-KL27Z?

 

Thank you,

Evela

ラベル(1)
1 解決策
1,614件の閲覧回数
EarlOrlando
Senior Contributor II

Hello Evela,

I recommend you to take a look into the example located in the KSDK 1.2.0 installation folder C:\Freescale\KSDK_1.2.0\examples\frdmk64f\demo_apps\bubble_level_ftm which contains an example for the same accelerometer that is included in the FRDM-KL27Z. This example shows how to interface the accelerometer with your kinetis MCU. This demo is written in KSDK so its portability is very transparent, you just need to configure the I2C pins to be compliance.

I hope this helps.

I remain at your service.

Best regards,

Earl Orlando.

元の投稿で解決策を見る

2 返答(返信)
1,615件の閲覧回数
EarlOrlando
Senior Contributor II

Hello Evela,

I recommend you to take a look into the example located in the KSDK 1.2.0 installation folder C:\Freescale\KSDK_1.2.0\examples\frdmk64f\demo_apps\bubble_level_ftm which contains an example for the same accelerometer that is included in the FRDM-KL27Z. This example shows how to interface the accelerometer with your kinetis MCU. This demo is written in KSDK so its portability is very transparent, you just need to configure the I2C pins to be compliance.

I hope this helps.

I remain at your service.

Best regards,

Earl Orlando.

1,614件の閲覧回数
lucasrangit
Contributor III

I went to https://mcuxpresso.nxp.com/en/example-projects  and downloaded the bubble example for the FRDM-KL27Z. The project imported and builds but the debug configurations did not. I have to manually re-create them. I'll make a new ticket regarding this.

0 件の賞賛
返信