From 2d43068c500d6420b0864eebfcfcdd0943c5738c Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期三, 02 四月 2025 18:08:01 +0800 Subject: [PATCH] 修改PA驱动代码,成功驱动pa并且修复串口读取bug --- keil/Objects/uwb_simple_example.htm | 24 +++++++++++------------- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/keil/Objects/uwb_simple_example.htm b/keil/Objects/uwb_simple_example.htm index 0b97321..1f5b1e7 100644 --- a/keil/Objects/uwb_simple_example.htm +++ b/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>#<CALLGRAPH># ARM Linker, 6140002: Last Updated: Fri Mar 14 18:36:40 2025 +<BR><P>#<CALLGRAPH># ARM Linker, 6140002: Last Updated: Wed Apr 2 15:36:28 2025 <BR><P> <H3>Maximum Stack Usage = 1580 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> Call chain for Maximum Stack Depth:</H3> @@ -644,7 +644,7 @@ <BR>[Address Reference Count : 1]<UL><LI> startup_mk800x.o(RESET) </UL> <P><STRONG><a name="[5a]"></a>IdleTask</STRONG> (Thumb, 48 bytes, Stack size 8 bytes, main.o(.text.IdleTask)) -<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = IdleTask ⇒ UART0_CheckReceive +<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = IdleTask ⇒ UART0_CheckReceive </UL> <BR>[Calls]<UL><LI><a href="#[5c]">>></a> gpio_pin_get_val <LI><a href="#[5b]">>></a> UART0_CheckReceive @@ -1008,8 +1008,8 @@ <BR>[Called By]<UL><LI><a href="#[25]">>></a> main </UL> -<P><STRONG><a name="[5b]"></a>UART0_CheckReceive</STRONG> (Thumb, 96 bytes, Stack size 16 bytes, usart.o(.text.UART0_CheckReceive)) -<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = UART0_CheckReceive +<P><STRONG><a name="[5b]"></a>UART0_CheckReceive</STRONG> (Thumb, 108 bytes, Stack size 24 bytes, usart.o(.text.UART0_CheckReceive)) +<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = UART0_CheckReceive </UL> <BR>[Calls]<UL><LI><a href="#[ad]">>></a> get_uart0_dma_cndtr </UL> @@ -1187,11 +1187,10 @@ <BR>[Called By]<UL><LI><a href="#[25]">>></a> main </UL> -<P><STRONG><a name="[d0]"></a>board_pins_config</STRONG> (Thumb, 58 bytes, Stack size 8 bytes, pin_config.o(.text.board_pins_config)) -<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = board_pins_config ⇒ io_pull_set +<P><STRONG><a name="[d0]"></a>board_pins_config</STRONG> (Thumb, 40 bytes, Stack size 16 bytes, pin_config.o(.text.board_pins_config)) +<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = board_pins_config </UL> -<BR>[Calls]<UL><LI><a href="#[cf]">>></a> io_pull_set -<LI><a href="#[cd]">>></a> io_pin_mux_set +<BR>[Calls]<UL><LI><a href="#[cd]">>></a> io_pin_mux_set </UL> <BR>[Called By]<UL><LI><a href="#[25]">>></a> main </UL> @@ -1595,8 +1594,7 @@ <P><STRONG><a name="[cf]"></a>io_pull_set</STRONG> (Thumb, 76 bytes, Stack size 20 bytes, mk_io.o(.text.io_pull_set)) <BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = io_pull_set </UL> -<BR>[Called By]<UL><LI><a href="#[d0]">>></a> board_pins_config -<LI><a href="#[cc]">>></a> board_led_init +<BR>[Called By]<UL><LI><a href="#[cc]">>></a> board_led_init </UL> <P><STRONG><a name="[84]"></a>lsp_cmplx_inner_product_f32</STRONG> (Thumb, 28 bytes, Stack size 16 bytes, mk_lsp.o(.text.lsp_cmplx_inner_product_f32)) @@ -1786,8 +1784,8 @@ <BR><BR>[Called By]<UL><LI><a href="#[100]">>></a> power_enter_power_down_mode </UL> -<P><STRONG><a name="[25]"></a>main</STRONG> (Thumb, 512 bytes, Stack size 8 bytes, main.o(.text.main)) -<BR><BR>[Stack]<UL><LI>Max Depth = 1044<LI>Call Chain = main ⇒ LoraUp_Poll ⇒ uwb_configure ⇒ phy_params_generate ⇒ trace_printf ⇒ trace_output ⇒ trace_printf (Cycle) +<P><STRONG><a name="[25]"></a>main</STRONG> (Thumb, 516 bytes, Stack size 16 bytes, main.o(.text.main)) +<BR><BR>[Stack]<UL><LI>Max Depth = 1052<LI>Call Chain = main ⇒ LoraUp_Poll ⇒ uwb_configure ⇒ phy_params_generate ⇒ trace_printf ⇒ trace_output ⇒ trace_printf (Cycle) </UL> <BR>[Calls]<UL><LI><a href="#[c0]">>></a> battery_monitor_open <LI><a href="#[bf]">>></a> battery_monitor_get @@ -2687,7 +2685,7 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> main.o(.text.main) </UL> -<P><STRONG><a name="[2d]"></a>uart_receive_callback</STRONG> (Thumb, 24 bytes, Stack size 8 bytes, main.o(.text.uart_receive_callback)) +<P><STRONG><a name="[2d]"></a>uart_receive_callback</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, main.o(.text.uart_receive_callback)) <BR><BR>[Stack]<UL><LI>Max Depth = 412<LI>Call Chain = uart_receive_callback ⇒ uart_receive ⇒ dma_transfer ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> <BR>[Calls]<UL><LI><a href="#[fd]">>></a> uart_receive -- Gitblit v1.9.3