Sensor Fusion demo in MCUxpresso

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

Sensor Fusion demo in MCUxpresso

ソリューションへジャンプ
2,287件の閲覧回数
javierhernande1
Contributor IV

Hello,

How can I use the SensorFusion demo on FRDM-K64F with MCUxpresso?

frdmk64f_agm01_issdk_examples_algorithms_sensorfusion_baremetal_agm01

I complide Debug app, then load the axf file in FRDM-K64F and execute Sensor Tool Box for Windows but I not found the algorithms.

The app works because in serial terminal I can see the data.

Best regards

ラベル(1)
1 解決策
1,954件の閲覧回数
darioarias
NXP Employee
NXP Employee

Hello Javier,

My advice would be to use the NXP Sensor Fusion Toolbox instead of the Freedom Sensor Toolbox, because the Sensor Fusion comes with a graphic interface where you can watch how the board moves according the data retrieved from the  accelerometer, gyroscope and magnetometer.

If the binary file is already in the board, the only thing that you need to do is connect the board while the Sensor Fusion is open, then click in auto detect. Once you do this you'll see the combination FRDM-AGM01 in the screen, then you just reset the board and it will start running automatically. (Same process needs to be followed for Freedom Sensor Toolbox).

Let me know if I didn't answer your question.

Darío

元の投稿で解決策を見る

4 返答(返信)
1,954件の閲覧回数
darioarias
NXP Employee
NXP Employee

Hi Javier, unfortunately the Sensor Fusion Toolbox only works with I2C.

There a examples that support SPI communication but not with the sensor fusion toolbox, if you want to retrieve information form the sensors for some other application it can be faster with the SPI protocol.

Dario

1,954件の閲覧回数
javierhernande1
Contributor IV

Thank you!

I'm going to modify the BRKT-STBC-AGM01 to use SPI. With the FRDM-K64F-AGM01 I2C.

Regards

0 件の賞賛
返信
1,955件の閲覧回数
darioarias
NXP Employee
NXP Employee

Hello Javier,

My advice would be to use the NXP Sensor Fusion Toolbox instead of the Freedom Sensor Toolbox, because the Sensor Fusion comes with a graphic interface where you can watch how the board moves according the data retrieved from the  accelerometer, gyroscope and magnetometer.

If the binary file is already in the board, the only thing that you need to do is connect the board while the Sensor Fusion is open, then click in auto detect. Once you do this you'll see the combination FRDM-AGM01 in the screen, then you just reset the board and it will start running automatically. (Same process needs to be followed for Freedom Sensor Toolbox).

Let me know if I didn't answer your question.

Darío

1,954件の閲覧回数
javierhernande1
Contributor IV

Thanks you,

With NXP Sensor Fusion Toolbox works fine.

Do these examples support SPI, or do they only work with I2C?

If using SPI is it possible to get data faster using FXOS8700C and FXAS21002C? Or there is no difference.

Regards

0 件の賞賛
返信