Loading...
Pages: [1]   Go Down
Author Topic: Looking for some help with program encoder  (Read 744 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello
I have an encoder RM22S with Absolute binary synchro-serial interface (SSI) (from Renishaw company).
My question is how I can build the clock with 4MHz with 13 bit resolution, using Atmega328 or Atmega2560?
Any help will be appreciated.

Thank you,
Alechco
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 96
Posts: 6372
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you can run the SPI interface at 4 MHz.  You would need to do two 8-bit 'transfers' to get 13 bits of data but I think that might work.

I think you'll need some RS422A drivers/receivers to translate the signals to something the Arduino can accept.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Faraday
I am using SP1490E for RS422 interface.
I found Timer1/counter for 16bit and try to program.
The first step I want just create the clock.
The second step if I can get some respond from encoder and read the data.
Right now I got from SPI only 8 bit clock (1 package) and how to build 13 bit clock I don’t know.
Thank you,
Alex
Logged

Pages: [1]   Go Up
Print
 
Jump to: