CO_ERROR_CONN_FAILED_TO_BE_EST

⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
SWE
Offline
Last seen:2 months 1 week ago
加入:2016-04-12 14:55
CO_ERROR_CONN_FAILED_TO_BE_EST

Hi dialog team,
we use pan1740 in our remote control. One pan1740 is transmitter - one pan1740 is receiver.
We use DSPS application.
Our transmitter seems to work good. Some receiver too.
But some receiver are connected and disconnected after ~50ms ..100ms with reason 'CO_ERROR_CONN_FAILED_TO_BE_EST'.
Then we receive advertising message again, device is connected and disconnected, and so on..
Sometimes connection is not disconnected and DSPS(UART) works fine.

What could be the reason for our problem?
Any idea?

Device:
PM_Dialog
Offline
Last seen:1 day 13 hours ago
Staff
加入:2018-02-08 11:03
Hi SWE,

Hi SWE,

According to the BLE specification "The Connection Failed to be Established” (CO_ERROR_CONN_FAILED_TO_BE_EST) error code indicates that the Link Layer initiated a connection but the connection has failed to be established." This is usually caused when the Link Layer of the device has initiated a connection but there is no response back from the peripheral within the first 6 connection intervals.

Thanks, PM_Dialog

SWE
Offline
Last seen:2 months 1 week ago
加入:2016-04-12 14:55
Hi PM_Dialog,

Hi PM_Dialog,
thanks for your answer.
我使用一个发射机和不同的发射er with the same DSPS-application. Depending on which receiver i use, connection is established or not.
With some of the receiver the transmitter is connect immediately and other receiver need a number of attempts and others get no connection.
Do you have any idea, why they act different?

PM_Dialog
Offline
Last seen:1 day 13 hours ago
Staff
加入:2018-02-08 11:03
Hi SWE,

Hi SWE,

As I can understand, some of your receivers have a problem. Maybe, the clock will have some problems and the receiver are not able to be synchronized with the transmitter.

Thanks, PM_Dialog

SWE
Offline
Last seen:2 months 1 week ago
加入:2016-04-12 14:55
Hi PM_Dialog,

Hi PM_Dialog,
yes, some of our receivers have a problem.
If the clock has problems, what can we do?

Thanks

PM_Dialog
Offline
Last seen:1 day 13 hours ago
Staff
加入:2018-02-08 11:03
Hi SWE,

Hi SWE,

Which low power clock are you using into your project? The external XTAL32 oscillator or the internal RCX20 clock? You can change the low power clock configuration into the #define CFG_LP_CLK of the da1458x_config_advanced.h.

Thanks, PM_Dialog

SWE
Offline
Last seen:2 months 1 week ago
加入:2016-04-12 14:55
Hi PM_Dialog,

Hi PM_Dialog,

we use LP_CLK_XTAL32.
I changed the define into LP_CLK_RCX20 but the problem is still the same.

Thanks