你好。I have a question. 如果我在定制板上使用16MHz晶体,它符合规格,但与基本开发板上使用的16MHz晶体不同,当我使用DSP或HID鼠标固件时,我必须更改微调值或其他xtal16m寄存器或软件中的某些内容,或者我可以毫无问题地使用固件? 固件存储在外部闪存内存中并从中加载。 Thanks.
好 啊。我找到了修整水晶的生产测试工具。我在dev basic板上尝试了它,但是当我使用xtrim caltest时,输出是status=26。我在振幅为3.3V的P1琰1上使用1Hz方波(占空比50%)。 什么意思? 我对我的定制板做了同样的测试,但问题是prodtest工具不能与prod通信_test.hex 模块内部(状态=9)。在我的定制板,我使用了16MHz晶体与50ppm的公差,18pF的负载上限。频率稳定度为30ppm。晶体的类型可能是问题所在? For prod_test.hex execution, it is used the external crystal or the internal RC oscillator?
You can find all the errors of the production test tool in the document UM-B-008 : Production test tool in table 2 : return codes. Concerning the crystal the XTAL16 is used and not the internal RC oscillator. Also please have a look at the datasheet to check the recommended operating conditions for the 16 MHz oscillator. The crystal should meet those requirements i dont think that the type of the crystal should make the difference since the recommended operating conditions are met.
有没有可能是某个模块损坏了? 我分析zed the spectrum outside the antenna with the DSPS profile, and it seems that the band spreads outside the Bluetooth limit. 我还尝试在dsp的主循环中插入一个uart\u write(),并将这个实验与dev basic板进行比较:在自定义板中,字符正确地出现在uart之外,但在android应用程序中找不到它。在开发板上,角色不会出现在外面,但我可以在android应用程序上找到它。 我做了其他实验,在每个人的定制板和开发板有不同的行为。 I thought that the problem can be the trimming of crystal but I can't use the prod_test app with my custom board. 我也试着用一个相同的晶体来改变晶体,但是行为是一样的。 It's possible that another malfunction reason could be a too high reflected power from antenna? 否则,在自定义板中使用BLE时,有一些寄存器需要设置? The fact that my module is a DA14580-01 1NCAC instead 1NCAD could mean something?
你好。 I resolved the main problem: I had soldered a wrong component in the buck inductance position of my custom board. Resolved it, now there is another problem: the dialog HID mouse profile run correctly (advertising, pairing and report) but the DSPS profile doesn't work. It doesn't work means that, if I load the device version of the DSPS profile, I can't find the device with the android DSPS app. 这可能是这种行为的原因吗? 我提醒您,我使用的是16M晶体(MA-506),频率公差为50ppm,频率稳定性为30ppm,负载电容为18pF,ESR为40ohm)
你好, 1. For trimming problem, could you use the waveform with the following settings? High: 500.000 msec +/- 10 ppm (0.005 msec)(<= 3.3 V) 低:10毫秒+/-1毫秒(0伏)。
2. For DSPS problem, could you check if the firmware runs up correctly on your board? And how did you run it? Load it to RAM via JTAG or flash it to memory?
如何检查DSP是否正常工作? I tried to run the DSPS device firmware on the Basic_dev_board and on my custom board: with the basic_dev_board, the firmware rum properly and I can find it with the android app, on the contrary, with my board, I can't find it. 这是奇怪的,如果我们认为HID固件正常工作与两个板。HID和DSPS固件的无线电输出功率设置是否可能存在差异?否则,有可能硬件中有什么东西阻止了dsp的正确执行?一些设置?如果没有,你知道问题出在哪里吗?
嗨,德鲁姆斯特,
XTAL16的微调值由参考设计和软件示例中的软件提供。提供的值是在专家开发工具包上测试的平均值。这并不意味着这个值适用于所有晶体振荡器。如果你想使用其他参考设计的例子,你将不得不修剪你的晶体,以确保。
谢谢你的对话
好 啊。我找到了修整水晶的生产测试工具。我在dev basic板上尝试了它,但是当我使用xtrim caltest时,输出是status=26。我在振幅为3.3V的P1琰1上使用1Hz方波(占空比50%)。
什么意思?
我对我的定制板做了同样的测试,但问题是prodtest工具不能与prod通信_test.hex 模块内部(状态=9)。在我的定制板,我使用了16MHz晶体与50ppm的公差,18pF的负载上限。频率稳定度为30ppm。晶体的类型可能是问题所在?
For prod_test.hex execution, it is used the external crystal or the internal RC oscillator?
嗨,德鲁姆斯特
You can find all the errors of the production test tool in the document UM-B-008 : Production test tool in table 2 : return codes. Concerning the crystal the XTAL16 is used and not the internal RC oscillator. Also please have a look at the datasheet to check the recommended operating conditions for the 16 MHz oscillator. The crystal should meet those requirements i dont think that the type of the crystal should make the difference since the recommended operating conditions are met.
谢谢你的对话
有没有可能是某个模块损坏了?
我分析zed the spectrum outside the antenna with the DSPS profile, and it seems that the band spreads outside the Bluetooth limit.
我还尝试在dsp的主循环中插入一个uart\u write(),并将这个实验与dev basic板进行比较:在自定义板中,字符正确地出现在uart之外,但在android应用程序中找不到它。在开发板上,角色不会出现在外面,但我可以在android应用程序上找到它。
我做了其他实验,在每个人的定制板和开发板有不同的行为。
I thought that the problem can be the trimming of crystal but I can't use the prod_test app with my custom board.
我也试着用一个相同的晶体来改变晶体,但是行为是一样的。
It's possible that another malfunction reason could be a too high reflected power from antenna?
否则,在自定义板中使用BLE时,有一些寄存器需要设置?
The fact that my module is a DA14580-01 1NCAC instead 1NCAD could mean something?
嗨,德鲁姆斯特,
在使用定制电路板时,没有应特别设置的寄存器,关于您使用的晶体,似乎负载电容很高(18pF),频率稳定性也很高(30ppm),因此射频频率在极端温度下可能会关闭过多,特别是知道XTAL可能面临非最佳微调,初始误差为10ppm(因为修剪能力保证修剪+-40ppm Xtals,而您的修剪能力为+/-50ppm,可能无法最佳修剪)。因此,较大的CL加上可能较大的负公差可能会导致较大的频率偏移。此外,您还必须考虑这个XTAL的ESR,不应超过100欧姆。结论是,580应该运行(如果不是在极端温度下),但在某些情况下,频率可能面临很大的偏移。另外,由于你没有得到任何广告,天线听起来像是一个很好的理由。
谢谢你的对话
你好。
I resolved the main problem: I had soldered a wrong component in the buck inductance position of my custom board. Resolved it, now there is another problem: the dialog HID mouse profile run correctly (advertising, pairing and report) but the DSPS profile doesn't work. It doesn't work means that, if I load the device version of the DSPS profile, I can't find the device with the android DSPS app.
这可能是这种行为的原因吗?
我提醒您,我使用的是16M晶体(MA-506),频率公差为50ppm,频率稳定性为30ppm,负载电容为18pF,ESR为40ohm)
我也试着用prod\u测试工具对16M晶体进行校准,但是输出状态是26,这是一个“校准超出范围”的错误,但是我不明白它到底是什么意思以及为什么输出这个错误。可能是脉搏的准确性(我用安捷伦33120A任意波形发生器产生脉冲,1Hz方波,占空比50%)
你好,
1. For trimming problem, could you use the waveform with the following settings?
High: 500.000 msec +/- 10 ppm (0.005 msec)(<= 3.3 V)
低:10毫秒+/-1毫秒(0伏)。
2. For DSPS problem, could you check if the firmware runs up correctly on your board? And how did you run it? Load it to RAM via JTAG or flash it to memory?
实际上,为了测试,我通过UART以57.6kbit/s的速率加载固件(引脚p0u4和p0u5)。我不使用jtag,因为我无法通过它加载固件。
在测试结束时,在正常使用该板时,固件将由外部闪存加载。
如何检查DSP是否正常工作?
I tried to run the DSPS device firmware on the Basic_dev_board and on my custom board: with the basic_dev_board, the firmware rum properly and I can find it with the android app, on the contrary, with my board, I can't find it.
这是奇怪的,如果我们认为HID固件正常工作与两个板。HID和DSPS固件的无线电输出功率设置是否可能存在差异?否则,有可能硬件中有什么东西阻止了dsp的正确执行?一些设置?如果没有,你知道问题出在哪里吗?
你好,
Things you could do are
check your download process is correct.
通过UART2启用UART控制台打印以打印消息。在代码库中搜索关键字CFG\u PRINTF。