⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
11个帖子/ 0新
最后一篇
jeff_carroll
离线
最后一次露面:5个月2周前
加入:2020-05-05 17:09
电池反弹DA14531.

你好,

我用小硬币电池供电DA14531。有时当我插入电池时,似乎处理器无法启动或卡复位。我想知道它是否遇到了与DA14585处理器相同的电池反弹问题?您如何建议缓解此问题,因为DA14531没有专用的重置引脚。RESET引脚当前被用作外部闪光灯的MOSI信号。

Thanks,

杰夫

Keywords:
Device:
PM_DIALOG.
离线
最后一次露面:2天17小时前
职员
加入:2018-02-08 11:03
Hi Jeff,

Hi Jeff,

Thanks for your question online. Could you please indicate how you understand that the device does not boot and halts? Does the device boot from System-RAM, SPI Flash or OTP? Are you able to attach the debugger via JTAG interface?

我假设是一个带有DA14531 SOC的定制板,所以你可以检查VBAT中的电压电平吗?

The DA14531 has a Power-On-Reset (POR) mechanism and is always enabled on the VBAT_LOW, so there are any battery debouncing problem as the DA14585.

根据AN-B-075: DA14531 Hardware Guidelines,VBAT_LOW受到电动复位电路POR_LOW的保护,当电压低于1.0V(V_IL)超过50μs时,将产生HW复位。请参阅DA14531数据表中的复位部分电源。

谢谢,PM_DIALOG.

jeff_carroll
离线
最后一次露面:5个月2周前
加入:2020-05-05 17:09
你好,

你好,

您是正确的,这是一个带有Teo SoC的自定义板。系统正在从SPI Flash启动(一旦我们完成软件,我们会将其刻录到OTP)。如果我用电池向电池供电,我测量vbat = 2.62V。当我使用JTAG接口连接到电路板时,我可以检测到处理器,但它无法配置SPI闪存引脚。以下是SmartSnippets Toolbox的日志文件我尝试连接时:

[信息SPI Flash @ 20-09-17 15:02:36]找到了带ID 0x0bc11477的SW-DP
[INFO SPI Flash @20-09-17 15:02:36] Using pre-configured AP[0] as AHB-AP to communicate with core
[信息SPI Flash @ 20-09-17 15:02:36] AP-IDR:0x04770031,类型:AHB-AP
[INFO SPI Flash @20-09-17 15:02:36] AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)
[INFO SPI Flash @20-09-17 15:02:36] Found Cortex-M0 r0p1, Little endian.
[信息SPI Flash @ 20-09-17 15:02:36] FpUnit:4代码(BP)插槽和0个字幕插槽
[INFO SPI Flash @20-09-17 15:02:36] CoreSight components:
[信息SPI Flash @ 20-09-17 15:02:36] Romtbl [0] @ E00FF000
[信息SPI Flash @ 20-09-17 15:02:36] Romtbl [0] [0]:e000u000,cid:b105e00d,pid:000bb008 scs
[信息SPI Flash @ 20-09-17 15:02:36] Romtbl [0] [1]:E0001000,CID:B105E00D,PID:000BB00A DWT
[信息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] 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:02:47] Successfully downloaded firmware file to the board.
[ERROR SPI Flash @20-09-17 15:02:47] Failed configuring SPI Flash ports and pins.

However, when I power the board from an external power supply set to 3.0V, I can connect with the JTAG interface and it can configure the SPI Flash pins as seen below.

