You are here

VESC hardware interrupt pins

1 post / 0 new
gpzhao
Offline
Last seen: 5 years 1 week ago
VESC Original
Joined: 2018-01-28 13:02
Posts: 3
VESC hardware interrupt pins

Hi, 

I'm trying to communicate my MCU with VESC4 via SPI (VESC is the master). The communication should be triggered by an external signal. Therefore I think the best way to achieve this is to connect the trigger signal to a VESC interrput pin. But I'm not sure which pins could be used as interrupt pins because I need SCK_ADC_EXT and MISO_ADC_EXT2 (PA5 and PA6) pins for communication.

Right now my code does not use the SERVO and TEMP_MOTOR pins. Can they be configured as the interrupt pins? 

Besides, it would be great if this interrupt configuration is also compatiable with VESC6. 

Thanks.