Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 1 month ago.
FRDM-K64F + FRDM-FXS-MULTI-B no output from gyro
Hi,
I have the FRDM-K64F + FRDM-FXS-MULTI-B but when I run your example I have no output from gyro.
Do I need to set something ? Like jumpers ?
The output on serial port is:
FXLS8471 Acc: X: 0.048 Y:-0.052 Z: 1.011 (Raw X: 198 Y:-213 Z:4141) MMA8652 Acc: X: 0.002 Y:-0.031 Z: 0.998 (Raw X: 7 Y:-126 Z:4088) FXOS8700 Acc: X: 0.000 Y: 0.000 Z: 0.000 FXOS8700 Mag: X: 0.00 Y: 0.00 Z: 0.00 MAG3110 Mag: X: 0.00 Y: 0.00 Z: 0.00 FXAS21000 Gyro: X: 16.80 Y: 0.00 Z: 0.00 MPL3115A2 Alt: 19596.0 MPL3115A2 Temp: 0.0
Seems like only first accel is working, but other values are not correct and not changing.
Question relating to:
2 Answers
9 years, 5 months ago.
I have the FRDM-K64F + FRDM-FXS-MULTI-B and I had the same problem!!! I changed the pinnames in the main.cpp and it worked. The SDA and SCL pins of the FRDM-K64F rev. A are reversed. Replace D14 with A5 and D15 with A4 and it should work. (I removed the Altimeter code).