你好,
我用一个小的币形电池为DA14531供电。有时,当我插入电池时,似乎处理器没有启动或被卡在复位。我想知道它是否遇到了与DA14585处理器相同的电池反弹问题?由于DA14531没有专用的复位引脚,您建议如何减轻该问题。复位引脚目前用作外部闪光灯的MOSI信号。
Thanks,
杰夫
Keywords:
Device:
你好,
我用一个小的币形电池为DA14531供电。有时,当我插入电池时,似乎处理器没有启动或被卡在复位。我想知道它是否遇到了与DA14585处理器相同的电池反弹问题?由于DA14531没有专用的复位引脚,您建议如何减轻该问题。复位引脚目前用作外部闪光灯的MOSI信号。
Thanks,
杰夫
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 GuidelinesVBAT_LOW由上电复位电路POR_LOW保护,当电压降至1.0 V(V_IL)以下超过50μs时,该电路将产生HW复位。参见DA14531数据表中的上电复位部分。
谢谢,下午好
你好,
你是对的,这是一个安装了SOC的定制板。系统目前正在从SPI Flash启动(一旦我们完成软件,我们将把它烧录到OTP)。如果我用电池给电路板供电,我测得Vbat=2.62V。当我用JTAG接口连接到电路板时,我可以检测到处理器,但它无法配置SPI闪存引脚。以下是我尝试连接时SmartSnippets工具箱中的日志文件:
[INFO 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闪存@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.
[INFO SPI Flash@20-09-17 15:02:36]FPUnit:4个代码(BP)插槽和0个文本插槽
[INFO SPI Flash @20-09-17 15:02:36] CoreSight components:
[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载重吨
[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] 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闪存@20-09-17 15:07:57]AHB-AP ROM:0xE00FF000(基本地址。(第一个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
[INFO SPI Flash@20-09-17 15:07:57]核心瞄准具组件:
[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载重吨
[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]固件文件C:\DiaSemi\SmartSnippetsStudio2.0.12\Toolbox\common\u resources\SupportPackages\DA1453x\Toolbox\u resources/common/jtag_程序员.bin已选择下载。
[INFO 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.
Hi jeff_carroll,
Let me check it internally and I’ll get back to you.
谢谢,下午好
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.
测量靠近DA14531 SoC的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?
谢谢,下午好
谢谢你的回复。我没有看到的问题,而编程的外部闪存,而是在随后的电源。当我插入币形电池时,闪存已经编程,DA14531 SoC没有完全通电,看起来它卡在复位中或无法读取闪存的内容。我使用的是Macronix MX25R2035FZUIL0。
Thanks,
杰夫
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?
谢谢,下午好
当我和董事会的时候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.
Hi jeff_carroll,
你能测量一下低压和高压的电压吗?
另外,当设备试图引导时,是否可以探测所有SPI信号?
谢谢,下午好
大家好,
I have the similar problem with DA14531:
我的电路板是由一个超级电容器供电的,它的功能是每4秒钟醒来一次,播放不可编辑的广告信息。
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.
I have tried buck and bypass mode,I have tested many time and this problem ocurs every time.
是否有任何配置项可以解决此问题?
thanks for your help.
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.
If you could create a new forum ticket with your issue and the schematic, it would be great in order to handle this.
谢谢,下午好