Absolute Encoder Questions / SSI via 5i25

More
17 Aug 2013 19:55 #37782 by PKM
I'll check that on Monday... occasionally left the encoders at my office.

If that proves to work, is it possible to make a thread to start the reading cycle, then connect the hm2_5i25.0.raw.read_data to some "grey-to-abs" component (probably not so hard to make) and have the encoder working?

Please Log in or Create an account to join the conversation.

More
17 Aug 2013 23:11 - 18 Aug 2013 00:53 #37783 by PCW
One detail left out is is that the DDR and AltSrc register bits for the clock output pin would need to be set to one (since the driver does not know about the SSI tags)
Also if you use the latest firmware source, the SSI registers have changed:
The max data length has been extended to 64 bits to allow double-reading
for data verification, so the control reg has moved to 0x6A00

included here:

File Attachment:

File Name: ssi.zip
File Size:19 KB


is a up-to-date regmap file and example program source
for reading the encoder
Attachments:
Last edit: 18 Aug 2013 00:53 by PCW.

Please Log in or Create an account to join the conversation.

More
18 Aug 2013 03:31 #37786 by PKM

One detail left out is is that the DDR and AltSrc register bits for the clock output pin would need to be set to one (since the driver does not know about the SSI tags)

I looked through 7i76 manual, there are SS0TX (IO10) and SS1TX (IO12) pins, which is used for RS-422 interface on TB3?

Please Log in or Create an account to join the conversation.

More
19 Aug 2013 18:46 #37843 by PKM
I'm trying the above described, but nothing for now. Even no clock sequence on the scope.

When setting 0x6A00 it remains the same 0xFFFFFFFF (while 0x1100 changes when I write to it). What should be the default value for 0x6A00?

I purchased 7i76-5i25 PnG kit on June 2013, is it possible that the firmware has no SSI? The latest 7i76x2.bit is dated 2013-02-22, so I guess my card should have it?

Please Log in or Create an account to join the conversation.

More
19 Aug 2013 19:08 #37844 by andypugh

When setting 0x6A00 it remains the same 0xFFFFFFFF

This is normal (and really confused me when I started playing with Hostmot2 drivers).
The FPGA has read-registers and write-registers. There may be one of each with the same address, but they are not the same register.
any read-back from a write-register will be 0xFFFFFFFF. You can't check that your write worked.

I purchased 7i76-5i25 PnG kit on June 2013, is it possible that the firmware has no SSI?

it is certain that that bitfile has no SSI. You will need a bitfile which explicitly includes the function, and then you would need to write that bitfile to the 5i25 with Mesaflash.

Please Log in or Create an account to join the conversation.

More
19 Aug 2013 19:24 #37845 by PKM
Thanks, that explains a lot!

Peter, could you please make SSI firmware for 5i25+7i76?

Please Log in or Create an account to join the conversation.

More
20 Aug 2013 00:57 #37858 by andypugh

Peter, could you please make SSI firmware for 5i25+7i76?

If you send me a copy too, I will see about re-hashing the (very similar conceptually) Resolver code to handle SSI.
(Initially a straight clone, I suspect, but they might converge into a generic "absolute encoders" module in the future.)

Please Log in or Create an account to join the conversation.

More
20 Aug 2013 01:19 #37859 by ROG
5i25 / 7i77/BISS/SSI as well please ….

Please Log in or Create an account to join the conversation.

More
20 Aug 2013 01:58 - 20 Aug 2013 01:59 #37861 by PKM

If you send me a copy too, I will see about re-hashing the (very similar conceptually) Resolver code to handle SSI.
(Initially a straight clone, I suspect, but they might converge into a generic "absolute encoders" module in the future.)

I'm willing to test and use. I'll have these linear SSI encoders for 2-3 more weeks. Probably some multi-turn SSI later.
And BiSS encoders have been waiting on the shelf, anytime.
Last edit: 20 Aug 2013 01:59 by PKM.

Please Log in or Create an account to join the conversation.

More
20 Aug 2013 02:08 #37862 by PCW
I'll try and build some SSI configs today or tomorrow.

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds
Powered by Kunena Forum