[INFO SPI Flash @20-09-17 15:07:57] Found SW-DP with ID 0x0BC11477
[INFO SPI Flash @20-09-17 15:07:57] Using pre-configured AP[0] as AHB-AP to communicate with core
[INFO SPI Flash @20-09-17 15:07:57] AP-IDR: 0x04770031, Type: AHB-AP
[信息SPI Flash @ 20-09-17 15:07:57] AHB-AP ROM:0xe00FF000(基本Addr。第一rom表)
[INFO SPI Flash @20-09-17 15:07:57] Found Cortex-M0 r0p1, Little endian.
[INFO SPI Flash @20-09-17 15:07:57] FPUnit: 4 code (BP) slots and 0 literal slots
[信息SPI Flash @ 20-09-17 15:07:57] Coresight组件:
[信息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
[信息SPI Flash @ 20-09-17 15:07:57] Romtbl [0] [1]:E0001000,CID:B105E00D,PID:000BB00A DWT
[信息SPI Flash @ 20-09-17 15:07:57] romtbl [0] [2]:e0002000,cid:b105e00d,pid:000bb00b fpb
[信息SPI Flash @ 20-09-17 15:07:57]固件文件c:\ diasemi \ smartsnippetsstudio2.0.12 \ toolbox \ common_resources \ supportspackages \ da1453x \ toolbox_resources / common / jtag_programmer.bin已被选中以下载。
[信息SPI Flash @ 20-09-17 15:07:57]成功下载了固件文件到电路板。
[INFO SPI Flash @20-09-17 15:07:57] Successfully configured SPI Flash ports and pins.

我注意到的另一件事是,我有一些克斯特nal LEDs connected to P0_7, P0_8, and P0_9 and they do not light up correctly when I power the board from a battery but they do light up correctly when using the power supply. I should also mention that we are using not using the Buck or Boost converter but are operating the DA14531 in bypass mode.

PM_DIALOG.
离线
最后一次露面:2天17小时前
职员
加入:2018-02-08 11:03
Hi jeff_carroll,

Hi jeff_carroll,

Let me check it internally and I’ll get back to you.

谢谢,PM_DIALOG.

PM_DIALOG.
离线
最后一次露面:2天17小时前
职员
加入:2018-02-08 11:03
Hi jeff_carroll,

Hi jeff_carroll,

As mentioned in previous reply, there aren’t any battery debouncing issue in DA14531, as there POR functionality on the VBTA_LOW and VBAT_HIGH.

Regarding your issue, I would suggest to use an oscilloscope and check the current while trying to program the SPI flash. Usually for flash programmed 10-20μΑ are required (it is also depended on the flash), so you can check there a current drop upon programming.

测量VBAT_HIGH和VBAT_LOW关闭的电压也是很好的,并且如果在编程期间低于1.8V,则将进行POR。在编程期间电压是否稳定?

Given that a coin cell battery is used, the resistance is high, so this might cause a voltage drop.

Did you dry to download firmware to the System-RAM? Is that working?

谢谢,PM_DIALOG.

jeff_carroll
离线
最后一次露面:5个月2周前
加入:2020-05-05 17:09
感谢您的答复。一世

感谢您的答复。在编程外部闪光灯时,我没有看到这个问题,而是在后续电源上进行加电。在闪光灯已经编程后,当我插入硬币电池电池时,DA14531 SOC无法完全电,看起来它卡在复位时或无法读取闪光的内容。我正在使用macronix mx25r2035fzuil0。

Thanks,

杰夫

PM_DIALOG.
离线
最后一次露面:2天17小时前
职员
加入:2018-02-08 11:03
Hi jeff_carroll,

Hi jeff_carroll,

So, if I understood correctly, you mean that the deice cannot boot? How do you know that it continually resets? Is it able to boot from System-RAM?

谢谢,PM_DIALOG.

jeff_carroll
离线
最后一次露面:5个月2周前
加入:2020-05-05 17:09
当我用董事会启动时

当我用董事会启动时connected to a power supply, the processor boots up, the external LEDs operate properly and I am able to connect to it via Bluetooth. When I boot with the board connected to the battery it does not appear to boot up because the external LEDs do not operate, I do not see the processor with the BLE scanner. Also when I measure the CS signal to the external flash, it is being pulled down weakly, sort of like it isn't being configured properly.

PM_DIALOG.
离线
最后一次露面:2天17小时前
职员
加入:2018-02-08 11:03
Hi jeff_carroll,

Hi jeff_carroll,

您能否测量VBAT_LOW和VBAT_HIGH上的电压?

此外,如果设备试图启动,可以探测所有SPI信号吗?

谢谢,PM_DIALOG.

WGW7812.
离线
最后一次露面:5个月2周前
加入:2020-08-21 04:26
大家好,

大家好,

一世have the similar problem with DA14531:

我的电路板由超级电容供电,其功能是每4秒唤醒一次以播放BLE广告消息。

When the board without Super-Capacitor is powered by a 3.0 V power supply(), the board will broadcast BLE advertising message properly.

But when the board with Super-Capacitor is charged from 0.0v to 3.0V(it takes about 2 minitus), the board will not broadcast broadcast BLE advertising message ,it seems like stucking in the reset stage.

一世have tried buck and bypass mode,I have tested many time and this problem ocurs every time.

任何配置的项目会解决这个问题吗?

thanks for your help.

PM_DIALOG.
离线
最后一次露面:2天17小时前
职员
加入:2018-02-08 11:03
Hi wgw7812,

Hi wgw7812,

Thanks for your comment. Would it be possible to share that schematic of the DA14531, so that we can check it? Please also share details for the capacitor.

一世f you could create a new forum ticket with your issue and the schematic, it would be great in order to handle this.

谢谢,PM_DIALOG.