V2Xe, ATMega128 SPI comm.
V2Xe, ATMega128 SPI comm.
(OP)
Is it possible to communicate between the ATMega128 Microcontroller and the V2Xe compass using SPI protocol?
The V2Xe docs says it can only be a slave. The ATMega128 docs say its SPI can only receive data if it's set to slave, meaning the V2Xe would have to be a master in order to send data to the ATMega 128.
The V2Xe docs says it can only be a slave. The ATMega128 docs say its SPI can only receive data if it's set to slave, meaning the V2Xe would have to be a master in order to send data to the ATMega 128.





RE: V2Xe, ATMega128 SPI comm.
RE: V2Xe, ATMega128 SPI comm.
I know how to set ATMega128 to master and send commands to the V2Xe, but I don't know how program the ATMega128 to receive data when the V2Xe sends it back in a separate transmission. I originally thought, set ATMega128=>slave, V2Xe=>master, but V2Xe won't do this.
RE: V2Xe, ATMega128 SPI comm.