Skip to main content

蓝牙模块TDK / SESUB-PAN-DA14580

Bluetooth Module

tdk_pand14580.png.

TDK SESEB-PAN-DA14580模块支持蓝牙4.1标准。建立蓝牙低能量通信所需的所有协议栈,包括各种蓝牙低能量配置文件。

Features

Bluetooth® low energy module

节省空间超小包3.5 x 3.5 x 1.0mm(典型值)

3.6.pin solder bumped BGA with 0.5mm pitch

ARM Cortex-M0 32bit high performance microcontroller, 32 kB OTP programmable memory, 84 kB ROM for Bluetooth stack, 42 kB system SRAM, 8 kB retention SRAM

包括IC(DA14580),晶体(16MHz),电感和电容器中的电容

tx_out 0 dbm(典型值)

rx_in -94 dbm(典型值)

5.0 mA(TX),5.4 mA(RX),0.8μA(深睡眠模式)

亚博国际官网平台网址

Healthcare/sports & fitness equipment (for example activity mass meter, thermometer, sphygmomanometer, blood oximeter, blood glucose meter, heart rate meter, biometrics)

Wearable devices (for example wristband, watch, ring, glasses, shoes, hat, shirt)

家庭娱乐设备(例如Emete Control,Sensor Tag,玩具,照明产品)亚博电竞菠菜

PC外围应用程序(例如:鼠标亚博国际官网平台网址,键盘,触控笔,演示文稿)

订单信息

蓝牙低能模块

Order increment: 1,000

包装:胶带和卷轴

Buy now

Back to results

2个月前

DA14580_DSPS在接收L2CAP数据包划分为BT碎片时重置。

Posted bymagnus.lovdahl…25分 7回复
0旋转

你好

I have an issue where the DA14580 resets when receiving a l2cap data that is divided into fragments. The first frame is just a part of the l2cap header and the second part is the rest of the header and the attribute protocol data. See picture. I am not sure that is according to BT protocol? Anyway the DA14580 should not reset.

The DA14580 acts as a peripheral role and the I have a PC program using the BT chip on the PC as a central.

附件是一个SODERA LE BT嗅探器迹线,显示了BT流量。

在DA14580_DSPS软件中有什么可以做的,以避免重置这个吗?

是根据规范以这种方式发送L2CAP片段数据吗?

此致

MAGNUSLÖVDAHL.

附件 尺寸
da14580 resets.png 112.25 KB

2个月前

PM_DIALOG.

Hi Magnus Lövdahl,

谢谢你的帖子。请问您是否使用DSP(SPS_DEVICE)如对话框提供或您在源代码中完成了任何修改吗?此外,您正在使用的中央设备是什么?您可以用SPS_HOST应用程序复制吗?

谢谢,PM_DIALOG.

2个月前

magnus.lovdahl… 25分

你好,谢谢你的回复,

是的,DSPS项目(V_5.150.2)有很大的变化,但我不认为这会影响这个问题。

我没有可能将您的SPS设备作为中规码使用,因此我无法测试。

As I wrote I am using a PC as central device with our own written program when the reset occur. The central device SW is written for many platforms so we can run it from mobiles or iPads. When running it from a mobile or iPads we don’t see the reset and I think that is because they don’t divide up the l2cap header into BT frames (see picture from first comment), but the PC does.

I think the DSPS project(v_5.150.2) resets because of the small BT frame where the l2cap header is divided up. I am not sure if it is legal to do that according to BT protocol. That was one of the questions I had.

Anyway, even if it against the protocol the DA14580 should not reset, it should be handle as an error, not a reset.

The second question was if I could prevent this reset in any way.

Hopefully you could test to send a l2cap layer data with the l2cap header divided up.

此致

MAGNUSLÖVDAHL.

2个月前

PM_DIALOG.

Hi Magnus Lövdahl,

谢谢你的评论。是否有可能附加整个嗅探器,以便我们可以去思考吗?

你提到DA14580重置。你能请耐心ase run it in debug mode and check if the code freezes into an assertion, NMI or the WDOG expires? I would like to check what could be the reset of the reset. I assume that the DA4580 is booting from flash and so after the reset it starts adverting immediately.

Can I ask if it is an existing or upcoming product based on DA14580?

如果您正在启动新设计,我们将强烈建议进入DA14531或DA14585 / 586产品和SDK6.0.14,因为它更加提高。亚博电竞菠菜我们有很多代码示例和改进的文档,还有软件路线图支持。DA14580产品系列和SDK5没有任何软件路线图支持。

//www.xmece.com/products/connectivity/bluetooth-low-energy/products/da14531

也有一个DA14531模块,即DA14531 SmartBond Tiny™模块!

DSPS is also available for DA14531:

https://www.dialog-seminile.com/produ亚博电竞菠菜cts/dialog-serial-port-service-dsps.

谢谢,PM_DIALOG.

2个月前

magnus.lovdahl… 25分

你好,

这是一个已与Mobil和平板电脑一起使用的现有产品。我们在一个阶段,我们计划为PC释放我们的“中央设备”SW。当我们使用PC时,我们看到了这些问题。

附加是具有此问题的嗅探文件的一部分。

让我解释一下。我们处于媒体模式,通过UART向DA14580读取从微型连接到DA14580的大量数据,通过BT向PC发送数据。有时PC通过在另一个方向上发送数据来确认传输。在这些PC之一期间,PC将L2CAP标题分成一个小BT片段,遵循27字节片段。DA14580崩溃。

错误发生在帧号184681中。PC发送L2CAP帧。5Byte“开始”帧,后跟27字节“延续”BT帧和DA14580崩溃。

在帧号184420的日志开始时,PC发送出正确的L2CAP帧。27Byte“开始”帧,后跟27字节“延续”BT帧。

我没有可能使用连接的仿真器调试DA14580,因此我在发生崩溃时从HardFault_HandlerC中发送UART数据。

This is what it is pointing at and also map file info from addresses

R0 = 0x00082273.

rwip_heap_env_ret 0x00080f74 Data 1036

rwip_heap_msg_ret 0x00081380 Data 4108

dev_bdaddr 0x0008238c数据6

sys_startup_flag 0x00082392 Data 1

R1 = 0x00083000

diss_state 0x00082426数据1

descript 0x00082a20 Data 1502

__vectors 0x20000000数据4

__vectors_end 0x200000A0数据0

R2 = 0x00000052

R3 = 0x00000000.

R12 = 0x0000052

lr = 0x00031ADB.

l2cc_pdu_pack 0x0003164d Thumb Code

l2cc_pdu_unpack 0x000318f3拇指代码

l2cc_detect_dest 0x00031b2d Thumb Code

SMPC_CHECK_PARAM 0x00031B95拇指代码

PC = 0x00033B36.

__aeabi_memcpy4 0x00033b21拇指代码

__aeabi_memcpy8 0x00033b21拇指代码

__aeabi_memset 0x00033b45拇指代码

__aeabi_memset4 0x00033b45 Thumb Code

PSR = 0x21000000.

此致

Magnus

附件 尺寸
dsps_log.zip 7.74 KB.

2个月前

PM_DIALOG.

Hi Magnus Lövdahl,

感谢您的问题描述,并用于附加嗅探器日志的一部分。让我检查一下,我会回复你。可能我需要在内部将其升级到团队中以查看它。

谢谢,PM_DIALOG.

2个月前

magnus.lovdahl… 25分

你好,

I am truly glad you trying to help me.

此致

Magnus

2个月前

PM_DIALOG.

嗨马格努斯,

We have taken this offline from the forum, so someone from Dialog will reach out to you directly at your registered email address.

谢谢,PM_DIALOG.