Peter wrote

>I did verify that at least hardware/firmware wise, The 5I23 configs work fine 
>with the 7I37/7I37T on any 5I23 connector.

Ok that's a given if it setup correctly. Any good exmples of a hal for a 5i23 
that using 7i37 and 7i33? The encoder are working but none of the GPIO is 
working.
Surely someone has a 5i20 with 7i33 and 7i37?

>Sebastian, not related to Donnies problem, but the "pulses the output when EMC 
>starts up" statement is a little bothersome. There are some things that need 
>to be done in a particular order in the GPIO initialization to avoid possible 
>startup glitches on GPIO pins:

Boths me also that why the servo amps are not even in the machine at this 
point. 

>1. Set all DDR and OPENDRAIN registers to $000000 first
>2. Set all GPIO output registers to $ffffff next 
>3. Do any other setup
>4. Set DDR and OPENDRAIN registers to their final state as the last step

This totally loses me. What is a DDR? OPENDRAIN? How do I set them correctly? 
What is correctly? A search on wiki did not turn up any thing useful.

>This will guarantee that the output pins will be high = off until the first
>time they are written via HAL

>I can set the default GPIO output register value to $ffffff in the firmware 
>but its probably better that the driver do this so it always works whether the 
>firmware has been reloaded or not.

Donnie




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to