Hello
I am developing a hardware board using DA14683 and I just received a first prototype from production.
I managed to start a binary file using SEGGER j-link EDU up to the Cortex-M based on free_rtos retarget sample code.
The boot sequence is executed properly until :
sys U时钟\u经理c:397
while (!hw_cpm_is_xtal16m_started()) { // Block until XTAL16M starts
我用
IQD 064296
- 16MHz
-ESR 70欧姆
-负载电容8pF(2pF低于推荐值,但仍在4-10pF范围内)
- Frequency Tolerance 20ppm
-频率稳定性20ppm
- Drive Level 100µW
The Quartz has been soldered as close a possible to the CPU using symmetric 4.1mm length wiring.
Can you give me some procedure to debug step by step the 16MHz clock so I can figure out if default settings of the SDK are appropriate for me ?
谢谢你in advance
Device:
您好!bobspam@free.fr,
Can you please try to use an external crystal oscillator in order to make sure that the XTAL that you are using is working correctly? Also, I would suggest you to use the default trim values and check if the boot sequence starts correctly. Can you please let me know if you have done any modifications in the SDK?
谢谢,PM_Dialog
Hello
谢谢你的第一个答案。
我正在尝试运行未修改的freertos\u重定目标。它不太依赖于外部硬件,因此它应该允许我验证我正在使用的DA14683的最小行为。我的硬件设计非常基础,但有两个例外:所有外部IO都是3.3V(闪存和外围设备)。
VBAT is measured by the JTAG probe at 3.7V during the tests.
我不能用外部时钟。它没有连接到我的PCB上。我试图用一个范围触摸振荡器的垫子,但探头的内部电容与石英本身的大小相同,所以我确信它会产生不稳定的结果。
我还没有开始改变修剪值。考虑到我使用的振荡器低于建议的10pF,所以微调函数对于获得稳定和准确的东西非常有用。
Can you please confirm to me
-解决办法,所以我只使用RC时钟
- hardware design requirements for both clocks so I prepare my Run 2 ?
谢谢你
您好!bobspam@free.fr,
如果我理解正确,你提到过你使用的是非规格晶体振荡器。你能告诉我你用的是哪个晶体振荡器吗?你问题的可能原因是因为XTALs。为了使用RC16,您应该使用sysclk_RC16更改sysclk()函数中cm\sys_clk_init()和cm_sys lu clk_set()的sysclk_XTAL16M输入。尽管,代码在main()函数之前得到堆栈,所以使用RC16我想这将不会解决您的问题。顺便问一下,你可以查一下,然后告诉我。
谢谢,PM_Dialog
Hello
我现在正在使用- IQD 064296, 16MHz, 8pF
- IQD 009678, 32.768kHz, 12pF
我刚点的- ECS-160-10-33-AGM-TR,16MHz,10pF
- IQD 009709, 32.768kHz, 7pF
To replace them.
I will try to start changing the 32k quartz to see if the trimming function is able to stabilize the 16MHz/8pF. If it does not then I will change the 16MHz too.
如果我设法仅使用RC振荡器,我会通知您。BSP时钟Init功能主要基于16M时钟,因此我必须深入了解代码。
谢谢
您好!bobspam@free.fr,
拜托,让我保持联系,让我知道是否有其他问题。如果您发现上述任何答案有用请标记其中一个接受。
谢谢,PM_Dialog
Hello
我成功地改变了32k石英,我确认IQD 009709,32.768kHz,7pF与DA14683一起工作。
I still did not changed 16M quartz and the result is still the same. 16MHz does not start.
这种石英在规格内,所以修剪功能应该能够稳定它。
你能不能向我确认修剪功能可以用来补偿16MHz时钟丢失的2pF?
In my case, the 0x50000002 / CLK_FREQ_TRIM_REG is equal to 0x200.
谢谢你in advance
Hello
您能不能向我确认ECS-160-10-33-AGM-TR与DA14683一起工作?
谢谢你in advance
您好!bobspam@free.fr,
延迟道歉。你能澄清your question? The question is if the trim value is correct or how you can change the trim value? Regarding your second question for the ECS-160-10-33-AGM-TR XTAL, we have never used this type of crystal oscillator in our designs. According to its specifications, the 10p load capacitance would be good, but the ESR is on the high side and the max drive power is on the edge. I would suggest you to check the recommended operating conditions for the 16MHz crystal oscillator from the DA14683 datasheet. You will see that the ECS-160-10-33-AGM-TR is on the edge of our specification, but this might not be an issue and this type of XTAL might be working with DA14683. Also, you can have a look at the crystal oscillator that we are using in our development boards.
谢谢,PM_Dialog
Hello
我有三张董事会:
- one with IQD 064296, 16MHz, 8pF
-两个带ECS-160-10-33-AGM-TR,16MHz,10pF
它们都不使用默认BSP设置。
My question might be some wise advice to solve this issue because I am loosing a lot of time (ie settings / quartz reference)
我不能将RC16用作“救援”,因为UART信号没有正确的时间,应用程序无法工作。
谢谢你in advance
我花了时间比较各种石英,我不明白你的评论,说石英是在规格的边缘。
Please find attach some details about the quartz. The ECS-160-10-33-AGM-TR specs are very close to the 7M-16.000MEEQ-T used on the USB demo board. In particular they both have a Max Pdrv of 100µW (while note 23 of DS v2.2 specify that it should be a minimum)
谢谢你in advance
一个小细节:1V4未通电。0伏。
问题似乎不在第二部分!
要继续。。。
您好!bobspam@free.fr,
I would strongly recommend you to check all the power rails of you custom board. Probably, the crystal oscillator might not be the cause why your board is not working. Also, a general review of your board would be very helpful in order to clear the things out.2
谢谢,PM_Dialog
你好,
不幸的是,我的3个板都没有所有的电源轨。
我只有一个1.4V可用,我确认IQD 064296 16MHz,8pF工作。
振荡具有250mV振幅稳定。直流偏移350mV。这不是一个完美的窦波形。
我将不得不与演示板进行比较,以便更好地了解它是否符合DA14683。
谢谢你的帮助。
您好!bobspam@free.fr,
将您的定制栏与我们的Dev-kits进行比较是值得的。如果您有任何其他后续问题,请创建一个新的论坛线程。
谢谢,PM_Dialog
Hello
Can you please confirm to me the importance of Note 23 in D14683 Device Specification v2.2 stating that the Pdrv of the Quartz should be at least 100µW ?
USB演示板具有最大100μW的石英。
谢谢你in advance
您好!bobspam@free.fr,
According to the DA14683 datasheet, you select a crystal which can handle a drive level of at least of 100µW.
谢谢,PM_Dialog
Hello
I just received my three boards from production again.
我确认了
- IQD 009709, 32.768kHz, 7pF
和
- IQD 064296,16MHz,8PF
- ECS-160-10-33-AGM-TR, 16MHz, 10pF
are OK with DA14683.
您好!bobspam@free.fr,
很高兴您的新设计板功能齐全,感谢您让我知道。
谢谢,PM_Dialog
你好,对话专家。我在DA14683收到了女儿董事会。尝试实现ble\adv示例。当我试着调试时,我看到了这个bu_uuou外围设备启动stucks。这可能是什么原因。
嗨,斯巴达,
您能在调试模式下运行它并指出代码卡在哪里吗?另外,我建议你创建一个新的论坛帖子,因为这一个与你的问题无关。
谢谢,PM_Dialog