⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
mkelwood
Offline
Last seen:2 weeks 5 days ago
加入:2017 - 05-19 18:27
UART_MCR_REG

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:
MT_dialog
Offline
Last seen:3 months 5 days ago
工作人员
加入:2015-06-08 11:34
Hi mkelwood,

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