Software SPI on ATmega1284P and ADXL362


hello all, may have question please?

i have arduino uno*pro based on atmega1284p chip. when try use standard spi library access adxl362 accelerometer, not work , bytes received missing last one, 2 or 3 bits. when write 0x11000011, read 0x1100010, values read or dividible 4, 8 etc..

i thought problem timing or wires 4 inches long. have tried divide spi frequency dividers 128, did not help.

i try slow bitbanging software spi library, unfortunately 2 found, digitalio , softspi not contain proper pin sections chip.

any advice please? thanks, jan

my advice post code. suggested in forum "sticky".


Arduino Forum > Using Arduino > Programming Questions > Software SPI on ATmega1284P and ADXL362


arduino

Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading