Infrared4Arduino icon indicating copy to clipboard operation
Infrared4Arduino copied to clipboard

Support board STM32

Open bengtmartensson opened this issue 4 years ago • 3 comments

powerful, cheap, small,...

bengtmartensson avatar Feb 28 '20 14:02 bengtmartensson

This could serve as an inspiration: https://github.com/MatejGomboc/IRremote-STM32/blob/master/IRremote_port/Src/irSend.c How difficult could the port? With 70MHz at hand, is software-based sender a viable option performancewise?

eudoxos avatar Jun 22 '20 10:06 eudoxos

Thanx for the link. It looks (from a first look) fairly promising, so that it should be possible to port that code. Hard? Not extremely hard if you have previous experience; do you plan to work on it?

With 70MHz at hand, is software-based sender a viable option performancewise?

Will probably work fine. Do you know the classes IrSenderPwmSoftDelay and IrSenderSpinWait, which does not use any particular hardware resources and therefor should be able to run on any sufficiently fast board.

bengtmartensson avatar Jun 22 '20 18:06 bengtmartensson

Will probably work fine. Do you know the classes IrSenderPwmSoftDelay and IrSenderSpinWait, which does not use any particular hardware resources and therefor should be able to run on any sufficiently fast board.

GIven my limited experience with that particular core (not yet even running as I would like it to), soft-PWM is quite sufficient at this stage, I would say.

eudoxos avatar Jun 25 '20 07:06 eudoxos