zhangbo
2025-03-11 08f19873a4a31b79da6f5438a936568b0c6c5b48
蓝牙转发添加进去,测试正常,现在的逻辑是3s唤醒一次测距
已修改9个文件
26630 ■■■■ 文件已修改
keil/JLinkLog.txt 13250 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Listings/uwb_simple_example.map 4919 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.build_log.htm 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.hex 7932 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.htm 266 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example_MK8000 Release.dep 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/drivers/serial_at_cmd_app.c 210 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/uwb_app.c 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/uwb_simple_example.uvoptx 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/JLinkLog.txt
ÎļþÌ«´ó
keil/Listings/uwb_simple_example.map
ÎļþÌ«´ó
keil/Objects/uwb_simple_example.build_log.htm
@@ -27,14 +27,8 @@
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'D:\keil\ARM\ARMCLANG\Bin'
Build Project 'uwb_simple_example' - Target 'MK8000 Release'
compiling PCA9555.c...
linking...
D:\zhangbo\2024\Code\ChinaUWB\3Shuanxing\ChinaUWBProject-biaoqian-RX - BT-jinkoulora\keil\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION).
Program Size: Code=80152 RO-data=8956 RW-data=1744 ZI-data=27080
Finished: 0 information, 1 warning and 0 error messages.
FromELF: creating hex file...
After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\zhangbo\2024\Code\ChinaUWB\3Shuanxing\ChinaUWBProject-biaoqian-RX - BT-jinkoulora\keil\Objects\uwb_simple_example.axf"
".\Objects\uwb_simple_example.axf" - 0 Error(s), 1 Warning(s).
".\Objects\uwb_simple_example.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
keil/Objects/uwb_simple_example.hex
ÎļþÌ«´ó
keil/Objects/uwb_simple_example.htm
@@ -3,7 +3,7 @@
<title>Static Call Graph - [.\Objects\uwb_simple_example.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Objects\uwb_simple_example.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6140002: Last Updated: Tue Mar 11 14:27:39 2025
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6140002: Last Updated: Tue Mar 11 17:27:30 2025
<BR><P>
<H3>Maximum Stack Usage =       2076 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@@ -150,9 +150,9 @@
<LI><a href="#[12b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;spi_transfer
<LI><a href="#[1c6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;spi_open
<LI><a href="#[e9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Program_Init
<LI><a href="#[19c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mac_tx_desc_construct
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[ca]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_all_antenna_FAP
<LI><a href="#[19c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mac_tx_desc_construct
</UL>
<P><STRONG><a name="[59]"></a>__aeabi_uidivmod</STRONG> (Thumb, 44 bytes, Stack size 12 bytes, uidiv.o(.text))
@@ -162,8 +162,8 @@
<LI><a href="#[175]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;flash_erase
<LI><a href="#[12b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;spi_transfer
<LI><a href="#[a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MAC_IRQHandler
<LI><a href="#[1fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_printf_core
<LI><a href="#[58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_idivmod
<LI><a href="#[1fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_printf_core
</UL>
<P><STRONG><a name="[96]"></a>__aeabi_idiv</STRONG> (Thumb, 0 bytes, Stack size 16 bytes, idiv.o(.text))
@@ -226,7 +226,6 @@
</UL>
<BR>[Called By]<UL><LI><a href="#[7c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;trace_printf
<LI><a href="#[1ab]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;phy_params_generate
<LI><a href="#[2b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsartParseDataHandler
<LI><a href="#[bc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportPoll
</UL>
@@ -254,10 +253,10 @@
<BR>[Called By]<UL><LI><a href="#[60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fsub
<LI><a href="#[dd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_read_rssi
<LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[61]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_frsub
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
</UL>
<P><STRONG><a name="[60]"></a>__aeabi_fsub</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, fadd.o(.text))
@@ -266,8 +265,8 @@
<BR>[Calls]<UL><LI><a href="#[5d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fadd
</UL>
<BR>[Called By]<UL><LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[61]"></a>__aeabi_frsub</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, fadd.o(.text), UNUSED)
@@ -283,10 +282,10 @@
<LI><a href="#[dd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_read_rssi
<LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[df]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_first_patch_detect
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
</UL>
<P><STRONG><a name="[62]"></a>__aeabi_fdiv</STRONG> (Thumb, 124 bytes, Stack size 16 bytes, fdiv.o(.text))
@@ -309,7 +308,6 @@
<LI><a href="#[66]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_double_epilogue
</UL>
<BR>[Called By]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioTimeOnAir
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
<LI><a href="#[126]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;pow
<LI><a href="#[110]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;floor
<LI><a href="#[10e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ceil
@@ -317,6 +315,7 @@
<LI><a href="#[69]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_drsub
<LI><a href="#[1fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__kernel_poly
<LI><a href="#[1ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__mathlib_dbl_infnan2
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
</UL>
<P><STRONG><a name="[68]"></a>__aeabi_dsub</STRONG> (Thumb, 12 bytes, Stack size 8 bytes, dadd.o(.text))
@@ -343,12 +342,12 @@
<BR>[Calls]<UL><LI><a href="#[66]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_double_epilogue
</UL>
<BR>[Called By]<UL><LI><a href="#[1ab]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;phy_params_generate
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioTimeOnAir
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[126]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;pow
<LI><a href="#[1fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__kernel_poly
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
</UL>
<P><STRONG><a name="[6b]"></a>__aeabi_ddiv</STRONG> (Thumb, 234 bytes, Stack size 40 bytes, ddiv.o(.text))
@@ -357,46 +356,46 @@
<BR>[Calls]<UL><LI><a href="#[67]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_double_round
</UL>
<BR>[Called By]<UL><LI><a href="#[1ab]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;phy_params_generate
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioTimeOnAir
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[126]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;pow
<LI><a href="#[200]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__mathlib_dbl_invalid
<LI><a href="#[1fe]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__mathlib_dbl_divzero
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
</UL>
<P><STRONG><a name="[cb]"></a>__aeabi_fcmple</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, fcmple.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<BR><BR>[Called By]<UL><LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[ca]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_all_antenna_FAP
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[ce]"></a>__aeabi_fcmplt</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, fcmplt.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[ca]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_all_antenna_FAP
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[d3]"></a>__aeabi_fcmpge</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, fcmpge.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[1a7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;trace_format
<LI><a href="#[d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_blender_packet
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_blender_packet
</UL>
<P><STRONG><a name="[d2]"></a>__aeabi_fcmpgt</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, fcmpgt.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_blender_packet
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[10f]"></a>__aeabi_dcmple</STRONG> (Thumb, 44 bytes, Stack size 8 bytes, dcmple.o(.text))
@@ -423,10 +422,10 @@
</UL>
<BR>[Called By]<UL><LI><a href="#[21]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLK32K_CAL_IRQHandler
<LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
</UL>
<P><STRONG><a name="[6e]"></a>__aeabi_i2d</STRONG> (Thumb, 34 bytes, Stack size 16 bytes, dflti.o(.text))
@@ -445,10 +444,10 @@
<BR>[Calls]<UL><LI><a href="#[66]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_double_epilogue
</UL>
<BR>[Called By]<UL><LI><a href="#[1ab]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;phy_params_generate
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioTimeOnAir
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
</UL>
<P><STRONG><a name="[cf]"></a>__aeabi_f2iz</STRONG> (Thumb, 50 bytes, Stack size 0 bytes, ffixi.o(.text))
@@ -478,10 +477,10 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[71]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_llsr
</UL>
<BR>[Called By]<UL><LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioTimeOnAir
<BR>[Called By]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioTimeOnAir
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
</UL>
<P><STRONG><a name="[1ad]"></a>__aeabi_f2d</STRONG> (Thumb, 40 bytes, Stack size 0 bytes, f2d.o(.text))
@@ -615,10 +614,10 @@
</UL>
<P><STRONG><a name="[205]"></a>__aeabi_cdrcmple</STRONG> (Thumb, 38 bytes, Stack size 0 bytes, cdrcmple.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
<LI><a href="#[126]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;pow
<BR><BR>[Called By]<UL><LI><a href="#[126]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;pow
<LI><a href="#[110]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;floor
<LI><a href="#[10e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ceil
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
</UL>
<P><STRONG><a name="[57]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
@@ -1185,10 +1184,10 @@
<BR>[Calls]<UL><LI><a href="#[cf]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_f2iz
<LI><a href="#[62]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fdiv
<LI><a href="#[cb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmple
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[99]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidiv
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;derive_scaled_thres
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
</UL>
<BR>[Called By]<UL><LI><a href="#[e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_update_fap_fom
<LI><a href="#[df]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_first_patch_detect
@@ -1199,8 +1198,8 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[62]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fdiv
<LI><a href="#[d3]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpge
<LI><a href="#[d1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_cmplx_inner_product_f32
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
<LI><a href="#[d1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_cmplx_inner_product_f32
</UL>
<BR>[Called By]<UL><LI><a href="#[e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_update_fap_fom
<LI><a href="#[df]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_first_patch_detect
@@ -1211,11 +1210,11 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[6c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_i2f
<LI><a href="#[6d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ui2f
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
<LI><a href="#[d6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_scale_f32
<LI><a href="#[d7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_inner_product_f32
<LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_vinverse_f32
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
</UL>
<BR>[Called By]<UL><LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
</UL>
@@ -1225,11 +1224,11 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fsub
<LI><a href="#[cb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmple
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
<LI><a href="#[d6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_scale_f32
<LI><a href="#[d7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_inner_product_f32
<LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_vinverse_f32
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
</UL>
<BR>[Called By]<UL><LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
</UL>
@@ -1239,11 +1238,11 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[94]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fmul
<LI><a href="#[6d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ui2f
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
<LI><a href="#[d6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_scale_f32
<LI><a href="#[d7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_inner_product_f32
<LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_vinverse_f32
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
</UL>
<BR>[Called By]<UL><LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
</UL>
@@ -1257,13 +1256,13 @@
<LI><a href="#[6d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ui2f
<LI><a href="#[95]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_f2uiz
<LI><a href="#[60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fsub
<LI><a href="#[db]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_cmplx_mult_cmplx_int8
<LI><a href="#[dc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_inner_product_int16
<LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_vinverse_f32
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmpgt
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[db]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_cmplx_mult_cmplx_int8
<LI><a href="#[dc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_inner_product_int16
<LI><a href="#[d5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_vinverse_f32
</UL>
<BR>[Called By]<UL><LI><a href="#[1b9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ranging_rx_time
</UL>
@@ -1290,13 +1289,13 @@
<LI><a href="#[62]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fdiv
<LI><a href="#[60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fsub
<LI><a href="#[cb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmple
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[d1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_cmplx_inner_product_f32
<LI><a href="#[d6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_scale_f32
<LI><a href="#[d7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_inner_product_f32
<LI><a href="#[99]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidiv
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;enhanced_sts_fap_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[ce]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_fcmplt
<LI><a href="#[99]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidiv
</UL>
<BR>[Called By]<UL><LI><a href="#[df]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_first_patch_detect
</UL>
@@ -1486,12 +1485,12 @@
<P><STRONG><a name="[3b]"></a>RadioInit</STRONG> (Thumb, 76 bytes, Stack size 24 bytes, radio.o(.text.RadioInit))
<BR><BR>[Stack]<UL><LI>Max Depth = 1804<LI>Call Chain = RadioInit &rArr; SX126xSetTxParams &rArr; SX126xSetPaConfig &rArr; SX126xWriteCommand &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[ef]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRegulatorMode
<BR>[Calls]<UL><LI><a href="#[f1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxParams
<LI><a href="#[ee]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStandby
<LI><a href="#[ef]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRegulatorMode
<LI><a href="#[f2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetDioIrqParams
<LI><a href="#[f0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetBufferBaseAddress
<LI><a href="#[ed]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xInit
<LI><a href="#[f1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxParams
<LI><a href="#[ee]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStandby
</UL>
<BR>[Address Reference Count : 1]<UL><LI> radio.o(.rodata.Radio)
</UL>
@@ -1526,11 +1525,11 @@
<P><STRONG><a name="[40]"></a>RadioRandom</STRONG> (Thumb, 92 bytes, Stack size 24 bytes, radio.o(.text.RadioRandom))
<BR><BR>[Stack]<UL><LI>Max Depth = 1804<LI>Call Chain = RadioRandom &rArr; RadioSetModem &rArr; RadioSetPublicNetwork &rArr;  RadioSetModem (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[f7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRx
<LI><a href="#[f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRssiInst
<LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSleep
<BR>[Calls]<UL><LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSleep
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetModem
<LI><a href="#[9c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_Delay_nMS
<LI><a href="#[f7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRx
<LI><a href="#[f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRssiInst
</UL>
<BR>[Address Reference Count : 1]<UL><LI> radio.o(.rodata.Radio)
</UL>
@@ -1602,8 +1601,8 @@
<P><STRONG><a name="[3d]"></a>RadioSetModem</STRONG> (Thumb, 96 bytes, Stack size 24 bytes, radio.o(.text.RadioSetModem))
<BR><BR>[Stack]<UL><LI>Max Depth = 1780<LI>Call Chain = RadioSetModem &rArr; RadioSetPublicNetwork &rArr;  RadioSetModem (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketType
<LI><a href="#[51]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetPublicNetwork
<BR>[Calls]<UL><LI><a href="#[51]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetPublicNetwork
<LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketType
</UL>
<BR>[Called By]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetTxConfig
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
@@ -1630,9 +1629,6 @@
<BR>[Calls]<UL><LI><a href="#[6e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_i2d
<LI><a href="#[6a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_dmul
<LI><a href="#[6b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ddiv
<LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[107]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetLoRaSymbNumTimeout
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioStandby
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetModem
<LI><a href="#[103]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioGetFskBandwidthRegValue
@@ -1641,6 +1637,9 @@
<LI><a href="#[106]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetWhiteningSeed
<LI><a href="#[105]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetSyncWord
<LI><a href="#[102]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStopRxTimerOnPreambleDetect
<LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[107]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetLoRaSymbNumTimeout
</UL>
<BR>[Address Reference Count : 1]<UL><LI> radio.o(.rodata.Radio)
</UL>
@@ -1654,23 +1653,23 @@
<P><STRONG><a name="[42]"></a>RadioSetTxConfig</STRONG> (Thumb, 548 bytes, Stack size 144 bytes, radio.o(.text.RadioSetTxConfig))
<BR><BR>[Stack]<UL><LI>Max Depth = 1940<LI>Call Chain = RadioSetTxConfig &rArr; SX126xSetRfTxPower &rArr; SX126xSetTxParams &rArr; SX126xSetPaConfig &rArr; SX126xWriteCommand &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[109]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfTxPower
<LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioStandby
<BR>[Calls]<UL><LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioStandby
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetModem
<LI><a href="#[103]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioGetFskBandwidthRegValue
<LI><a href="#[106]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetWhiteningSeed
<LI><a href="#[105]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetSyncWord
<LI><a href="#[109]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfTxPower
<LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
</UL>
<BR>[Address Reference Count : 1]<UL><LI> radio.o(.rodata.Radio)
</UL>
<P><STRONG><a name="[4a]"></a>RadioSetTxContinuousWave</STRONG> (Thumb, 50 bytes, Stack size 32 bytes, radio.o(.text.RadioSetTxContinuousWave))
<BR><BR>[Stack]<UL><LI>Max Depth = 1828<LI>Call Chain = RadioSetTxContinuousWave &rArr; SX126xSetRfTxPower &rArr; SX126xSetTxParams &rArr; SX126xSetPaConfig &rArr; SX126xWriteCommand &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[109]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfTxPower
<BR>[Calls]<UL><LI><a href="#[10a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxContinuousWave
<LI><a href="#[109]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfTxPower
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
<LI><a href="#[10a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxContinuousWave
</UL>
<BR>[Address Reference Count : 1]<UL><LI> radio.o(.rodata.Radio)
</UL>
@@ -1786,17 +1785,17 @@
<P><STRONG><a name="[118]"></a>SX126xCheckDeviceReady</STRONG> (Thumb, 38 bytes, Stack size 8 bytes, sx126x.o(.text.SX126xCheckDeviceReady))
<BR><BR>[Stack]<UL><LI>Max Depth = 1644<LI>Call Chain = SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[ec]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetOperatingMode
<LI><a href="#[119]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWakeup
<BR>[Calls]<UL><LI><a href="#[119]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWakeup
<LI><a href="#[11b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWaitOnBusy
<LI><a href="#[11a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xAntSwOn
<LI><a href="#[ec]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetOperatingMode
</UL>
<BR>[Called By]<UL><LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<BR>[Called By]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteBuffer
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
</UL>
<P><STRONG><a name="[f4]"></a>SX126xClearIrqStatus</STRONG> (Thumb, 38 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xClearIrqStatus))
@@ -1830,26 +1829,26 @@
<P><STRONG><a name="[f6]"></a>SX126xGetPacketStatus</STRONG> (Thumb, 192 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xGetPacketStatus))
<BR><BR>[Stack]<UL><LI>Max Depth = 1708<LI>Call Chain = SX126xGetPacketStatus &rArr; SX126xReadCommand &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<BR>[Calls]<UL><LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
</UL>
<BR>[Called By]<UL><LI><a href="#[53]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioIrqProcess
</UL>
<P><STRONG><a name="[fc]"></a>SX126xGetPacketType</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, sx126x.o(.text.SX126xGetPacketType))
<BR><BR>[Called By]<UL><LI><a href="#[f6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketStatus
<LI><a href="#[45]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSend
<BR><BR>[Called By]<UL><LI><a href="#[45]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSend
<LI><a href="#[125]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcSeed
<LI><a href="#[124]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcPolynomial
<LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRxBufferStatus
<LI><a href="#[106]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetWhiteningSeed
<LI><a href="#[f6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketStatus
</UL>
<P><STRONG><a name="[f5]"></a>SX126xGetPayload</STRONG> (Thumb, 84 bytes, Stack size 40 bytes, sx126x.o(.text.SX126xGetPayload))
<BR><BR>[Stack]<UL><LI>Max Depth = 1796<LI>Call Chain = SX126xGetPayload &rArr; SX126xGetRxBufferStatus &rArr; SX126xReadRegister &rArr; SX126xReadRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
<LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRxBufferStatus
<BR>[Calls]<UL><LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRxBufferStatus
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
</UL>
<BR>[Called By]<UL><LI><a href="#[53]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioIrqProcess
</UL>
@@ -1866,9 +1865,9 @@
<P><STRONG><a name="[11d]"></a>SX126xGetRxBufferStatus</STRONG> (Thumb, 84 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xGetRxBufferStatus))
<BR><BR>[Stack]<UL><LI>Max Depth = 1756<LI>Call Chain = SX126xGetRxBufferStatus &rArr; SX126xReadRegister &rArr; SX126xReadRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[f9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegister
<BR>[Calls]<UL><LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[f9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegister
<LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
</UL>
<BR>[Called By]<UL><LI><a href="#[f5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPayload
</UL>
@@ -1905,10 +1904,10 @@
<LI><a href="#[11b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWaitOnBusy
<LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
</UL>
<BR>[Called By]<UL><LI><a href="#[f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRssiInst
<BR>[Called By]<UL><LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRxBufferStatus
<LI><a href="#[f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRssiInst
<LI><a href="#[f6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketStatus
<LI><a href="#[f3]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetIrqStatus
<LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetRxBufferStatus
</UL>
<P><STRONG><a name="[f9]"></a>SX126xReadRegister</STRONG> (Thumb, 36 bytes, Stack size 24 bytes, sx126x-board.o(.text.SX126xReadRegister))
@@ -1930,8 +1929,8 @@
<LI><a href="#[11b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWaitOnBusy
<LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
</UL>
<BR>[Called By]<UL><LI><a href="#[f9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegister
<LI><a href="#[4f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioReadBuffer
<BR>[Called By]<UL><LI><a href="#[4f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioReadBuffer
<LI><a href="#[f9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegister
</UL>
<P><STRONG><a name="[11f]"></a>SX126xReset</STRONG> (Thumb, 52 bytes, Stack size 24 bytes, sx126x-board.o(.text.SX126xReset))
@@ -1972,8 +1971,8 @@
<P><STRONG><a name="[124]"></a>SX126xSetCrcPolynomial</STRONG> (Thumb, 56 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xSetCrcPolynomial))
<BR><BR>[Stack]<UL><LI>Max Depth = 1724<LI>Call Chain = SX126xSetCrcPolynomial &rArr; SX126xWriteRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<BR>[Calls]<UL><LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
</UL>
<BR>[Called By]<UL><LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
</UL>
@@ -1981,8 +1980,8 @@
<P><STRONG><a name="[125]"></a>SX126xSetCrcSeed</STRONG> (Thumb, 56 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xSetCrcSeed))
<BR><BR>[Stack]<UL><LI>Max Depth = 1724<LI>Call Chain = SX126xSetCrcSeed &rArr; SX126xWriteRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<BR>[Calls]<UL><LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
</UL>
<BR>[Called By]<UL><LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
</UL>
@@ -2019,10 +2018,10 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[6a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_dmul
<LI><a href="#[6b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ddiv
<LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketType
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[6f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ui2d
<LI><a href="#[72]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_d2uiz
<LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketType
<LI><a href="#[126]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;pow
</UL>
<BR>[Called By]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetTxConfig
@@ -2040,10 +2039,10 @@
<P><STRONG><a name="[fd]"></a>SX126xSetPacketParams</STRONG> (Thumb, 296 bytes, Stack size 40 bytes, sx126x.o(.text.SX126xSetPacketParams))
<BR><BR>[Stack]<UL><LI>Max Depth = 1764<LI>Call Chain = SX126xSetPacketParams &rArr; SX126xSetCrcSeed &rArr; SX126xWriteRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketType
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<BR>[Calls]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[125]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcSeed
<LI><a href="#[124]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcPolynomial
<LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketType
</UL>
<BR>[Called By]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetTxConfig
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
@@ -2056,9 +2055,9 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
</UL>
<BR>[Called By]<UL><LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
<BR>[Called By]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetModem
<LI><a href="#[fd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPacketParams
<LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetModulationParams
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetModem
</UL>
<P><STRONG><a name="[122]"></a>SX126xSetPayload</STRONG> (Thumb, 36 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xSetPayload))
@@ -2140,9 +2139,9 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
</UL>
<BR>[Called By]<UL><LI><a href="#[ed]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xInit
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioStandby
<BR>[Called By]<UL><LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioStandby
<LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioInit
<LI><a href="#[ed]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xInit
</UL>
<P><STRONG><a name="[102]"></a>SX126xSetStopRxTimerOnPreambleDetect</STRONG> (Thumb, 28 bytes, Stack size 16 bytes, sx126x.o(.text.SX126xSetStopRxTimerOnPreambleDetect))
@@ -2186,16 +2185,16 @@
<LI><a href="#[12a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPaSelect
<LI><a href="#[101]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegister
</UL>
<BR>[Called By]<UL><LI><a href="#[109]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfTxPower
<LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioInit
<BR>[Called By]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioInit
<LI><a href="#[109]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfTxPower
</UL>
<P><STRONG><a name="[106]"></a>SX126xSetWhiteningSeed</STRONG> (Thumb, 88 bytes, Stack size 24 bytes, sx126x.o(.text.SX126xSetWhiteningSeed))
<BR><BR>[Stack]<UL><LI>Max Depth = 1756<LI>Call Chain = SX126xSetWhiteningSeed &rArr; SX126xReadRegister &rArr; SX126xReadRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
<BR><BR>[Stack]<UL><LI>Max Depth = 1756<LI>Call Chain = SX126xSetWhiteningSeed &rArr; SX126xWriteRegister &rArr; SX126xWriteRegisters &rArr; SX126xCheckDeviceReady &rArr; SX126xWakeup &rArr; SpiInOut &rArr; spi_transfer &rArr; trace_printf &rArr; trace_output &rArr;  trace_printf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[f9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegister
<BR>[Calls]<UL><LI><a href="#[101]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegister
<LI><a href="#[f9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegister
<LI><a href="#[fc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xGetPacketType
<LI><a href="#[101]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegister
</UL>
<BR>[Called By]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetTxConfig
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetRxConfig
@@ -2206,14 +2205,14 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[a6]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;gpio_pin_get_val
</UL>
<BR>[Called By]<UL><LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<BR>[Called By]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[119]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWakeup
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteBuffer
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
</UL>
<P><STRONG><a name="[119]"></a>SX126xWakeup</STRONG> (Thumb, 46 bytes, Stack size 24 bytes, sx126x-board.o(.text.SX126xWakeup))
@@ -2224,8 +2223,8 @@
<LI><a href="#[121]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SpiInOut
<LI><a href="#[11b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWaitOnBusy
</UL>
<BR>[Called By]<UL><LI><a href="#[ed]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xInit
<LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
<BR>[Called By]<UL><LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
<LI><a href="#[ed]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xInit
</UL>
<P><STRONG><a name="[128]"></a>SX126xWriteBuffer</STRONG> (Thumb, 112 bytes, Stack size 48 bytes, sx126x-board.o(.text.SX126xWriteBuffer))
@@ -2249,7 +2248,16 @@
<LI><a href="#[11b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWaitOnBusy
<LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
</UL>
<BR>[Called By]<UL><LI><a href="#[108]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRxDutyCycle
<BR>[Called By]<UL><LI><a href="#[127]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPaConfig
<LI><a href="#[120]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetDio2AsRfSwitchCtrl
<LI><a href="#[116]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCalibrateImage
<LI><a href="#[f1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxParams
<LI><a href="#[10a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxContinuousWave
<LI><a href="#[123]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTx
<LI><a href="#[102]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStopRxTimerOnPreambleDetect
<LI><a href="#[ee]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStandby
<LI><a href="#[10b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetSleep
<LI><a href="#[108]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRxDutyCycle
<LI><a href="#[fb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRxBoosted
<LI><a href="#[f7]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRx
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRfFrequency
@@ -2262,15 +2270,6 @@
<LI><a href="#[10c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCad
<LI><a href="#[f0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetBufferBaseAddress
<LI><a href="#[f4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xClearIrqStatus
<LI><a href="#[127]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetPaConfig
<LI><a href="#[120]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetDio2AsRfSwitchCtrl
<LI><a href="#[116]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCalibrateImage
<LI><a href="#[f1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxParams
<LI><a href="#[10a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxContinuousWave
<LI><a href="#[123]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTx
<LI><a href="#[102]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStopRxTimerOnPreambleDetect
<LI><a href="#[ee]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetStandby
<LI><a href="#[10b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetSleep
</UL>
<P><STRONG><a name="[101]"></a>SX126xWriteRegister</STRONG> (Thumb, 40 bytes, Stack size 32 bytes, sx126x-board.o(.text.SX126xWriteRegister))
@@ -2278,11 +2277,11 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
</UL>
<BR>[Called By]<UL><LI><a href="#[fb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRxBoosted
<LI><a href="#[4c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioWrite
<LI><a href="#[51]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetPublicNetwork
<BR>[Called By]<UL><LI><a href="#[51]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioSetPublicNetwork
<LI><a href="#[106]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetWhiteningSeed
<LI><a href="#[f1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetTxParams
<LI><a href="#[fb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetRxBoosted
<LI><a href="#[4c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioWrite
</UL>
<P><STRONG><a name="[111]"></a>SX126xWriteRegisters</STRONG> (Thumb, 124 bytes, Stack size 56 bytes, sx126x-board.o(.text.SX126xWriteRegisters))
@@ -2294,11 +2293,11 @@
<LI><a href="#[11b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWaitOnBusy
<LI><a href="#[118]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xCheckDeviceReady
</UL>
<BR>[Called By]<UL><LI><a href="#[4e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioWriteBuffer
<LI><a href="#[125]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcSeed
<BR>[Called By]<UL><LI><a href="#[125]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcSeed
<LI><a href="#[124]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetCrcPolynomial
<LI><a href="#[101]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegister
<LI><a href="#[105]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xSetSyncWord
<LI><a href="#[4e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RadioWriteBuffer
</UL>
<P><STRONG><a name="[121]"></a>SpiInOut</STRONG> (Thumb, 56 bytes, Stack size 32 bytes, sx126x-board.o(.text.SpiInOut))
@@ -2306,13 +2305,13 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[12b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;spi_transfer
</UL>
<BR>[Called By]<UL><LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<BR>[Called By]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[119]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWakeup
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteBuffer
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
</UL>
<P><STRONG><a name="[bf]"></a>SwitchLoraSettings</STRONG> (Thumb, 184 bytes, Stack size 120 bytes, lora_1268.o(.text.SwitchLoraSettings))
@@ -2362,7 +2361,7 @@
<LI><a href="#[bc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportPoll
</UL>
<P><STRONG><a name="[b5]"></a>UART0_CheckReceive</STRONG> (Thumb, 236 bytes, Stack size 40 bytes, usart.o(.text.UART0_CheckReceive))
<P><STRONG><a name="[b5]"></a>UART0_CheckReceive</STRONG> (Thumb, 240 bytes, Stack size 40 bytes, usart.o(.text.UART0_CheckReceive))
<BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = UART0_CheckReceive
</UL>
<BR>[Calls]<UL><LI><a href="#[12c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;get_uart0_dma_cndtr
@@ -2401,11 +2400,10 @@
<BR>[Called By]<UL><LI><a href="#[12e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UWBIdleTask
</UL>
<P><STRONG><a name="[2b]"></a>UsartParseDataHandler</STRONG> (Thumb, 280 bytes, Stack size 1088 bytes, serial_at_cmd_app.o(.text.UsartParseDataHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 1088<LI>Call Chain = UsartParseDataHandler
<P><STRONG><a name="[2b]"></a>UsartParseDataHandler</STRONG> (Thumb, 312 bytes, Stack size 16 bytes, serial_at_cmd_app.o(.text.UsartParseDataHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = UsartParseDataHandler
</UL>
<BR>[Calls]<UL><LI><a href="#[5a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memclr
<LI><a href="#[81]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memcpy
<BR>[Calls]<UL><LI><a href="#[81]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memcpy
</UL>
<BR>[Address Reference Count : 1]<UL><LI> main.o(.text.Program_Init)
</UL>
@@ -2872,13 +2870,13 @@
<LI><a href="#[a5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IIC2_Read_Byte
<LI><a href="#[a4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IIC2_NAck
<LI><a href="#[9f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IIC2_Ack
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[119]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWakeup
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteBuffer
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
</UL>
<P><STRONG><a name="[a6]"></a>gpio_pin_get_val</STRONG> (Thumb, 24 bytes, Stack size 4 bytes, mk_gpio.o(.text.gpio_pin_get_val))
@@ -2910,13 +2908,13 @@
<LI><a href="#[a5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IIC2_Read_Byte
<LI><a href="#[a4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IIC2_NAck
<LI><a href="#[9f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IIC2_Ack
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
<LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteCommand
<LI><a href="#[119]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWakeup
<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadCommand
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteRegisters
<LI><a href="#[128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xWriteBuffer
<LI><a href="#[fa]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadRegisters
<LI><a href="#[11e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126xReadBuffer
</UL>
<P><STRONG><a name="[8c]"></a>gpio_pin_set_dir</STRONG> (Thumb, 140 bytes, Stack size 24 bytes, mk_gpio.o(.text.gpio_pin_set_dir))
@@ -2972,10 +2970,10 @@
</UL>
<BR>[Calls]<UL><LI><a href="#[188]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_g_op_f32
</UL>
<BR>[Called By]<UL><LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<BR>[Called By]<UL><LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[dc]"></a>lsp_inner_product_int16</STRONG> (Thumb, 30 bytes, Stack size 24 bytes, mk_lsp.o(.text.lsp_inner_product_int16))
@@ -3001,10 +2999,10 @@
<BR>[Calls]<UL><LI><a href="#[7b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;trace_assert_dump
<LI><a href="#[188]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_g_op_f32
</UL>
<BR>[Called By]<UL><LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<BR>[Called By]<UL><LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[de]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_sts_FAP_detect
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[d5]"></a>lsp_vinverse_f32</STRONG> (Thumb, 26 bytes, Stack size 16 bytes, mk_lsp.o(.text.lsp_vinverse_f32))
@@ -3013,9 +3011,9 @@
<BR>[Calls]<UL><LI><a href="#[188]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;lsp_g_op_f32
</UL>
<BR>[Called By]<UL><LI><a href="#[da]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_preamble_FAP_LSP
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
<LI><a href="#[d4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust
<LI><a href="#[d9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_simple
<LI><a href="#[d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MK8000_fap_adjust_FLT
</UL>
<P><STRONG><a name="[1ef]"></a>mac_crc_mode_configure</STRONG> (Thumb, 36 bytes, Stack size 0 bytes, mk_mac.o(.text.mac_crc_mode_configure))
@@ -4965,11 +4963,11 @@
</UL>
<P><STRONG><a name="[1fc]"></a>_printf_core</STRONG> (Thumb, 1754 bytes, Stack size 128 bytes, printfa.o(i._printf_core), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[206]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_printf_pre_padding
<BR><BR>[Calls]<UL><LI><a href="#[59]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidivmod
<LI><a href="#[74]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uldivmod
<LI><a href="#[206]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_printf_pre_padding
<LI><a href="#[207]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_printf_post_padding
<LI><a href="#[204]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_fp_digits
<LI><a href="#[59]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidivmod
<LI><a href="#[74]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uldivmod
</UL>
<BR>[Called By]<UL><LI><a href="#[1fb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__0printf
</UL>
keil/Objects/uwb_simple_example_MK8000 Release.dep
@@ -664,7 +664,7 @@
I (include\drivers\mk_dma.h)(0x67C6A898)
I (include\drivers\mk_misc.h)(0x67C6A898)
I (include\drivers\mk_clock.h)(0x67C6A898)
F (.\include\drivers\serial_at_cmd_app.c)(0x67C6A898)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/drivers -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -I ./include/src/Radio -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/serial_at_cmd_app.o -MD)
F (.\include\drivers\serial_at_cmd_app.c)(0x67CFFEC9)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/drivers -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -I ./include/src/Radio -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/serial_at_cmd_app.o -MD)
I (include\drivers\serial_at_cmd_app.h)(0x67C6A898)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
I (include\drivers\global_param.h)(0x67C6A898)
@@ -865,7 +865,7 @@
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67C6A898)
I (include\drivers\mk_io.h)(0x67C6A898)
F (.\uwb_app.c)(0x67CFAE7A)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -I ./include/src/Radio -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/uwb_app.o -MD)
F (.\uwb_app.c)(0x67D00201)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -I ./include/src/Radio -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/uwb_app.o -MD)
I (include\drivers\mk_trace.h)(0x67C6A898)
I (include\drivers\mk_common.h)(0x67C6A898)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
keil/include/drivers/serial_at_cmd_app.c
@@ -144,172 +144,54 @@
void UsartParseDataHandler(uint8_t data)
{
      uint8_t buff[buff_lenth] = {0};
    uint8_t length = 0;
    uint8_t base_station_count = 0;
        memcpy(buff, m_EUART_DMA_RXBuf, 1024);
    //memcpy(buff, Forward_BT_buff, 1024);
    // éåކ
    for (int n = 0; n < 1024 - 6; n++)
    {
        // åŒ…头 0x55 0xAA 0x41
        if (buff[n] == 0x55 && buff[n+1] == 0xAA && buff[n+2] == 0x41)
        {
            length = buff[n+3];
            if (n + 6 + report_ancnum_bt * 6 + length > 1024) {
                continue; // å¦‚果数据越界,跳过该包
     static UsartRecvPackState usart_receive_state = UsartReceiveWaitHead0;
   uint16_t checksum = 0;
   static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ,pack_num=0;
   static uint8_t index = 0;
        if(usart_receive_state == UsartReceiveWaitChecksum)
        {   //若收到校验和包
                      if(mUsartReceivePack[pack_datalen-1]==0x66&&data==0xBB)
                        {
                         memcpy(&DMA_RXBuf_BT[0],&mUsartReceivePack[0], pack_datalen-1);
                        }
            usart_receive_state = UsartReceiveWaitHead0;
            pack_index = 0;
            pack_length = 0;
            index=0;
        }
                else if((usart_receive_state == UsartReceiveWaitData) )
                {    //若果收到的是正常通讯包
            mUsartReceivePack[pack_index] = data;
            pack_index++;
                        if(pack_index == pack_datalen)
                        {        //如果收到的index与长度相等
                usart_receive_state = UsartReceiveWaitChecksum;
            }
            // å°†æ•°æ®å¤åˆ¶åˆ° DMA ç¼“冲区
            memcpy(DMA_RXBuf_BT, &buff[n+4], length);
            report_ancnum_bt=buff[n+4];
            // ä¸ºäº†é¿å…å¤šæ¬¡é‡å¤è§£æžåŒä¸€ä¸ªæ•°æ®åŒ…,可以在这里添加跳跃
            n += 6 + report_ancnum_bt * 6 + length - 1; // è·³è¿‡å½“前数据包
        }
                else if(usart_receive_state == UsartReceiveWaitDataLen)
                {                        //收到指令类型字节
            pack_datalen = data;
                        pack_index = 0;
            usart_receive_state = UsartReceiveWaitData;
        }
                else if((usart_receive_state == UsartReceiveWaitHead0) && (data == 0x55))
                {    //收到第一个包头
            usart_receive_state = UsartReceiveWaitHead1;
        }
                else if((usart_receive_state == UsartReceiveWaitHead1) && (data == 0xAA))
                {    //收到第二个包头
            usart_receive_state = UsartReceiveWaitMsgType;
        } else if ((usart_receive_state == UsartReceiveWaitMsgType) && (data == 0x41))
                {
            usart_receive_state = UsartReceiveWaitDataLen;
        }
    }
    // æ¸…除临时缓冲区
    memset(buff, 0, buff_lenth);
//    if(state5V_prase_flag&&!g_com_map[MODBUS_MODE])
//    {   //升级程序
//        static UsartRecvPackState usart_receive_state = UsartReceiveWaitHead0;
//        uint16_t checksum = 0;
//        static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
//        static uint8_t index = 0;
//        if(usart_receive_state == UsartReceiveWaitChecksum)
//        {   //若收到校验和包
//            checksum = 0;
//            for(int i = 0; i<pack_length-5; i++) {
//                checksum += mUsartReceivePack[i];
//            }
//            checksum += pack_cmd;
//            checksum += pack_length;
//            checksum += pack_index;
//            checksum += pack_datalen;
//            checksum += pack_msgtype;
//            if(((data + checksum)&0xff) == 0xFF)                //校验通过
//            {
//                switch(pack_cmd)
//                {
//                case CMD_WRITE:
//                  if(pack_index==MODBUS_MODE*2)
//                  {
//                      Uart1GpsRecDebugSend();
//                      g_com_map[MODBUS_MODE] = 1;
//                      return;
//                  }
//                    //从mUsartReceivePack中读取pack_length长度的字节,放到全局变量中,赋值保存的参数并且存入flash
//                    memcpy((uint8_t*)&g_com_map + pack_index, mUsartReceivePack, pack_datalen);
//                    if(mUsartReceivePack[0]==1)
//                        UpdateProcess(pack_index);
//                    //返回一个error状态
//                    //SendComMap(pack_datalen,pack_index);
//                    save_com_map_to_flash();
//                    //delay_ms(100);
//                    NVIC_SystemReset();
//                    break;
//                case CMD_READ:
//                    //read包中data字节,即mUsartReceivePack[0]表示数据长度;
//                    //从g_com_data结构体中的第index位置读取长度为mUsartReceivePack[0]的字节,发送出来
//                    SendComMap(pack_datalen,pack_index>>1);
//                    break;
//                default:
//                    break;
//                }
//            }
//            usart_receive_state = UsartReceiveWaitHead0;
//            pack_index = 0;
//            pack_length = 0;
//            index=0;
//        } else if((usart_receive_state == UsartReceiveWaitData) ) {    //若果收到的是正常通讯包
//            mUsartReceivePack[index] = data;
//            index++;
//            if(index == pack_length-5) {        //如果收到的index与长度相等
//                usart_receive_state = UsartReceiveWaitChecksum;
//            }
//        } else if(usart_receive_state == UsartReceiveWaitDataLen) {                        //收到指令类型字节
//            pack_datalen = data;
//            usart_receive_state = UsartReceiveWaitData;
//        } else if(usart_receive_state == UsartReceiveWaitIndex) {                        //收到指令类型字节
//            pack_index = data;
//            usart_receive_state = UsartReceiveWaitDataLen;
//        } else if(usart_receive_state == UsartReceiveWaitCMD) {                            //收到指令类型字节
//            pack_cmd = data;
//            usart_receive_state = UsartReceiveWaitIndex;
//        } else if(usart_receive_state == UsartReceiveWaitLength) {                        //收到长度字节
//            pack_length = data;
//            pack_index = 0;
//            usart_receive_state = UsartReceiveWaitCMD;
//        } else if((usart_receive_state == UsartReceiveWaitHead0) && (data == 0x55)) {    //收到第一个包头
//            usart_receive_state = UsartReceiveWaitHead1;
//        } else if((usart_receive_state == UsartReceiveWaitHead1) && (data == 0xAA)) {    //收到第二个包头
//            usart_receive_state = UsartReceiveWaitMsgType;
//        } else if ((usart_receive_state == UsartReceiveWaitMsgType) && (data == 0x3)) {
//            usart_receive_state = UsartReceiveWaitLength;
//            pack_msgtype = data;
//        }
//        else {
//            usart_receive_state = UsartReceiveWaitHead0;
//            pack_index = 0;
//            pack_length = 0;
//        }
//    } else if(gps_prase_flag)
//    {
//        static uint8_t index = 0;
////GPS解析数据
////    static ST_BLERecv BLE_recvive;
//        GGA_DataStruct jdrecv,wdrecv,Posstate;
//
//        //接收数据开始分析
//        mUsart2ReceivePack[index]  =  data; //char数组传进来参数data
//        mUsart2ReceivePack_before  =  mUsart2ReceivePack_now;
//        mUsart2ReceivePack_now=data;
//        index++;
//        if( mUsart2ReceivePack_before == 0x0D && mUsart2ReceivePack_now==0x0A )//接收数据到“0x0D 0x0A”结束
//        {
//            //解析该条GPS报文
//
//            analysis_num=sscanf((char*)mUsart2ReceivePack,"$%[^,],%*[^,],%[^,],%*[^,],%[^,],%*[^,],%[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*s",gps_header,wdrecv.m_pData,jdrecv.m_pData,Posstate.m_pData);
//            if(!memcmp(gps_header,"GNGGA",5))
//            {
//                if(g_com_map[MODBUS_MODE])
//                    LOG_INFO(TRACE_MODULE_APP,"%s", mUsart2ReceivePack);
//                    d_value = strtod(wdrecv.m_pData,NULL);
//                if(d_value>1)
//                {
//                     blink_led(&gps_success_state);
//                    wd=strtod(wdrecv.m_pData,NULL);
//                    jd=strtod(jdrecv.m_pData,NULL);
//                    pos_state=atoi(Posstate.m_pData);
//                }
//            }
//            index = 0;
//            if(pos_state!=0)
//            {
//                //4g.jd=jd;
//                //4g.wd=wd;
//                gps_timeout_flag=1;//不超时接收状态
//                gps_need_data_flag=0;//接收数据完成
//                gps_wait_count=0;//清0接收状态
////        gps_enable_flag=0;//收到有效数据关闭GPS
//            }
//            memset(mUsart2ReceivePack,0,sizeof(mUsart2ReceivePack));
//            memset(wdrecv.m_pData,0,sizeof(wdrecv.m_pData));
//            memset(jdrecv.m_pData,0,sizeof(jdrecv.m_pData));
//            memset(Posstate.m_pData,0,sizeof(Posstate.m_pData));
//            index=0;
//            mUsart2ReceivePack_before=0;
//            mUsart2ReceivePack_now=0;
//        }
//    }
        else {
            usart_receive_state = UsartReceiveWaitHead0;
            pack_index = 0;
            pack_length = 0;
        }
        
}
keil/uwb_app.c
@@ -841,31 +841,7 @@
            memcpy(rec_ancidlist,&rx_buf[FZ_NEARBASEID_INDEX],2*rec_nearbase_num);
            memcpy(rec_ancdistlist,&rx_buf[FZ_NEARBASEID_INDEX+2*rec_nearbase_num],2*rec_nearbase_num);
            memcpy(&rec_antdelay,&rx_buf[FZ_NEARBASEID_INDEX+rec_nearbase_num*4],2);
//            for(i=0; i<rec_nearbase_num; i++)
//            {
//                if(rec_ancidlist[i] == dev_id)
//                {        temp_recdist_before_offset=rec_ancdistlist[i];
//                    rec_ancdistlist[i]+=(int16_t)g_com_map[DIST_OFFSET];
//                    PushAnchorDataArray(tag_id_recv,rec_ancdistlist[i],battary);
//                }
//            }
//            for(i=0; i<rec_nearbase_num; i++)
//            {
//                memcpy(&tempid,&rx_buf[FZ_NEARBASEID_INDEX+i*2],2);
//                if(tempid==dev_id)//也是比id如果有就更新没有就抢占
//                {
//                    seize_anchor=0;  //非抢占。已存在列表中
//                    Anchor_RecNearPoll(i);
//                    break;
//                }
//            }
//            if(i==rec_nearbase_num)
//            {
//                seize_anchor=1;   //抢占anchor
//                Anchor_RecNearPoll(i);
//            }
                                taglist_pos=CmpTagInList(tag_id_recv);
                        taglist_pos=CmpTagInList(tag_id_recv);
                if(taglist_num>=ANC_MAX_NUM)
                                        return 0;
                                 for(i=0; i<rec_nearbase_num; i++)
keil/uwb_simple_example.uvoptx
@@ -407,6 +407,21 @@
          <WinNumber>2</WinNumber>
          <ItemText>wltag_state</ItemText>
        </Ww>
        <Ww>
          <count>10</count>
          <WinNumber>2</WinNumber>
          <ItemText>report_ancid</ItemText>
        </Ww>
        <Ww>
          <count>11</count>
          <WinNumber>2</WinNumber>
          <ItemText>tagid_list</ItemText>
        </Ww>
        <Ww>
          <count>12</count>
          <WinNumber>2</WinNumber>
          <ItemText>report_ancdist</ItemText>
        </Ww>
      </WatchWindow2>
      <MemoryWindow1>
        <Mm>