Mesa 5i24 mesaflash : No 5I24 board found

More
15 Aug 2016 15:46 #78806 by PCW
Is the 7I65 comp function added to a servo thread?

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

More
15 Aug 2016 19:28 #78808 by erasmo
Realtime Threads:
Period FP Name ( Time, Max-Time )
999926 YES servo-thread ( 147431, 436600 )
1 hm2_5i24.0.read
2 motion-command-handler
3 motion-controller
4 pid.x.do-pid-calcs
5 pid.y.do-pid-calcs
6 pid.z.do-pid-calcs
7 pid.a.do-pid-calcs
8 pid.b.do-pid-calcs
9 pid.c.do-pid-calcs
10 pid.spindle.do-pid-calcs
11 pid.4.do-pid-calcs
12 pid.5.do-pid-calcs
13 abs.spindle
14 lowpass.spindle
15 hm2_5i24.0.write
16 mult2.0
17 near.0
18 not.0
19 time.0
20 not.1

When I try add mesa-7i65 or mesa-7i65.0 to servo thread I get errors

I can read analog and input values from mesa-7i65.0:

Component Pins:
Owner Type Dir Value Name
13 float OUT -3.928223 mesa-7i65.0.analogue.0.in
13 float IN 0 mesa-7i65.0.analogue.0.out
13 float OUT -3.933105 mesa-7i65.0.analogue.1.in
13 float IN 0 mesa-7i65.0.analogue.1.out
13 float OUT -10 mesa-7i65.0.analogue.2.in
13 float IN 0 mesa-7i65.0.analogue.2.out
13 float OUT -10 mesa-7i65.0.analogue.3.in
13 float IN 0 mesa-7i65.0.analogue.3.out
13 float OUT -10 mesa-7i65.0.analogue.4.in
13 float IN 0 mesa-7i65.0.analogue.4.out
13 float OUT -10 mesa-7i65.0.analogue.5.in
13 float IN 0 mesa-7i65.0.analogue.5.out
13 float OUT 6.25 mesa-7i65.0.analogue.6.in
13 float IN 0 mesa-7i65.0.analogue.6.out
13 float OUT -3.666992 mesa-7i65.0.analogue.7.in
13 float IN 0 mesa-7i65.0.analogue.7.out
13 bit OUT FALSE mesa-7i65.0.digital.0.in
13 bit OUT TRUE mesa-7i65.0.digital.1.in
13 bit OUT TRUE mesa-7i65.0.digital.2.in
13 bit OUT FALSE mesa-7i65.0.digital.3.in
13 bit IN FALSE mesa-7i65.0.enable.0.out
13 bit IN FALSE mesa-7i65.0.enable.1.out
13 bit IN FALSE mesa-7i65.0.enable.2.out
13 bit IN FALSE mesa-7i65.0.enable.3.out
13 bit IN FALSE mesa-7i65.0.enable.4.out
13 bit IN FALSE mesa-7i65.0.enable.5.out
13 bit IN FALSE mesa-7i65.0.enable.6.out
13 bit IN FALSE mesa-7i65.0.enable.7.out
13 bit OUT TRUE mesa-7i65.0.watchdog.has-bit

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

More
15 Aug 2016 22:59 #78813 by PCW
Are the 7I65s /ENABLE and RESET lines both low?
(these would be GPIO bits 22 and 23)

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

More
16 Aug 2016 06:50 #78824 by erasmo
Component Pins:
Owner Type Dir Value Name
12 bit OUT TRUE hm2_5i24.0.gpio.022.in
12 bit OUT FALSE hm2_5i24.0.gpio.022.in_not
12 bit IN FALSE hm2_5i24.0.gpio.022.out

Component Pins:
Owner Type Dir Value Name
12 bit OUT TRUE hm2_5i24.0.gpio.023.in
12 bit OUT FALSE hm2_5i24.0.gpio.023.in_not
12 bit IN FALSE hm2_5i24.0.gpio.023.out

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

More
16 Aug 2016 13:16 #78846 by PCW
Those pins need to be set low for the 7I65 analog outputs to function

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

More
16 Aug 2016 15:33 #78873 by erasmo
I tried to change .out values to 0 on pins 22, 23, 46, 47, 70, 71 no voltage change on AOUT0 , AOUT1 etc...

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

More
16 Aug 2016 15:39 #78876 by PCW
The out values already are 0 but you need to set the GPIO mode to output on GPIO 22 and 23

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

More
16 Aug 2016 16:49 #78887 by erasmo
I did as you told me to do, still no effect on voltages.

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

More
16 Aug 2016 17:00 #78889 by PCW
I would not worry about voltages at this point
Before you can set any voltages, the watchdog must be clear
(and it cannot be cleared unless GPIO 22 and 23 are set as outputs and low in the hal file)

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

More
16 Aug 2016 18:52 - 16 Aug 2016 19:32 #78902 by PCW
Sorry its been years since I touched a 7I65 and had forgotten that there is one more
GPIO pin needed to set the analog outputs:

GPIO 21 must also be set low (/LDAC)
Last edit: 16 Aug 2016 19:32 by PCW.

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

Moderators: PCWjmelson
Time to create page: 0.146 seconds
Powered by Kunena Forum