[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 64b1fe: [stm32] Fixes for USAR
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 64b1fe: [stm32] Fixes for USART interrupt handler. |
Date: |
Tue, 16 Apr 2013 15:24:48 -0700 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: 64b1fe8158a14be08ea7a3d0751e2e592b862a40
https://github.com/paparazzi/paparazzi/commit/64b1fe8158a14be08ea7a3d0751e2e592b862a40
Author: podhrmic <address@hidden>
Date: 2013-04-16 (Tue, 16 Apr 2013)
Changed paths:
M conf/messages.xml
M conf/telemetry/default_rotorcraft.xml
M sw/airborne/arch/stm32/mcu_periph/uart_arch.c
M sw/airborne/firmwares/rotorcraft/telemetry.h
M sw/airborne/mcu_periph/uart.c
M sw/airborne/mcu_periph/uart.h
Log Message:
-----------
[stm32] Fixes for USART interrupt handler.
The interrupt handler occasionally hangs in case of noise on the line.
Fixes were two:
1) Disable IDLE line interrupt, disable LIN break interrupt in the port
settings.
(neither of them should be used for asynchronous single buffer
communication).
2) In interrupt handler routine, explicitly check for the error flags, only if
no errors occur check the received byte. Otherwise clear the USART_DR and
log the error.
Added USART_ERRORS messages to monitor problems on USART lines.
Closes #418
Commit: adca9867d16be8d441c1c957ebdf360d55f2f6f0
https://github.com/paparazzi/paparazzi/commit/adca9867d16be8d441c1c957ebdf360d55f2f6f0
Author: Felix Ruess <address@hidden>
Date: 2013-04-16 (Tue, 16 Apr 2013)
Changed paths:
M sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c
Log Message:
-----------
[rotorcraft] silence warning in guidance
Commit: 20560173d99452f13b241279345fe073d260b6af
https://github.com/paparazzi/paparazzi/commit/20560173d99452f13b241279345fe073d260b6af
Author: Felix Ruess <address@hidden>
Date: 2013-04-16 (Tue, 16 Apr 2013)
Changed paths:
M conf/telemetry/default_rotorcraft.xml
M sw/airborne/firmwares/rotorcraft/telemetry.h
Log Message:
-----------
[rotorcraft] alternate buses when sending I2C_ERRORS message
Compare:
https://github.com/paparazzi/paparazzi/compare/24d7fd66ff1d...20560173d994
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] 64b1fe: [stm32] Fixes for USART interrupt handler.,
GitHub <=