⚠️
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
杰夫·卡罗尔
Offline
Last seen:5 months 6 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:12 hours 2 min ago
Staff
Joined:2018-02-08 11:03
嗨,杰夫,

嗨,杰夫,

谢谢你的问题。您能说明您如何理解设备没有启动和停止吗?设备是否从系统RAM、SPI闪存或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上启用,因此存在任何电池解压问题,如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

杰夫·卡罗尔
Offline
Last seen:5 months 6 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
[INFO 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
[INFO SPI Flash@20-09-17 15:02:36]AHB-AP ROM:0xE00FF000(基本地址)。第一个ROM表的)
[INFO SPI Flash@20-09-17 15:02:36]发现皮质-M0 r0p1,小端。
[INFO SPI Flash @20-09-17 15:02:36] FPUnit: 4 code (BP) slots and 0 literal slots
[INFO SPI Flash@20-09-17 15:02:36]CoreShight组件:
[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
[INFO SPI Flash@20-09-17 15:02:36]固件文件C:\DiaSemi\SmartSnippetsStudio2.0.12\Toolbox\common\U resources\SupportPackages\DA1453x\Toolbox\U resources/common/jtag_程序员.bin已选择下载。
[INFO SPI Flash@20-09-17 15:02:47]已成功将固件文件下载到板上。
[错误SPI Flash@20-09-17 15:02:47]配置SPI闪存端口和引脚失败。

但是,当我从外部电源设置为3.0V时,我可以连接JTAG接口,并且它可以配置SPI闪存引脚,如下所示。

[INFO 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与核心通信
[INFO 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)
[INFO SPI Flash@20-09-17 15:07:57]发现皮质-M0 r0p1,小端。
[INFO 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
[INFO SPI Flash@20-09-17 15:07:57]ROMTbl[0][0]:E000E000,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.
[INFO SPI Flash@20-09-17 15:07:57]成功配置SPI闪存端口和引脚。

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

PM_Dialog
Offline
Last seen:12 hours 2 min ago
Staff
Joined:2018-02-08 11:03
嗨杰夫·卡罗尔,

嗨杰夫·卡罗尔,

我先检查一下,我会给你回电的。

谢谢,PM_Dialog

PM_Dialog
Offline
Last seen:12 hours 2 min ago
Staff
Joined:2018-02-08 11:03
嗨杰夫·卡罗尔,

嗨杰夫·卡罗尔,

如前一答复中所述,DA14531中没有任何电池脱块问题,因为VBTALOW和VBAT炣高上有POR功能。

关于您的问题,我建议使用示波器,并检查电流,同时尝试编程SPI闪存。通常对于flash编程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

杰夫·卡罗尔
Offline
Last seen:5 months 6 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:12 hours 2 min ago
Staff
Joined:2018-02-08 11:03
嗨杰夫·卡罗尔,

嗨杰夫·卡罗尔,

所以,如果我理解正确,你是说神仙不能启动?你怎么知道它会不断地重新设置?它能从系统RAM启动吗?

谢谢,PM_Dialog

杰夫·卡罗尔
Offline
Last seen:5 months 6 days ago
Joined:2020-05-05 17:09
When I boot with the board

当我启动时,与电源连接的板,处理器启动,外部LED正常工作,我可以通过蓝牙连接到它。当我启动时,与电池连接的板,它似乎没有启动,因为外部LED不工作,我没有看到处理器与BLE扫描仪。另外,当我测量到外部闪存的CS信号时,它被弱地拉下来,有点像它没有被正确配置。

PM_Dialog
Offline
Last seen:12 hours 2 min ago
Staff
Joined:2018-02-08 11:03
嗨杰夫·卡罗尔,

嗨杰夫·卡罗尔,

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:1周前5个月
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.0V电源()供电时,板将正确播放可播放的广告信息。

但当超级电容器的板充电从0.0v到3.0v(约需要2分钟)时,板上不会播放广播的广告信息,似乎在复位阶段出现了磕磕绊绊的现象。

我尝试了buck和旁路模式,我已经测试了很多次,每次这个问题的焦点。

Will any configured items solve this problems?

谢谢你的帮助。

PM_Dialog
Offline
Last seen:12 hours 2 min ago
Staff
Joined:2018-02-08 11:03
嗨WW7812,

嗨WW7812,

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

如果你可以创建一个新的论坛门票与你的问题和示意图,它将是伟大的处理这将是伟大的。

谢谢,PM_Dialog