]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control.git/commit
Correct logic to detect failed SPI communication and add option switch PWM to pass... untested
authorPavel Pisa <ppisa@pikron.com>
Tue, 6 Oct 2015 17:06:37 +0000 (19:06 +0200)
committerPavel Pisa <ppisa@pikron.com>
Tue, 6 Oct 2015 17:06:37 +0000 (19:06 +0200)
commitade9ac01fc3d82eaf5d4e95c51efc238cd31a2af
treec20457e7f55309a1f9198b56cd5512e8d19d9be1
parent621d152c11cabf6497b670605aa9817809479a6b
Correct logic to detect failed SPI communication and add option switch PWM to pass-through modes.

DIP SW 1 ON enabled direct IRC pass-through to GPIO pins.

When DIP SW2 is selected then PWM can be controlled by GPIO.
SW3 select between direction and PWM mode and complete 3 phase
and 3 enables signals control mode.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
pmsm-control/rpi_pmsm_control.vhdl