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

你好,

我无法使用2线UART启动DA14531(Boot Step4http://lpccs-docs.dialog-semicondiondion.com/um-b-119_da14585-da14531_sw_platform_reference/appendix/appendix.html#da14531-booting-sequence-steps.)。

供参考,请找到附件的原理图。

我在绕过配置中互相界面。

一旦我上电芯片,就会从供应中提取恒定0.8mA。

And when I attach FTDI usb to uart RX pin to P0_0 (DA14531 TX) the current flow reduces to 0.1mA and no activity is seen on this pin.

预期的行为是在上面提到的链接中所述接收STX字节。

我在这里错过了什么?

请帮助,谢谢。

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

Hi amitv87,

谢谢你的问题在线。我看着你附加的原理图,预计你无法从2线UART启动。正如您在表22中看到的那样,在从2线UART引导时(步骤4),将TX映射到用于复位功能的P00。还要记住,重置很高。使用FTDI编程DA14531至2-Wire UART(引脚P00和P01)将导致设备上的连续复位,因为FTDI侧的Rx的空闲状态很高,由于FTDI侧的内部拉出。由于这与P00连接到默认情况下也作为复位的操作,因此会导致连续的重置。该解决方案是使用强大的下拉电阻,从FTDI覆盖上拉。

谢谢,PM_DIALOG.

Amitv87.
离线
最后一次露面:1 month 2 weeks ago
加入:2018-03-08 08:58
你好,thnaks for a quick reply

你好,thnaks for a quick reply.

我用2k RESIS扣上了P0_0。它也不起作用。但这次当前停留在0.8mA(它已经减少到0.1mA而没有下拉)。

我还在引脚P0_3上尝试了1线UART(引导步骤3)。连接到P0_3上的RX引脚(DA14531 TX / RX),但看不到任何活动。

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

Hi amitv87,

您能否注明如何下载FW?你在尝试通过JTAG吗?如果您使用Keil IDE,您是否能下载FW?请测量P00中的电压。

谢谢,PM_DIALOG.

Amitv87.
离线
最后一次露面:1 month 2 weeks ago
加入:2018-03-08 08:58
你好,

你好,

目前我正在尝试通过UART接收STX字节进入Mac上的串行端口终端。确认此后,我将使用手写型实用程序下载UART上的HCI FW。

各种引脚处的电压电平而不接地FTDI
P0_0 ~0.01 volts
P0_1〜0.00伏特
P0_3〜0.00伏特
XTAL32MP ~0.5 volts
XTAL32mm〜0.5伏特
vbat_high,vbat_low 3.3伏

Have I got the schematic correct?

My end goal is to use DA14531 as a network controller tied to an external mcu and download the hci fw on system startup.
以前我已经成功使用了具有相同方法的DA14585,并没有面临任何问题。

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

Hi amitv87,

您能否说明所附的原理图是完整版本?我强烈建议你看看AN-B-075: DA14531 Hardware Guidelinesfrom the DA14531 product page. This Application Note provides the minimal reference schematic, circuit explanation, and design guidelines for BLE applications based on the DA14531 SoC. Please follow this document to review your design.

具有DA14531操作的必要组件是:

  • Inductor, 2.2 µH for internal DCDC converter. Necessary for buck and boost configuration. In bypass configuration, the inductor can be removed. Which mode would you like to use? According your schematic, the VBAT_HIGH is supplied with 3.3 Volts, so I suspect that you are interested in buck mode. In addition, the 2.2μA inductor is missing from your schematic.
  • Capacitors on VBAT_HIGH and VBAT_LOW for internal DCDC converter. Their value depends on the DCDC configuration and the type of power source
  • XTAL 32 MHz, provides the main system and BLE clock
  • XTAL 32 kHz, as the low-power clock in sleep mode. When RCX (less accurate) is used, XTAL32 kHz can be omitted
  • 对于某些应用,需要雷竞技安卓下载RF低功耗滤波器来抑制第二次谐波
  • 天线。是印刷还是陶瓷

此外,您如何尝试下载FW?我无法在设计中看到JTAG接口。

谢谢,PM_DIALOG.

Amitv87.
离线
最后一次露面:1 month 2 weeks ago
加入:2018-03-08 08:58
Hi PM_Dialog,

Hi PM_Dialog,

附件的原理图已完成。
As shown in the schematic, I have placed bare minimum components (bypass configuration) to reach to a stage where I have a functional 2 wire UART bootloader.

此外,我相信从2线UART等串行接口启动不需要JTAG / SWD(至少是DA14585的情况)

mhv_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2013-12-06 15:10
把它全部接线后,你

把它全部接线后,你can remove the GND connection momentarily. This will force a Power-On-Reset (POR) and you should see the STX characer transmitted on P0_0 indicating that the device is ready for a bootload. Removing the supply does not actually provide a POR when other pins on the DA14531 are held high. Hope this helps.

/MHv

PM_DIALOG.
离线
最后一次露面:1天2小时前
职员
加入:2018-02-08 11:03
Thanks MHv_Dialog for your

Thanks MHv_Dialog for your inputs. Adding the follow comments for any other forum customer who wants to boot from 2-wire UART in by-pass mode.

Hi amitv87,

Regarding the 2-wire UART booting in by-pass mode, you should define the CFG_POWER_MODE_BYPASS in da1458x_config_basic.h header file. That macro notifies the SDK about the fixed power mode in by-pass mode. By default is un-defined.

As already mentioned in my previous comment, you should also use a strong pull-down resistor to P00 to avoid continuous reset. This is already implemented in our ProDK by populating the resistor R30 resistor and connecting the reset circuit of the mother board with the R347 resistor. This creates a strong pull down resistor + the Internal resistor on the DA14531. I would suggest first checking the RESET path we have implemented on the DA14531 ProDK. After that, you should be able to use the SmartSnippets Toolbox and boot from 2-wire UART.

请检查第6部分,从AN-B-072应用笔记中从2线UART引导,了解更多信息。

//www.wsdof.com/sites/default/files/an-b-072-da14531_booting_options.pdf

谢谢,PM_DIALOG.

Amitv87.
离线
最后一次露面:1 month 2 weeks ago
加入:2018-03-08 08:58
你好,

你好,
I tried removing the GND connection momentarily as stated bymhv_dialog.但它没有帮助。

如上所述PM_DIALOG.
Regarding the 2-wire UART booting in by-pass mode, you should define the CFG_POWER_MODE_BYPASS in da1458x_config_basic.h header file. That macro notifies the SDK about the fixed power mode in by-pass mode. By default is un-defined.

Does this mean that before using 2-wire UART booting mechanism I need to set some OTP register to enable bypass mode using JTAG/SWD or just configure the macro for my app which I intend to load using UART bootloading mechanism.

如图所示,我还使用10k电阻拉动P0_0低电平,并将FTDI RX引脚连接到P0_3,以便使用1线UART引导机制接收STX字节。

即使在这个问题,我也没有收到stx byte

我无法测试P0_5 1-Wire UART启动(步骤1),因为我们没有将任何跟踪放在PCB连接到该引脚上。

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

Hi amitv87,

您不需要配置任何OTP寄存器以使用JTAG / SWD启用旁路模式。只需在您的应用程序代码中定义此宏。我在DA145xx Pro-DK中测试了它,并正常工作。

谢谢,PM_DIALOG.

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

Hi amitv87,

你能请让我们知道如果你能启动吗from 2-wire UART after adding the pull-down resistor in the P00 and defined the CFG_POWER_MODE_BYPASS macro? Do you need further support on this?

谢谢,PM_DIALOG.

Amitv87.
离线
最后一次露面:1 month 2 weeks ago
加入:2018-03-08 08:58
你好,

你好,

我无法让芯片使用UART启动。我订购了USB Devkit。我收到后会尝试。

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

Hi amitv87,

请告诉我们结果。

谢谢,PM_DIALOG.

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

Hi amitv87,

请查看DA14531的更新版本的引导选项应用笔记!

//www.wsdof.com/sites/default/files/an-b-072-da14531_booting_options_v1.2.pdf

谢谢,PM_DIALOG.

Amitv87.
离线
最后一次露面:1 month 2 weeks ago
加入:2018-03-08 08:58
你好,

你好,

I tested 2-wire UART boot on usb devkit and it worked fine.

Thanks.

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

Hi amitv87,

Thanks you for the update and for you feedback. If you have any other issue, please raise a new forum thread.

Regards, PM_Dialog