1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Open Source Flight Controller Firmware
Find a file
Dominic Clifton c7de7d2ebc Add support for 2 softserial ports on PWM4+5/TIM3_CH1+2/PA6+PA7 and
PWM6+7/TIM3_CH3+4/PB0+PB1

Update software serial to monitor serial pins for signal changes instead
of periodically sampling pin signals.

When reading the data the timer used is syncronized to the falling edge
of the start bit which allows for better syncronisation at higher
speeds.  The code has been tested OK from 1200 baud to 19200.  38400
baud was tested and partially usable but has been disabled because there
are too many transmit and receive errors, especially when transmitting
and receiving at the same time.

Due to the way a single timer is used for transmitting and receiving, if
data comes in while transmitting the system may incorrectly transmit a
short or long bit.  However at 19200 and below this didn't cause a
problem in the limited testing I performed.
2014-04-03 22:42:15 +01:00
lib a couple optimizations for dynamic HSE frequency - moved SetSysClock() to run after reset vector + bss init, and changed rcc which used hardcoded HSE_VALUE. 2013-07-02 00:58:50 +00:00
obj Fixing missing reply in MSP_SET_MOTORS. Found by cTn 2014-02-20 19:56:40 +09:00
src Add support for 2 softserial ports on PWM4+5/TIM3_CH1+2/PA6+PA7 and 2014-04-03 22:42:15 +01:00
support Enable automatic reset after (re)flashing, closes issue #19 2013-11-01 22:47:25 +00:00
.gitignore more ignores added 2013-11-02 22:48:44 +09:00
baseflight.uvproj adding updated uvision project 2014-01-31 21:51:10 +09:00
JLinkSettings.ini imported STM32 multiwii port into baseflight dir 2012-02-16 09:39:58 +00:00
Makefile added sumd serial receiver support by cesco/Plüschi 2014-01-31 10:02:50 +09:00
stm32_flash.ld added test driver for software i2c. disabled by default. no, that wasn't the cause of cycletime jumps. 2012-07-14 02:00:39 +00:00