if(default_xtal16m_trim_value_used) { // Apply the default XTAL16 trim value if a trim value has not been programmed in OTP if ( 0 == GetWord16(CLK_FREQ_TRIM_REG) ) { set_xtal16m_trim_value(default_xtal16m_trim_value); } }
Pls note my interface is JTAG (SWD) only; do I need the UART too to send commands? If so, which pins are the UART pins in the prod_test_580.hex, and what baudrate to use?
Please check the user_periph_setup.c/h files under arch folder in order to check which UART pins the prod_test is using. The defauld UART pis are P04 and P05. Also, the default baudrate is at 115200, please check the uart_init() in the periph_init() function.
我不是quite sure what you are trying to accomplish because your question is very generic, but if you would like stop advertising you should send to the stack a GAPM_CANCEL_CMD command. The appropriate API for this scope is the app_easy_gap_advertise_stop(). Please check the ble_app_sleepmode example of the SDK for getting more information.
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">Hi yesways,
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">最可能的原因可能是因为XTAL的修剪。如果您使用我们在SDK中使用的默认值2Trimment值,请您告诉我?请检查SDK的Arch_System.c文件中的Default_xtal16m_trim_value(850)定义。
minor-latin;mso-bidi-theme-font:minor-latin;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;background:white;mso-ansi-language:
EN-US">谢谢,PM_DIALOG.
你好,
我的项目(DSPS SPS_DEVICE)在ARCH_SYSTEM.H中有这一行
#define default_xtal16m_trim_value(1302)
但由于文件da1458x_config_advanced.h包含此行
#undef cfg_use_default_xtal16m_trim_value_if_not_calibrated.
I suppose the compiler will use
#定义DEFAULT_XTAL16M_TRIM_VALUE_USED 0
因此,不使用修剪值?
if(default_xtal16m_trim_value_used)
{
// Apply the default XTAL16 trim value if a trim value has not been programmed in OTP
if ( 0 == GetWord16(CLK_FREQ_TRIM_REG) )
{
set_xtal16m_trim_value(default_xtal16m_trim_value);
}
}
请不要在生产中尚未进行任何校准。如果没有校准,我不会感到惊讶。
但要完全丢失渠道37和38,并在2.46GHz左右获得额外的“随机”频道似乎很奇怪。或者这可以真的是由我们没有做的
生产校准?
Hi yesways,
请注意,通道39处于2480MHz的频率,但是全部2460MHz不是广告频道。2460MHz的频道有些意外。我的建议是使用SmartSnippet工具箱,并使用RF Master生成TX突发。你能否让我知道在低中频和高频时产生爆发的情况?该实验将排除任何硬件问题。此外,强烈建议审查原理图,布局和XTAL数据表,如果RF Master显示奇怪的行为。
谢谢,PM_DIALOG.
你好,
I am now trying to run the RF Master. I can download the prod_test_580.hex file onto my board,
但是TX命令(或任何命令)不会通过:
[信息概述@ 18-10-05 08:03:48]找到了带ID 0x0BB11477的SWD-DP
[信息概述@ 18-10-05 08:03:48] FpUnit:4代码(BP)插槽和0个字幕插槽
[INFO General @18-10-05 08:03:48] Found Cortex-M0 r0p0, Little endian.
[信息概述@ 18-10-05 08:03:48]精选的设备。
[信息概述@ 18-10-05 08:03:50]成功连接到localhost上的jlinkgdbserver:2331
[信息概述@ 18-10-05 08:03:50]固件文件c:\ svn \资源\ dialog \ sdk 5.0.4 \ da1458x_sdk \ 5.0.4 \ binaries \ da1458x \ prod_test \ prod_test_580.hex已被选中。
[INFO RF Master @18-10-05 08:03:55] Successfully downloaded firmware file to the board.
[信息RF Master @ 18-10-05 08:04:06]使用2.402 GHz(CH.37)和有效载荷伪兰特9开始连续传输。
[错误rf master @ 18-10-05 08:04:06]使用op代码0xfc84发送命令失败
[Tx RF Master @18-10-05 08:04:06]
====> [18-10-05 08:04:06.832] Tx <====
opcode : 0xFC84
length : 0x02
频率:0x00.
有效载荷类型:0x00
Payload : 84 FC 02 00 00
Pls note my interface is JTAG (SWD) only; do I need the UART too to send commands?
If so, which pins are the UART pins in the prod_test_580.hex, and what baudrate to use?
或者还有什么我需要做的吗?
Thanks
Hi yesways,
Please check the user_periph_setup.c/h files under arch folder in order to check which UART pins the prod_test is using. The defauld UART pis are P04 and P05. Also, the default baudrate is at 115200, please check the uart_init() in the periph_init() function.
谢谢,PM_DIALOG.
你好,
目前我的董事会没有外部提供UART;只有SWD
我是否必须使用UART,或者是否有其他方法可以发送命令来探讨fw
来自rf master工具?
布尔
罗杰
Hi yesways,
是的,您应该拥有UART连接,因为该工具通过UART向DA14580设备发送命令。
谢谢,PM_DIALOG.
我使用da14583,我想停止广告,但没有成功
help me
嗨Chenpenglai,
我不是quite sure what you are trying to accomplish because your question is very generic, but if you would like stop advertising you should send to the stack a GAPM_CANCEL_CMD command. The appropriate API for this scope is the app_easy_gap_advertise_stop(). Please check the ble_app_sleepmode example of the SDK for getting more information.
谢谢,PM_DIALOG.
Hi yesways,
你的问题是否解决了?我也遇到了类似于你的问题。我使用的芯片是DA14583。大多数电路板都是正常的。一些板不能正常播出。我期待着你的回复,谢谢!
Thanks
张奎