⚠️
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
jeff_carroll
Offline
Last seen:5 months 2 weeks ago
Joined:2020-05-05 17:09
Battery Bounce 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.

Thanks,

Jeff

Keywords:
Device:
PM_Dialog
Offline
Last seen:3 days 17 hours ago
Staff
Joined: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?

I assume that is a custom board with the DA14531 SoC, so can you check the voltage level in the 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.

According toAN-B-075: DA14531 Hardware Guidelines, 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.

Thanks, PM_Dialog

jeff_carroll
Offline
Last seen:5 months 2 weeks 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] Using pre-configured AP[0] as AHB-AP to communicate with core
[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 (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 code (BP) slots and 0 literal slots
[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 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] 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罗:0 xE00FF000 (Base addr. of first ROM table)
[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] 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] 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
Offline
Last seen:3 days 17 hours ago
Staff
Joined:2018-02-08 11:03
Hi jeff_carroll,

Hi jeff_carroll,

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

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:3 days 17 hours ago
Staff
Joined: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.

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?

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?

Thanks, PM_Dialog

jeff_carroll
Offline
Last seen:5 months 2 weeks 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.

Thanks,

Jeff

PM_Dialog
Offline
Last seen:3 days 17 hours ago
Staff
Joined: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?

Thanks, PM_Dialog

jeff_carroll
Offline
Last seen:5 months 2 weeks ago
Joined:2020-05-05 17:09
When I boot with the board

When I boot with the board 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
Offline
Last seen:3 days 17 hours ago
Staff
Joined:2018-02-08 11:03
Hi jeff_carroll,

Hi 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?

Thanks, PM_Dialog

wgw7812
Offline
Last seen:5 months 2 weeks ago
Joined:2020-08-21 04:26
Hi all,

Hi all,

I have the similar problem with DA14531:

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

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.

Will any configured items solve this problems?

thanks for your help.

PM_Dialog
Offline
Last seen:3 days 17 hours ago
Staff
Joined: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.

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

Thanks, PM_Dialog