I'd like to connect a Dev-11055 IMU to an Attiny 104, more just to practice connecting peripherals, and I have a few questions.
(Here's Sparkfun's order page for the Dev-11055: https://www.sparkfun.com/product...)
My first question is, after I connect it to my Attiny104, can I program this in Atmel Studio 7? It looks like the Dev-11055 is geared more towards programming in the Arduino IDE. (It uses an Atmega328p chip.) My hunch is that that's if I were to use the IMU and nothing else.
The other question I have is, it's got TX/RX pins, pins like MISO/MOSI for SPI, and SDA/SCL for I2C. Are those each options of how I could 'interface' it with the Attiny104?
And lastly, let's say it was connected with UART or SPI with the Attiny104. How would I go about sending it commands like "send the X data for the accelerometer, and not the gyroscope", or "send the z data for the gyroscope"? Does it work like me sending it commands to set bits and then read bits in the IMU's registers through the Attiny104 as if I was just accessing the 104's built-in peripherals? I definitely know I'll have to do some datasheet sifting, but it's the big picture of working with an external device that I'm curious about right now.