Hi i tried myself by searching.
First i threw out the MPU Librarie and hardcoded the mpu part
So actual code is:
#include <can.h>
#include <mcp2515.h>
#include <SPI.h>
int gyro_x, gyro_y, gyro_z;
long acc_x, acc_y, acc_z, acc_total_vector;
int temperature;
long gyro_x_cal, gyro_y_cal, gyro ...
Search found 3 matches
- Tue Sep 01, 2020 5:49 pm
- Forum: General discussion
- Topic: MCP CAN and MPU650 bite each other
- Replies: 5
- Views: 7236
- Tue Aug 25, 2020 1:05 pm
- Forum: General discussion
- Topic: MCP CAN and MPU650 bite each other
- Replies: 5
- Views: 7236
Re: MCP CAN and MPU650 bite each other
Yes. If i watch it on serial interface and outcommentate the mcp line everything is fine. If i commentate it in, there are only series for the accs and yaws.
STMF407G-DISC1
What i dont understand, it is with all mpu6050 libraries. Currently im Using Tiny MPU6050 and Libmaster can
Truely im far ...
STMF407G-DISC1
What i dont understand, it is with all mpu6050 libraries. Currently im Using Tiny MPU6050 and Libmaster can
Truely im far ...
- Thu Aug 20, 2020 1:13 pm
- Forum: General discussion
- Topic: MCP CAN and MPU650 bite each other
- Replies: 5
- Views: 7236
MCP CAN and MPU650 bite each other
Hi , im currently building a connection from stm32f4 via canbus to arduino mega. Actually it works well, i had made two different programms and programmed Can message Sending and MPU Data logging.But if i want to use them both in the same script, the MPU throws zeros insteadt of normal values. If i ...