SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By sulhelka
Hi to all!

I have just bought a Red Openlog Artemis to migrate from the Razor IMU M0, what I was doing with the razor is a custom code to read the values from the in built MPU9250 and trigger an action depending the values. The problem I have right now is I am unable to get the values from the inbuilt ICM 20948 using custom code and the Sparkfun_ICM-20948_Arduino library via SPI, It allways shows the "Wrong ID" message at activation when I load the Example1_Basic sketch (uncommenting the SPI line).

User avatar
By PaulZC
Hi @sulhelka,
Have you enabled power for the IMU? You will need to replicate the imuPowerOn command in your custom code: ... #L468-L477
Also, please see: ... #L617-L687
Please make sure you are using the correct Chip Select pin for the IMU: ... s.ino#L109
Finally, please select Redboard Artemis ATP (from the SparkFun Apollo3 boards) as the board type when compiling the code.
Please let us know if this fixes your issue.
Best wishes,
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]