summaryrefslogtreecommitdiffstats
path: root/bsps/arm/tms570/console/tms570-sci.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/tms570: Fix console receive interruptsAdrien Chardon2024-02-011-36/+9
| | | | | | | | | | | | | | | | | | | | | `tms570_sci_interrupt_handler()` is called when an RX interrupt fires. It checks in the register `FLR`, the `RXRDY` bit (Receiver ready flag - indicate that the SCIRD contains new data). If it is set, it calls `tms570_sci_read_received_chars()`. `tms570_sci_read_received_chars()` checks the register `RD` against 0. If it is non zero, it returns 1 to indicate that one byte was read. In the old behavior, if it is zero, the function returns 0 to indicate that no data was read. The new behavior is to not silently drop 0x00 bytes. Ignoring 0x00 bytes is fine when working with printable text (which, I assume, is how this driver was tested), but as soon as the UART is used in non canonical (raw) mode, with potentially 0x00 bytes, these bytes will be silently dropped, causing issues in the data/protocol layer above. Update #4982.
* bsp/tms570: Relicense to BSD-2-ClauseSebastian Huber2024-01-151-8/+25
| | | | | | | | | Change license to BSD-2-Clause according to file history and contributor agreements. Add Doxygen file comments. Update #3053. Update #3707. Update #4982.
* bsp/tms570: Remove empty <bsp/tms570-sci.h>Sebastian Huber2024-01-151-1/+0
| | | | Update #4982.
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps: Adjust bsp.h Doxygen groupsSebastian Huber2019-03-081-1/+1
| | | | Update #3706.
* Remove explicit file names from @fileSebastian Huber2019-02-281-1/+1
| | | | | | This makes the @file documentation independent of the actual file name. Update #3707.
* bsp/tms570: correct baudrate calculation.Pavel Pisa2018-11-141-1/+1
|
* bsps: Move console drivers to bspsSebastian Huber2018-04-201-0/+642
This patch is a part of the BSP source reorganization. Update #3285.