2020-08-09 11:20 PM
I want to interface 433MHZ rf receiver to use rf remote with stspin32f0 for speed control.
I am using external gpio interrupt and microseconds TIM3 interrupt to decode received remote codes from rf receiver.
I tested above setup without motor attach to controller it is working fine decoding every remote key perfectly but when I connect motor to test this setup combined it doesn't work due to interrupt priority are same i.e. 0. for all gpio interrupt and TIM3. I change interrupt priority to 2 then I code received rf signal and decodes but after motor starts it stops decoding rf signal. I checked external interrupt callback is not executed when motor is running. When motor stops using UI command it external interrupt callback is executing properly. what should I do to work these both cases combined?