H2M
Member level 1
Hi
I want to read data from 16 bits DRV8711 stepper motor driver with an Atmega16 microcontroller by using SPI protocol.
The DRV8711 module have a 16-bit serial write, with a read/write bit, 3 address bits and 12 data bits.
I can correctly write any data to goal register but i cant read from register.
When i want to read data register i have get a 12 bits from DRV8711. how can i get this bits with Atmega16(it is a 8 bits shift register)?
someone help me.
Thanks.
I want to read data from 16 bits DRV8711 stepper motor driver with an Atmega16 microcontroller by using SPI protocol.
The DRV8711 module have a 16-bit serial write, with a read/write bit, 3 address bits and 12 data bits.
I can correctly write any data to goal register but i cant read from register.
When i want to read data register i have get a 12 bits from DRV8711. how can i get this bits with Atmega16(it is a 8 bits shift register)?
someone help me.
Thanks.