⚠️
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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
11 posts / 0 new
Last post
杰弗_Carroll.
Offline
Last seen:5 months 5 days ago
Joined:2020-05-05 17:09
电池弹跳DA14531

Hello,

I am powering the DA14531 with a small coin cell battery. Sometimes when I plug in the battery it appears that the processor does not boot up or is stuck in reset. I am wondering if it is experiencing the same battery bounce issue as the DA14585 processor? How do you suggest mitigating the issue since the DA14531 doesn't have a dedicated Reset pin. The reset pin is currently being used as the MOSI signal to the external flash.

谢谢,

Jeff

关键词:
设备:
PM_Dialog
Offline
Last seen:11 hours 21 min ago
Staff
Joined:2018-02-08 11:03
嗨杰夫,

嗨杰夫,

谢谢你的问题在线。您能否说明您如何理解设备无法启动和停止?设备是否从System-RAM,SPI Flash或OTP启动?您是否能够通过JTAG接口附加调试器?

I assume that is a custom board with the DA14531 SoC, so can you check the voltage level in the VBAT?

DA14531具有上电复位(POR)机制,始终在VBAT_LOW上启用,因此有任何电池DEBOUNCING问题作为DA14585。

According toAN-B-075:DA14531硬件指南, the VBAT_LOW is protected with the power-on-reset circuit POR_LOW, which will generate a HW reset when the voltage drops below 1.0 V (V_IL) for more than 50 μs. See Power On Reset section in datasheet of DA14531.

谢谢,PM_Dialog

杰弗_Carroll.
Offline
Last seen:5 months 5 days ago
Joined:2020-05-05 17:09
Hello,

Hello,

You are correct, this is a custom board with teh SOC installed on it. The system is booting from SPI Flash at the moment (once we finalize the software we will burn it to the OTP). If I power the board with a battery I measure Vbat=2.62V. When I connect to the board with the JTAG interface, I can detect the processor but it fails to configure the SPI Flash pins. Here is the log file from SmartSnippets Toolbox when I try to connect:

[INFO SPI Flash @20-09-17 15:02:36] Found SW-DP with ID 0x0BC11477
[信息SPI Flash @ 20-09-17 15:02:36]使用预配置的AP [0]作为AHB-AP与核心通信
[INFO SPI Flash @20-09-17 15:02:36] AP-IDR: 0x04770031, Type: AHB-AP
[信息SPI Flash @ 20-09-17 15:02:36] AHB-AP ROM:0xE00FF000(基本Addr。第一rom表)
[信息SPI Flash @ 20-09-17 15:02:36]找到了Cortex-M0 R0P1,Little Endian。
[INFO SPI Flash @20-09-17 15:02:36] FPUnit: 4 code (BP) slots and 0 literal slots
[信息SPI Flash @ 20-09-17 15:02:36] Coresight组件:
[INFO SPI Flash @20-09-17 15:02:36] ROMTbl[0] @ E00FF000
[INFO SPI Flash @20-09-17 15:02:36] ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
[INFO SPI Flash @20-09-17 15:02:36] ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
[INFO SPI Flash @20-09-17 15:02:36] ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
[信息SPI Flash @ 20-09-17 15:02:36]固件文件c:\ diasemi \ smartsnippetsstudio2.0.12 \ toolbox \ common_resources \ supportspackages \ da1453x \ toolbox_resources / common / jtag_programmer.bin已被选中以下载。
[信息SPI Flash @ 20-09-17 15:02:47]成功下载了固件文件到电路板。
[错误SPI Flash @ 20-09-17 15:02:47]配置SPI闪存端口和引脚。

但是,当我从一个外接电源供电到3.0V的电路板时,我可以与JTAG接口连接,它可以配置如下所示的SPI闪存引脚。

[信息SPI Flash @ 20-09-17 15:07:57]找到了带ID 0x0bc11477的SW-DP
[Info SPI Flash @ 20-09-17 15:07:57]使用预配置的AP [0]作为AHB-AP与核心通信
[信息SPI Flash @ 20-09-17 15:07:57] AP-IDR:0x04770031,类型:AHB-AP
(信息SPI Flash @20-09-17 15:07:57] AHB-AP罗:0 xE00FF000 (Base addr. of first ROM table)
[信息SPI Flash @ 20-09-17 15:07:57]找到了Cortex-M0 R0P1,Little Endian。
[信息SPI Flash @ 20-09-17 15:07:57] FpUnit:4代码(BP)插槽和0个字幕插槽
[INFO SPI Flash @20-09-17 15:07:57] CoreSight components:
[INFO SPI Flash @20-09-17 15:07:57] ROMTbl[0] @ E00FF000
[信息SPI Flash @ 20-09-17 15:07:57] Romtbl [0] [0]:e000000,cid:b105e00d,pid:000bb008 scs
[INFO SPI Flash @20-09-17 15:07:57] ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
[INFO SPI Flash @20-09-17 15:07:57] ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
[INFO SPI Flash @20-09-17 15:07:57] Firmware File C:\DiaSemi\SmartSnippetsStudio2.0.12\Toolbox\common_resources\SupportPackages\DA1453x\toolbox_resources/common/jtag_programmer.bin has been selected for downloading.
[INFO SPI Flash @20-09-17 15:07:57] Successfully downloaded firmware file to the board.
[信息SPI Flash @ 20-09-17 15:07:57]成功配置了SPI闪存端口和引脚。

