Hi,
is there any example or guidelines on how to setup the 1-wire UART to actually send data from the PC to the DA14531 module? How should it be defined in the code?
Thanks
Hiposciamelo,
Please try the following ( assumption P0_5 used as one wire uart):
添加#定义CFG_UART_ONE_WIRE_SUPPORT to user_config.h
update the routine periph_init:
void periph_init(void)
{/* Enable One wire UART */
uart_one_wire_enable(UART2, GPIO_PORT_0, GPIO_PIN_5);
uart_one_wire_tx_en (UART2);
uart_one_wire_rx_en (UART2)
…
Thanks,
TR_DIALOG
Hiposciamelo,
Please try the following ( assumption P0_5 used as one wire uart):
添加#定义CFG_UART_ONE_WIRE_SUPPORT to user_config.h
update the routine periph_init:
void periph_init(void)
{/* Enable One wire UART */
uart_one_wire_enable(UART2, GPIO_PORT_0, GPIO_PIN_5);
uart_one_wire_tx_en (UART2);
uart_one_wire_rx_en (UART2)
…
Thanks,
TR_DIALOG