Disconnect PWM generators for debug purpose.
authorMartin Prudek <prudemar@fel.cvut.cz>
Sat, 11 Apr 2015 09:17:06 +0000 (11:17 +0200)
committerMartin Prudek <prudemar@fel.cvut.cz>
Sat, 11 Apr 2015 09:17:06 +0000 (11:17 +0200)
pmsm-control/rpi_mc_simple_dc.vhdl

index 1591fba..a5ddd20 100644 (file)
@@ -226,8 +226,8 @@ begin
                        match => pwm_match(i),
                        count => pwm_count,
                        -- outputs
-                       out_p => pwm(i),                                --positive signal
-                       out_n => shdn(i)                                --reverse signal is in shutdown mode
+                       out_p => open,--pwm(i),                         --positive signal
+                       out_n => open--shdn(i)                          --reverse signal is in shutdown mode
                );
        end generate;
        
@@ -273,13 +273,13 @@ begin
        rs485_dir <= '0';
 
 
-       --shdn(1) <= '0';
-       --shdn(2) <= '0';
-       --shdn(3) <= '1';
+       shdn(1) <= '1';
+       shdn(2) <= '1';
+       shdn(3) <= '1';
 
-       --pwm(1) <= '0';
-       --pwm(2) <= '0';
-       --pwm(3) <= '0';
+       pwm(1) <= '0';
+       pwm(2) <= '0';
+       pwm(3) <= '0';
        
        process
        begin