11 Commits

Author SHA1 Message Date
EmanuelFeru
27f6320129 UART update
- disabled the Rx errors to avoid DMA stop and additional need to manage the UART error handler
2020-06-25 20:19:03 +02:00
EmanuelFeru
437ed266ac Fixed build when MPU_SENSOR is disabled 2020-06-24 08:46:47 +02:00
EmanuelFeru
2e0eebb47a Improved UART error recovery
- In case of an Rx error instead of stopping the complete UART, only the Rx DMA is aborted and restarted.
2020-06-23 19:56:16 +02:00
EmanuelFeru
ee6ab3a886 Major UART communication improvement
- the UART communication is improved based on UART Idle line detection interrupt
- an Rx ring buffer is used to manage the UART incoming data
- both Tx and Rx are efficiently handled using DMA
- fixed #1

Other:
- minor visual improvements
2020-06-21 23:09:27 +02:00
EmanuelFeru
9edd22b6b7 Improved UART Timeout
Major:
- Improved UART Timeout: Apparently, the UART data Rx/Tx is quite unreliable (especially under motor load) leading to very often out-of-sync issues. This change allows to reset the DMA more often, leading to a faster re-sync of the UART transmission and thus avoiding UART timeout. Issue #1

Minor:
- added #define MPU_SENSOR_ENABLE to allow to enable/disable the MPU6050 sensor and save code size if the sensors is not needed
- fixed the orientation in the Processing sketch
- updated ReadMe
2020-06-01 20:27:38 +02:00
EmanuelFeru
03dd7f1187 Added sensor consoleLog message 2020-03-01 19:48:46 +01:00
EmanuelFeru
5d9e79afaf UART with mainboard works
- the sideboard can now send and receive Serial data from the mainboard
- fixed Processing sketch
2020-03-01 09:43:14 +01:00
EmanuelFeru
e21f61ec2e Added sensor orientation matrix
- set the matrix in mpu6050.c according to sensor installation
2020-02-23 14:54:54 +01:00
EmanuelFeru
e849a9ded8 Visual update and minor fixes
- minor bug fixes
- added LED board picture
2020-02-13 18:19:18 +01:00
EmanuelFeru
4a470e97b6 Enabled printf float support
- needed to display Self test results
2020-02-08 08:58:02 +01:00
EmanuelFeru
23929c5884 Initial commit 2020-02-07 16:37:13 +01:00