2 posts / 0 new
Last post
z20121202038
Offline
Last seen:3 years 11 months ago
加入:2016-03-30 12:51
About the DSPS

Hi,
I have some question about the DSPS.
1) Can the pin of the uart be defined by myself? For example,
#define UART2_PORT GPIO_PORT_2
#define UART2_PIN_TX GPIO_PIN_8
#define UART2_PIN_RX GPIO_PIN_9

#define UART1_TX_PORT GPIO_PORT_1
#define UART1_TX_PIN GPIO_PIN_2
#define UART1_RX_PORT GPIO_PORT_1
#define UART1_RX_PIN GPIO_PIN_3
#define UART1_RTS_PORT GPIO_PORT_2
#define UART1_RTS_PIN GPIO_PIN_3
#define UART1_CTS_PORT GPIO_PORT_2
#define UART1_CTS_PIN GPIO_PIN_4
2) Can I use UART2 for printing debugging information while UART1 is used to receive data from other devices?
3) I changed the defintion of the UART pin, then the dialog14580 can't send broadcast packets. I dont know how to solve it, Please give me some advise.
Thanks.

Keywords:
Device:
Gongyu_Dialog
Offline
Last seen:2 weeks 17 hours ago
加入:2016-04-27 07:07
1.Yes, you can modify the pin

1.Yes, you can modify the pin.
2.Yes, different channels
3. If possible, you may upload the project when confronted with error for check. I can't reproduce the issue you mentioned.

Topic locked