I have been working with the codeless AT command code for the DA14580. I have made some changes to fit the application that I need. I was wondering if there is a way to keep track of failed connections if a wrong pin is entered. For example, I would like to implement a scenario where if a pin was entered wrong 5 times, I would like to stop advertising for 5 minutes. I would like to add this as an added security feature. Is this possible to do and how would I keep track of failed connecions if it is?
Thanks
Anthony
Hi Dialog,
I want to use UART2 to communicate with other device.
But I don't know which port/pin is ready for UART2.
//------------------------------------------------
/* UART 2 */
#if CFG_DEMO_AD_UART
#if dg_configBLACK_ORCA_MB_REV == BLACK_ORCA_MB_REV_D
# define CFG_GPIO_UART2_TX_PORT (HW_GPIO_PORT_4)
# define CFG_GPIO_UART2_TX_PIN (HW_GPIO_PIN_2)
# define CFG_GPIO_UART2_RX_PORT (HW_GPIO_PORT_4)
# define CFG_GPIO_UART2_RX_PIN (HW_GPIO_PIN_1)
#else
# define CFG_GPIO_UART2_TX_PORT (HW_GPIO_PORT_1)
# define CFG_GPIO_UART2_TX_PIN (HW_GPIO_PIN_2)
# define CFG_GPIO_UART2_RX_PORT (HW_GPIO_PORT_1)
# define CFG_GPIO_UART2_RX_PIN (HW_GPIO_PIN_3)
#endif
#endif
//----------------------------------------------------
What does 'BLACK_ORCA_MB_REV_D' means?
I remember the GPIO1-2 is used as I2C's SDA, conflict with UART2?
Thanks
Hi
I came across a custom board design around the Da14580 which has something peculiar in it's schematic. It states that "P1_2 and P1_3 cannot be toggled when 16 MHz XTAL is" .(the last word is cut off).
Is there any restriction on using pin 1_2 and 1_3 ? Is there any special dependency on the XTAL or some other peripheral ?
I tried looking for this in the datasheet but didn't find anything
Can I safely use it in my design for I2C ?
Thanks,