使用Tx = p0_0和rx = p0_1的DA14531 UART项目

了解更多常见问题解答教程

2个帖子/ 0新
最后一篇
JCDR.
离线
最后一次露面:4个月4周前
加入:2019-12-19 09:10
使用Tx = p0_0和rx = p0_1的DA14531 UART项目

PAD P0_0默认为复位输入。我发现我需要在File user_periph_setup.c的函数set_pad_functions()的开头时添加以下行

gpio_disable_hw_reset();

在文件user_periph_setup.h中修改以下行(__da14531__)

#define uart1_tx_port gpio_port_0.
#define uart1_tx_pin gpio_pin_0.
#define uart1_rx_port gpio_port_0.
#define uart1_rx_pin gpio_pin_1

#define uart2_tx_port gpio_port_0.
#define uart2_tx_pin gpio_pin_0.
#define uart2_rx_port gpio_port_0.
#define uart2_rx_pin gpio_pin_1.

关键词:
设备:
PM_DIALOG.
离线
最后一次露面:2小时4分钟前
职员
加入:2018-02-08 11:03
嗨Jean-Christian,

嗨Jean-Christian,

我已经在下面的论坛线程中回复了你。我认为这两者都覆盖了同样的话题。

https://support.dialog-semicondiondiondiondum/forums/post/dialog-smartbond-bluetooth-low-energy -%e2%80%93-plinky-txp00.Comment-26799

谢谢,PM_DIALOG.