LowPowerLab Forum

Hardware support => Moteino M0 => Topic started by: pblase42 on May 03, 2020, 01:03:50 PM

Title: Question on using LSM9DS1 on M0.
Post by: pblase42 on May 03, 2020, 01:03:50 PM
I recently ordered some LSM9DS1 9dofIMU boards for use with M0's. They do work nicely, and the SparkFun LSM9DS1 library runs them with no problems, as a polled system.
Question: if I want to use the interrupt-driven approach, the DRDY-M line ends up soldered to the M0's MI (MISO) pin which isn't broken out as a separate usable arduino pin and should be talking to the LoRa transceiver anyways. Is there a recommendation to be using this line? Should I cut the trace (at the provided cut-point) and run a green-wire to another pin?
Thanks
Paul
Title: Re: Question on using LSM9DS1 on M0.
Post by: Felix on May 03, 2020, 09:05:48 PM
Paul,
You will notice that trace goes through an OPEN solder jumper, seen in closeup photos (https://lowpowerlab.com/shop/product/186). So no cutting required, you can solder a hookup wire on that solder jumper (from the LSM side) to another MoteinoM0 pin if you wish. A microscope will be very helpful help but it's doable even without.
Title: Re: Question on using LSM9DS1 on M0.
Post by: pblase42 on May 04, 2020, 10:24:05 AM
Ah, ok. Thank you. I should be able to do that.
There aren't any issues with using the Arduino interrupt functions, such as attaching an ISR, with the M0 are there? I'm having problems using the interrupt functions on the board, but I think it's because of the Sparkfun library I'm using. This is an SAM D processor, so any pin should be able to trigger an external interrupt.
Title: Re: Question on using LSM9DS1 on M0.
Post by: Felix on May 04, 2020, 03:55:06 PM
Right. No issues that I know of.