Post Go back to editing

Closing single switch

Category: Hardware
Product Number: ADGS6414D

Buongiorno, sto giocando da qualche giorno con il vostro EVAL-ADGS6414DARD 08-083788 Rev-B,
che pilota tramite un ARDUINO MEGA 2560 utilizzando l'ambiente di sviluppo IDE versione 2.3.7 CLI versione: 1.3.1.
Il mio obiettivo è riuscire a chiudere gli switch singolarmente, switch 7 anziché 5 o 3, ma non ci riesco.

1) A quanto pare, l'ADGS6414D mi consente di chiudere gli switch solo come segue:
Sw1 = comando 0x01 si chiude correttamente
Sw1+Sw2 = comando 0x03 si chiudono correttamente
Sw1+Sw2+Sw3 = comando 0x07 si chiudono correttamente
Sw1+Sw2+Sw3+Sw4 = comando 0x0F si chiudono correttamente e così via fino a Sw8

2) Non mi permette di eseguire i seguenti comandi, ad esempio:
Sw02 = Comando 0x02 non si chiude
Sw03 = Comando 0x04 non si chiude
Sw2+Sw3 = Comando 0x06 non si chiudono
Sw2+Sw3+Sw4 = Comando 0x0E non si chiudono
Sw7 = Comando 0x40 non si chiude

È normale che chiuda solo gli interruttori seguendo la sequenza 1 mentre tutti gli altri comandi,
come quelli del punto 2, vengono ignorati?

Grazie per la sua gentile risposta e le auguro una buona giornata.

Mi dispiace per il mio pessimo inglese.

Pierfrancesco

  • In English .... i hope :-)

    Good morning, I've been playing with your EVAL-ADGS6414DARD 08-083788 Rev-B for a few days,
    which I drive via an ARDUINO MEGA 2560 using the IDE version 2.3.7 CLI Version: 1.3.1 development environment.
    My goal is to be able to close the switches individually, switch 7 rather than 5 or 3, but I can't.

    1) Apparently, the ADGS6414D only allows me to close the switches as follows:
    Sw1 = command 0x01 closes correctly
    Sw1+Sw2 = command 0x03 they close correctly
    Sw1+Sw2+Sw3 = Command 0x07 they close correctly
    Sw1+Sw2+Sw3+Sw4 = Command 0x0F they close correctly and so on up to Sw8

    2) It doesn't allow me to execute the following commands, for example:
    Sw02 = Command 0x02 it doesn't close
    Sw03 = Command 0x04 it doesn't close
    Sw2+Sw3 = Command 0x06 they don't close
    Sw2+Sw3+Sw4 = Command 0x0E they don't close
    Sw7 = Command 0x40 it doesn't close

    Is it normal for it to only close the switches following sequence 1 while all other commands,
    such as those in point 2, are ignored?

    Thank you for your kind reply and have a good day.

    Sorry for my terrible English.

    Pierfrancesco

  • Hi Pierfrancesco,  

    You should be able to control the switches independently.  I am not sure why you are not able to.   can you take a look into this for Pierfrancesco.  

    Regards,

    Eric.

  • Hi Pierfrancesco,

    You should be able to control the switches are independently. 

    Are you able to capture the SCLK, SDI, and CS inputs on an oscilloscope to verify the signals being sent from the Arduino?

    Regards,

    David

  • Grazie mille, Eric.
    Non ho idea del perché non riesca a chiuderli in modo indipendente. Pensavo ci fosse qualche problema con la dichiarazione della variabile comando, ma in questo caso non sarei riuscito a chiuderli nemmeno nella modalità descritta al punto 1.
    Per ora, grazie ancora.

  • Thanks David
    I played with the evaluation board during the Christmas holidays. Tomorrow I'll go back to the lab and analyze the signals as you suggested.
    The strange thing is that when I control the ADSG as in point 1, everything works...
    We'll see what the osilloscope says. Thanks and have a nice day.

    Regards

    Pierfrancesco

  • Good morning, David.
    The problem with the individual switches not turning on was due to too much noise on the lines. There's still a lot of noise, but it works fine. Obviously, this is an improvised circuit to test the ADSG's capabilities. Tonight, I'll try to clean the signals further.
    Thanks for your help.Switch 1 on