另一件事我注意到我有一些连接到P0_7,P0_8和P0_9的外部LED,当我从电池供电时,它们不会正确亮起,但在使用电源时它们会正确亮起。我还应该提到我们使用的不是使用降压或升压转换器,而是在旁路模式下操作DA14531。

PM_Dialog
Offline
Last seen:11 hours 21 min ago
Staff
Joined:2018-02-08 11:03
嗨jeff_carroll,

嗨jeff_carroll,

让我在内部检查它,我会回复你。

谢谢,PM_Dialog

PM_Dialog
Offline
Last seen:11 hours 21 min ago
Staff
Joined:2018-02-08 11:03
嗨jeff_carroll,

嗨jeff_carroll,

如前所述的回复中,DA14531中没有任何电池脱嘴问题,以及VBTA_LOW和VBAT_HIGH的POR功能。

关于您的问题,我建议使用示波器并在尝试编写SPI闪存时检查当前。通常对于闪存编程,需要10-20μα(它也依赖于闪光灯),因此您可以在编程时检查当前下降。

It would be also good to measure the voltage on the VBAT_HIGH and VBAT_LOW closing to the DA14531 SoC and if it is below 1.8V during programming, then a POR will take place. Is the voltage stable during programming?

考虑到使用硬币电池电池,电阻很高,因此这可能导致电压降。

您是否干燥下将固件下载到系统RAM?那是工作吗?

谢谢,PM_Dialog

杰弗_Carroll.
Offline
Last seen:5 months 5 days ago
Joined:2020-05-05 17:09
Thank you for the reply. I

Thank you for the reply. I am not seeing the issue while programming the external flash but rather during subsequent power ups. After the flash has already been programmed when I insert the coin cell battery the DA14531 SoC does not power up completely, it looks like it is stuck in reset or can't read the contents of the Flash. I am using Macronix MX25R2035FZUIL0.

谢谢,

Jeff

PM_Dialog
Offline
Last seen:11 hours 21 min ago
Staff
Joined:2018-02-08 11:03
嗨jeff_carroll,

嗨jeff_carroll,

所以,如果我理解正确,你的意思是徒步无法启动?你怎么知道它不断重置?它是否能够从系统RAM启动?

谢谢,PM_Dialog

杰弗_Carroll.
Offline
Last seen:5 months 5 days ago
Joined:2020-05-05 17:09
When I boot with the board

当我使用连接电源的电路板启动时,处理器启动时,外部LED运行正常,我能够通过蓝牙连接到它。当我用连接到电池的电路板启动时,由于外部LED无法操作,因此似乎没有启动,我没有看到带有BLE扫描仪的处理器。此外,当我测量外部闪光灯的CS信号时,它会略微下拉,就像它不正确配置。

PM_Dialog
Offline
Last seen:11 hours 21 min ago
Staff
Joined:2018-02-08 11:03
嗨jeff_carroll,

嗨jeff_carroll,

Can you please measure the voltage on the VBAT_LOW and VBAT_HIGH?

Additionally, would it be possible to probe all the SPI signals when the device is trying to boot?

谢谢,PM_Dialog

wgw7812
Offline
Last seen:5个月1周前
Joined:2020-08-21 04:26
Hi all,

Hi all,

我有DA14531的类似问题:

My board is powered by a Super-Capacitor, its function is to wake up once every 4 seconds to broadcast BLE advertising message .

当没有超级电容的电路板供电3.0 V电源(),电路板将正确播放BLE广告消息。

但是当带有超级电容的电路板收取0.0V至3.0V时(大约需要2 minitus),电路板将不会播放广播BLE广告信息,似乎在复位阶段困扰。

我已经尝试了降压和旁路模式,我已经测试了很多时间,并且每次都会响起这个问题。

Will any configured items solve this problems?

谢谢你的帮助。

PM_Dialog
Offline
Last seen:11 hours 21 min ago
Staff
Joined:2018-02-08 11:03
嗨wgw7812,

嗨wgw7812,

谢谢你的评论。是否有可能分享DA14531的示意图,以便我们检查它?请分享电容器的详细信息。

如果您可以使用问题和原理图创建新的论坛票证,可以处理此问题。

谢谢,PM_Dialog