Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support board STM32 #46

Open
bengtmartensson opened this issue Feb 28, 2020 · 4 comments
Open

Support board STM32 #46

bengtmartensson opened this issue Feb 28, 2020 · 4 comments

Comments

@bengtmartensson
Copy link
Owner

powerful, cheap, small,...

@eudoxos
Copy link

eudoxos commented Jun 22, 2020

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?

@bengtmartensson
Copy link
Owner Author

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.

@eudoxos
Copy link

eudoxos commented Jun 25, 2020

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.

@izzy84075
Copy link
Contributor

I might look into this soon. I've got quite a bit more experience with STM32 than I do with ESP32, and I was actually planning on doing this first, but then the regulator on my spare Blue Pill decided to start smoking for no reason. Input Capture and Hardware PWM should both be pretty easy to do, on almost any STM32 MCUs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants