Absolute Encoder Questions / SSI via 5i25

More
21 Oct 2012 21:48 - 21 Oct 2012 22:00 #25573 by juwi
PCW wrote:

I can compile a 7I77 bit file some time next week

The raw interface is probably OK for the XMIT side but questionable
on receive because of common mode range. I would always want a real RS-422 driver/receiver there just for ruggedness however


Well, it would be no big thing to make a small PCB with some differential receivers on it. Or simply use a MAX491(EDITED - up to 2.5MBit) and only 2 lines from the 5i25?
@1.5MHz there is no need for advanced layouts, some basic rule obeyment should work. Only for testing of course...

Is it possible to get the Interface on the second port of the 5i25?

Thank you!

best regards,
julian
Last edit: 21 Oct 2012 22:00 by juwi.

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

More
21 Oct 2012 22:06 #25575 by andypugh
juwi wrote:

[Is it possible to get the Interface on the second port of the 5i25?

That is what the 7i74 would do. It is a 25-pin D-sub to 8xRJ45 RS422 interface.
(It costs $69)

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

More
22 Oct 2012 08:10 #25582 by juwi
andypugh wrote:

juwi wrote:

[Is it possible to get the Interface on the second port of the 5i25?

That is what the 7i74 would do. It is a 25-pin D-sub to 8xRJ45 RS422 interface.
(It costs $69)


And takes 4-6 Weeks till I have it :(
Therefore I'd like to test with what I have till it arrives.

@PCW: It would be very nice from you to get a firmware for 7i77 to start the driver implementation :)

best regards,
Julian

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

More
22 Oct 2012 20:16 #25637 by juwi

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

More
22 Oct 2012 21:30 #25644 by PCW
Should, you may need to fuss with the JTAG cable pinout

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

More
22 Oct 2012 21:45 #25645 by andypugh
juwi wrote:

www.ebay.de/itm/JTAG-Programmer-Kabel-fu...&_uhb=1#ht_738wt_689

It is worth mentioning that you only need this if it all goes wrong. You can reflash a 5i25 without any cables using the utility in the support software pack.

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

More
23 Oct 2012 07:07 #25659 by juwi
I know me, once started...

julian

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

More
23 Oct 2012 16:51 #25689 by juwi
@Andy: I think I must add a SSI struct to hostmot2.h?

Best regards,
Julian

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

More
23 Oct 2012 16:59 #25692 by andypugh
juwi wrote:

@Andy: I think I must add a SSI struct to hostmot2.h?

Yes, unless you think that using the resolver struct would suffice.
I see no reason to use the resolver though, it might hamper you in the future.

Note that the HAL pins are kept separate as they will be hal_malloc-ed and the rest of the structure might be kmalloc-ed.
Or you can decide to hal_malloc everything, it saves a lot of garbage-collection problems.

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

More
23 Oct 2012 20:23 - 23 Oct 2012 20:27 #25702 by PCW
Here is a 5i25 config with 8 SSI interfaces on P2: (7I74 pinout)

freeby.mesanet.com/5i25_ssi.zip

Suggested SSI parameters: (in addition to the normal scaling parameters)

Bitlength (u32)

Clockrate (float)

GrayCode (bit) binary if false, graycode if true

Mask (u32) (some SSI devices have aux data in the stream you need to mask out)
in addition to the always masked MSB --> bitlength-1 in the data register

If you want me to make a config with the free SSERIAL port on a 7I77 used for SSI just ask
Last edit: 23 Oct 2012 20:27 by PCW.

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

Time to create page: 0.103 seconds
Powered by Kunena Forum