The register description of UART_MCR_REG in the DA14580 data sheet (pages 41 and 42) does not match the SDK description found in sdk/platform/driver/uart/reg_uart.h, beginning at line 761. Which is correct? It would seem that the uart_mcr_pack() function as defined in the SDK would fail if the register description in the data sheet was correct.
Device:
Hi mkelwood,
As far as i can tell what you see in the SDK should be leftovers from older 580 revisions with different UART modules, the proper register is described in the datasheet, but that doesn't mean that the uart_mcr_pack() function will fail it will just enable the autoflow control disable the manual flow control and the SIR mode, i dont see any problems with that the extra bit on the 7th position.
Thanks MT_dialog