updated i2c1 setting
This commit is contained in:
parent
ebfbdacd08
commit
3a7a994300
|
@ -115,9 +115,9 @@ void MX_TIM2_Init(void);
|
|||
#define SSD1306_I2C_HANDLE hi2c1
|
||||
#define MEMS_POWER_Pin GPIO_PIN_4
|
||||
#define MEMS_POWER_GPIO_Port GPIOB
|
||||
|
||||
//MOVED TO PRD CONF .H
|
||||
//#define USE_STM32WLE5 1U
|
||||
#define USE_STM32WL55 1U
|
||||
//#define USE_STM32WL55 1U
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -277,8 +277,8 @@
|
|||
/* 2KB = 2048 = 0x800 End @ of user Flash area */
|
||||
|
||||
|
||||
//#define USE_STM32WLE5 1U
|
||||
#define USE_STM32WL55 1U
|
||||
#define USE_STM32WLE5 1U
|
||||
//#define USE_STM32WL55 1U
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -115,27 +115,20 @@ void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
|
|||
|
||||
|
||||
/**I2C1 GPIO Configuration
|
||||
PA10 ------> I2C1_SDA //STM32WLE5
|
||||
PB8 ------> I2C1_SCL
|
||||
PB6 ------> I2C1_SCL //STM32WLE5
|
||||
PB7 ------> I2C1_SDA
|
||||
*/
|
||||
|
||||
#ifdef USE_STM32WLE5
|
||||
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_8;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_10;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
#endif
|
||||
/* Peripheral clock enable */
|
||||
__HAL_RCC_I2C1_CLK_ENABLE();
|
||||
|
@ -232,14 +225,14 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
|
|||
#endif
|
||||
|
||||
/**I2C1 GPIO Configuration //STM32WLE5
|
||||
PA10 ------> I2C1_SDA
|
||||
PB8 ------> I2C1_SCL
|
||||
PB7 ------> I2C1_SDA
|
||||
PB6 ------> I2C1_SCL
|
||||
*/
|
||||
#ifdef USE_STM32WLE5
|
||||
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_10);
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6);
|
||||
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8);
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -344,7 +344,7 @@ void STS_MOTION_SENSOR_Function_Test_Process(void)
|
|||
|
||||
//HAL_I2C_Init(&MOTION_SENSOR_I2C_HANDLE);
|
||||
if (HAL_I2C_GetState(&MOTION_SENSOR_I2C_HANDLE) != HAL_I2C_STATE_READY) {
|
||||
APP_LOG(TS_ON, VLEVEL_L, "\r\n .... MOTION SENSOR I2C Not Ready .... \r\n");
|
||||
APP_LOG(TS_ON, VLEVEL_M, "\r\n .... MOTION SENSOR I2C Not Ready .... \r\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
Binary file not shown.
|
@ -22,26 +22,26 @@ Dialog DLL: TCM.DLL V1.48.0.0
|
|||
|
||||
<h2>Project:</h2>
|
||||
D:\ONEDRIVE\GIT\STS_IOT\STS_MM\MDK-ARM\STS_MM.uvprojx
|
||||
Project File Date: 09/20/2022
|
||||
Project File Date: 09/26/2022
|
||||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V6.15', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin'
|
||||
Rebuild target 'STS_MM_WLE5'
|
||||
assembling startup_stm32wl55xx_cm4.s...
|
||||
compiling main.c...
|
||||
compiling dma.c...
|
||||
compiling gpio.c...
|
||||
compiling sys_app.c...
|
||||
compiling sys_sensors.c...
|
||||
compiling adc.c...
|
||||
compiling stm32_lpm_if.c...
|
||||
compiling subghz.c...
|
||||
compiling sys_debug.c...
|
||||
compiling usart.c...
|
||||
compiling stm32wlxx_it.c...
|
||||
compiling rtc.c...
|
||||
compiling usart_if.c...
|
||||
compiling dma.c...
|
||||
compiling stm32_lpm_if.c...
|
||||
compiling adc.c...
|
||||
compiling sys_sensors.c...
|
||||
compiling adc_if.c...
|
||||
compiling rtc.c...
|
||||
compiling gpio.c...
|
||||
compiling usart.c...
|
||||
compiling subghz.c...
|
||||
compiling sys_app.c...
|
||||
compiling stm32wlxx_it.c...
|
||||
compiling usart_if.c...
|
||||
compiling timer_if.c...
|
||||
compiling stm32wlxx_hal_msp.c...
|
||||
compiling ssd1306_fonts.c...
|
||||
|
@ -49,89 +49,89 @@ compiling app_lorawan.c...
|
|||
compiling flash_if.c...
|
||||
compiling CayenneLpp.c...
|
||||
compiling lora_info.c...
|
||||
compiling ssd1306.c...
|
||||
compiling radio_board_if.c...
|
||||
compiling ssd1306.c...
|
||||
compiling ssd1306_tests.c...
|
||||
compiling stm32wlxx_ll_adc.c...
|
||||
compiling stm32wlxx_nucleo.c...
|
||||
compiling stm32wlxx_nucleo_radio.c...
|
||||
compiling stm32wlxx_nucleo.c...
|
||||
compiling lora_app.c...
|
||||
compiling stm32wlxx_hal_adc_ex.c...
|
||||
compiling yunhorn_sts_motion_sensor.c...
|
||||
compiling yunhorn_sts_motion_sensor_adxl345.c...
|
||||
compiling stm32wlxx_hal_flash.c...
|
||||
compiling stm32wlxx_hal_gpio.c...
|
||||
compiling stm32wlxx_hal_adc.c...
|
||||
compiling stm32wlxx_hal_dma_ex.c...
|
||||
compiling stm32wlxx_hal_rcc_ex.c...
|
||||
compiling stm32wlxx_hal_flash_ex.c...
|
||||
compiling stm32wlxx_hal_rcc_ex.c...
|
||||
compiling stm32wlxx_hal_dma_ex.c...
|
||||
compiling stm32wlxx_hal_rcc.c...
|
||||
compiling stm32wlxx_hal_gpio.c...
|
||||
compiling stm32wlxx_hal_pwr.c...
|
||||
compiling stm32wlxx_hal_dma.c...
|
||||
compiling stm32wlxx_hal_pwr_ex.c...
|
||||
compiling stm32wlxx_hal_cortex.c...
|
||||
compiling stm32wlxx_hal.c...
|
||||
compiling stm32wlxx_hal_pwr_ex.c...
|
||||
compiling stm32wlxx_hal_exti.c...
|
||||
compiling stm32wlxx_hal.c...
|
||||
compiling stm32wlxx_hal_rtc.c...
|
||||
compiling stm32wlxx_hal_subghz.c...
|
||||
compiling stm32wlxx_hal_rtc_ex.c...
|
||||
compiling cmac.c...
|
||||
compiling stm32wlxx_hal_i2c_ex.c...
|
||||
compiling system_stm32wlxx.c...
|
||||
compiling lorawan_aes.c...
|
||||
compiling stm32wlxx_hal_uart_ex.c...
|
||||
compiling stm32wlxx_hal_i2c_ex.c...
|
||||
compiling lorawan_aes.c...
|
||||
compiling Region.c...
|
||||
compiling soft-se.c...
|
||||
compiling stm32wlxx_hal_tim_ex.c...
|
||||
compiling LmhpCompliance.c...
|
||||
compiling soft-se.c...
|
||||
compiling RegionAU915.c...
|
||||
compiling RegionBaseUS.c...
|
||||
compiling RegionAS923.c...
|
||||
compiling RegionCN470.c...
|
||||
compiling LmhpCompliance.c...
|
||||
compiling RegionAS923.c...
|
||||
compiling RegionCN470A20.c...
|
||||
compiling RegionCN470A26.c...
|
||||
compiling RegionCN470B26.c...
|
||||
compiling RegionCN470B20.c...
|
||||
compiling RegionCN470B26.c...
|
||||
compiling stm32wlxx_hal_uart.c...
|
||||
compiling RegionCN779.c...
|
||||
compiling RegionEU433.c...
|
||||
compiling RegionEU868.c...
|
||||
compiling stm32wlxx_hal_tim.c...
|
||||
compiling RegionEU868.c...
|
||||
compiling RegionIN865.c...
|
||||
compiling RegionKR920.c...
|
||||
compiling RegionCommon.c...
|
||||
compiling stm32wlxx_hal_i2c.c...
|
||||
compiling RegionRU864.c...
|
||||
compiling RegionUS915.c...
|
||||
compiling LoRaMacAdr.c...
|
||||
compiling stm32wlxx_hal_i2c.c...
|
||||
compiling LoRaMacClassB.c...
|
||||
compiling LoRaMacConfirmQueue.c...
|
||||
compiling LoRaMacCommands.c...
|
||||
compiling LoRaMacParser.c...
|
||||
compiling LoRaMacSerializer.c...
|
||||
compiling LoRaMacCommands.c...
|
||||
compiling LoRaMacConfirmQueue.c...
|
||||
compiling NvmDataMgmt.c...
|
||||
compiling LoRaMacCrypto.c...
|
||||
compiling NvmDataMgmt.c...
|
||||
compiling utilities.c...
|
||||
compiling stm32_mem.c...
|
||||
compiling stm32_systime.c...
|
||||
compiling stm32_tiny_sscanf.c...
|
||||
compiling stm32_adv_trace.c...
|
||||
compiling stm32_tiny_vsnprintf.c...
|
||||
compiling radio_fw.c...
|
||||
compiling LmHandler.c...
|
||||
compiling stm32_tiny_sscanf.c...
|
||||
compiling radio_fw.c...
|
||||
compiling stm32_tiny_vsnprintf.c...
|
||||
compiling stm32_seq.c...
|
||||
compiling stm32_lpm.c...
|
||||
compiling stm32_timer.c...
|
||||
compiling stm32_lpm.c...
|
||||
compiling BayesFunctions.c...
|
||||
compiling radio_driver.c...
|
||||
compiling radio.c...
|
||||
compiling LoRaMac.c...
|
||||
compiling radio.c...
|
||||
compiling ControllerFunctions.c...
|
||||
compiling ComplexMathFunctions.c...
|
||||
compiling FastMathFunctions.c...
|
||||
compiling BasicMathFunctions.c...
|
||||
compiling SVMFunctions.c...
|
||||
compiling DistanceFunctions.c...
|
||||
compiling FastMathFunctions.c...
|
||||
compiling SVMFunctions.c...
|
||||
compiling StatisticsFunctions.c...
|
||||
compiling SupportFunctions.c...
|
||||
compiling MatrixFunctions.c...
|
||||
|
@ -139,7 +139,7 @@ compiling CommonTables.c...
|
|||
compiling TransformFunctions.c...
|
||||
compiling FilteringFunctions.c...
|
||||
linking...
|
||||
Program Size: Code=72172 RO-data=124276 RW-data=292 ZI-data=60740
|
||||
Program Size: Code=72152 RO-data=124276 RW-data=292 ZI-data=60740
|
||||
FromELF: creating hex file...
|
||||
"LoRaWAN_End_Node\STS_M7_919_R1.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
|
@ -169,21 +169,21 @@ Package Vendor: Keil
|
|||
* Component: ARM::CMSIS:CORE:5.4.0
|
||||
|
||||
* Component: ARM::CMSIS:DSP:Source:1.8.0
|
||||
Source file: CMSIS\DSP\Source\BasicMathFunctions\BasicMathFunctions.c
|
||||
Include file: CMSIS\DSP\Include\arm_math.h
|
||||
Source file: CMSIS\DSP\Source\TransformFunctions\TransformFunctions.c
|
||||
Source file: CMSIS\DSP\Source\FilteringFunctions\FilteringFunctions.c
|
||||
Source file: CMSIS\DSP\Source\CommonTables\CommonTables.c
|
||||
Source file: CMSIS\DSP\Source\SVMFunctions\SVMFunctions.c
|
||||
Source file: CMSIS\DSP\Source\BayesFunctions\BayesFunctions.c
|
||||
Source file: CMSIS\DSP\Source\StatisticsFunctions\StatisticsFunctions.c
|
||||
Source file: CMSIS\DSP\Source\ControllerFunctions\ControllerFunctions.c
|
||||
Include file: CMSIS\DSP\Include\arm_math.h
|
||||
Source file: CMSIS\DSP\Source\SupportFunctions\SupportFunctions.c
|
||||
Source file: CMSIS\DSP\Source\DistanceFunctions\DistanceFunctions.c
|
||||
Source file: CMSIS\DSP\Source\ComplexMathFunctions\ComplexMathFunctions.c
|
||||
Source file: CMSIS\DSP\Source\MatrixFunctions\MatrixFunctions.c
|
||||
Source file: CMSIS\DSP\Source\BasicMathFunctions\BasicMathFunctions.c
|
||||
Source file: CMSIS\DSP\Source\FastMathFunctions\FastMathFunctions.c
|
||||
Build Time Elapsed: 00:00:06
|
||||
Source file: CMSIS\DSP\Source\ComplexMathFunctions\ComplexMathFunctions.c
|
||||
Source file: CMSIS\DSP\Source\StatisticsFunctions\StatisticsFunctions.c
|
||||
Source file: CMSIS\DSP\Source\SVMFunctions\SVMFunctions.c
|
||||
Source file: CMSIS\DSP\Source\TransformFunctions\TransformFunctions.c
|
||||
Source file: CMSIS\DSP\Source\ControllerFunctions\ControllerFunctions.c
|
||||
Source file: CMSIS\DSP\Source\DistanceFunctions\DistanceFunctions.c
|
||||
Source file: CMSIS\DSP\Source\FilteringFunctions\FilteringFunctions.c
|
||||
Source file: CMSIS\DSP\Source\MatrixFunctions\MatrixFunctions.c
|
||||
Source file: CMSIS\DSP\Source\BayesFunctions\BayesFunctions.c
|
||||
Build Time Elapsed: 00:00:07
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>Static Call Graph - [LoRaWAN_End_Node\STS_M7_919_R1.axf]</title></head>
|
||||
<body><HR>
|
||||
<H1>Static Call Graph for image LoRaWAN_End_Node\STS_M7_919_R1.axf</H1><HR>
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 6150002: Last Updated: Fri Sep 23 16:39:42 2022
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 6150002: Last Updated: Mon Sep 26 17:11:44 2022
|
||||
<BR><P>
|
||||
<H3>Maximum Stack Usage = 1000 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
|
||||
Call chain for Maximum Stack Depth:</H3>
|
||||
|
@ -1363,7 +1363,7 @@ Global Symbols
|
|||
<BR>[Called By]<UL><LI><a href="#[22b]">>></a> HAL_UART_MspDeInit
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[170]"></a>HAL_GPIO_EXTI_Callback</STRONG> (Thumb, 184 bytes, Stack size 8 bytes, lora_app.o(.text.HAL_GPIO_EXTI_Callback))
|
||||
<P><STRONG><a name="[170]"></a>HAL_GPIO_EXTI_Callback</STRONG> (Thumb, 176 bytes, Stack size 8 bytes, lora_app.o(.text.HAL_GPIO_EXTI_Callback))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 176<LI>Call Chain = HAL_GPIO_EXTI_Callback ⇒ UTIL_ADV_TRACE_COND_FSend ⇒ tiny_vsnprintf_like
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[91]">>></a> HAL_Delay
|
||||
|
@ -1591,7 +1591,7 @@ Global Symbols
|
|||
<LI><a href="#[4b]">>></a> ADXL345_SetRegisterValue
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[17a]"></a>HAL_I2C_MspInit</STRONG> (Thumb, 204 bytes, Stack size 96 bytes, stm32wlxx_hal_msp.o(.text.HAL_I2C_MspInit))
|
||||
<P><STRONG><a name="[17a]"></a>HAL_I2C_MspInit</STRONG> (Thumb, 208 bytes, Stack size 96 bytes, stm32wlxx_hal_msp.o(.text.HAL_I2C_MspInit))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 136<LI>Call Chain = HAL_I2C_MspInit ⇒ HAL_GPIO_Init
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[4c]">>></a> HAL_GPIO_Init
|
||||
|
@ -3198,7 +3198,7 @@ Global Symbols
|
|||
<BR>[Called By]<UL><LI><a href="#[ca]">>></a> vcom_Init
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[2cc]"></a>MX_GPIO_Init</STRONG> (Thumb, 212 bytes, Stack size 48 bytes, gpio.o(.text.MX_GPIO_Init))
|
||||
<P><STRONG><a name="[2cc]"></a>MX_GPIO_Init</STRONG> (Thumb, 196 bytes, Stack size 48 bytes, gpio.o(.text.MX_GPIO_Init))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 48<LI>Call Chain = MX_GPIO_Init
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[4d]">>></a> HAL_GPIO_WritePin
|
||||
|
@ -3990,7 +3990,7 @@ Global Symbols
|
|||
<LI><a href="#[76]">>></a> STS_MOTION_SENSOR_WakeUp_Process
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[77]"></a>STS_MOTION_SENSOR_Function_Test_Process</STRONG> (Thumb, 236 bytes, Stack size 32 bytes, yunhorn_sts_motion_sensor.o(.text.STS_MOTION_SENSOR_Function_Test_Process))
|
||||
<P><STRONG><a name="[77]"></a>STS_MOTION_SENSOR_Function_Test_Process</STRONG> (Thumb, 232 bytes, Stack size 32 bytes, yunhorn_sts_motion_sensor.o(.text.STS_MOTION_SENSOR_Function_Test_Process))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 668<LI>Call Chain = STS_MOTION_SENSOR_Function_Test_Process ⇒ STS_MOTION_SENSOR_GetValue ⇒ Process_FFT_and_Amplitude ⇒ Do_FFT ⇒ arm_rfft_fast_f32 ⇒ arm_cfft_f32 ⇒ arm_cfft_radix8by2_f32 ⇒ arm_radix8_butterfly_f32 ⇒ __aeabi_fadd ⇒ _float_epilogue
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[3ac]">>></a> SystemClock_Config
|
||||
|
@ -4016,17 +4016,17 @@ Global Symbols
|
|||
</UL>
|
||||
<BR>[Address Reference Count : 1]<UL><LI> lora_app.o(.text.LoRaWAN_Init)
|
||||
</UL>
|
||||
<P><STRONG><a name="[3b0]"></a>STS_MOTION_SENSOR_GetValue</STRONG> (Thumb, 216 bytes, Stack size 24 bytes, yunhorn_sts_motion_sensor.o(.text.STS_MOTION_SENSOR_GetValue))
|
||||
<P><STRONG><a name="[3b0]"></a>STS_MOTION_SENSOR_GetValue</STRONG> (Thumb, 220 bytes, Stack size 24 bytes, yunhorn_sts_motion_sensor.o(.text.STS_MOTION_SENSOR_GetValue))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 636<LI>Call Chain = STS_MOTION_SENSOR_GetValue ⇒ Process_FFT_and_Amplitude ⇒ Do_FFT ⇒ arm_rfft_fast_f32 ⇒ arm_cfft_f32 ⇒ arm_cfft_radix8by2_f32 ⇒ arm_radix8_butterfly_f32 ⇒ __aeabi_fadd ⇒ _float_epilogue
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[139]">>></a> __aeabi_f2iz
|
||||
<LI><a href="#[ee]">>></a> __aeabi_fadd
|
||||
<LI><a href="#[6b]">>></a> UTIL_ADV_TRACE_COND_FSend
|
||||
<LI><a href="#[fc]">>></a> __aeabi_ui2f
|
||||
<LI><a href="#[3b1]">>></a> TestingCaseGenerate
|
||||
<LI><a href="#[340]">>></a> Process_FFT_and_Amplitude
|
||||
<LI><a href="#[3ad]">>></a> HAL_I2C_GetState
|
||||
<LI><a href="#[118]">>></a> ADXL345_Init_Prepare_Measure
|
||||
<LI><a href="#[2db]">>></a> OUTLINED_FUNCTION_0
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[77]">>></a> STS_MOTION_SENSOR_Function_Test_Process
|
||||
<LI><a href="#[76]">>></a> STS_MOTION_SENSOR_WakeUp_Process
|
||||
|
@ -5073,6 +5073,7 @@ Global Symbols
|
|||
<LI><a href="#[13f]">>></a> OUTLINED_FUNCTION_4
|
||||
<LI><a href="#[115]">>></a> OUTLINED_FUNCTION_10
|
||||
<LI><a href="#[3b1]">>></a> TestingCaseGenerate
|
||||
<LI><a href="#[3b0]">>></a> STS_MOTION_SENSOR_GetValue
|
||||
<LI><a href="#[2db]">>></a> OUTLINED_FUNCTION_0
|
||||
<LI><a href="#[24e]">>></a> LmHandlerConfigure
|
||||
<LI><a href="#[170]">>></a> HAL_GPIO_EXTI_Callback
|
||||
|
@ -6136,13 +6137,12 @@ Local Symbols
|
|||
<BR><BR>[Called By]<UL><LI><a href="#[de]">>></a> OnSystemReset
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[2db]"></a>OUTLINED_FUNCTION_0</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, yunhorn_sts_motion_sensor.o(.text.OUTLINED_FUNCTION_0))
|
||||
<P><STRONG><a name="[2db]"></a>OUTLINED_FUNCTION_0</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, yunhorn_sts_motion_sensor.o(.text.OUTLINED_FUNCTION_0))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 168<LI>Call Chain = OUTLINED_FUNCTION_0 ⇒ UTIL_ADV_TRACE_COND_FSend ⇒ tiny_vsnprintf_like
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[6b]">>></a> UTIL_ADV_TRACE_COND_FSend
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[77]">>></a> STS_MOTION_SENSOR_Function_Test_Process
|
||||
<LI><a href="#[3b0]">>></a> STS_MOTION_SENSOR_GetValue
|
||||
<LI><a href="#[3aa]">>></a> STS_MOTION_SENSOR_After_Wake_Up
|
||||
</UL>
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -26,7 +26,7 @@
|
|||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<CLKADS>48000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>1</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
|
@ -119,13 +119,13 @@
|
|||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ST-LINKIII-KEIL_SWO</Key>
|
||||
<Name>-U0026000E4741500320383733 -O206 -SF4000 -C0 -A0 -I2 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32WLxx_CM4.FLM -FS08000000 -FL040000 -FP0($$Device:STM32WL55JCIx$CMSIS\Flash\STM32WLxx_CM4.FLM)</Name>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32WLxx_CM4 -FL040000 -FS08000000 -FP0($$Device:STM32WLE5CCUx$CMSIS\Flash\STM32WLxx_CM4.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32WLxx_CM4 -FS08000000 -FL040000 -FP0($$Device:STM32WL55JCIx$CMSIS\Flash\STM32WLxx_CM4.FLM))</Name>
|
||||
<Key>ST-LINKIII-KEIL_SWO</Key>
|
||||
<Name>-U48FF76067567515339490381 -O206 -SF4000 -C0 -A0 -I2 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32WLxx_CM4.FLM -FS08000000 -FL040000 -FP0($$Device:STM32WLE5CCUx$CMSIS\Flash\STM32WLxx_CM4.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint>
|
||||
|
@ -273,7 +273,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>Application/MDK-ARM</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
@ -989,7 +989,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>Drivers/CMSIS</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
@ -1401,7 +1401,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>Middlewares/SubGHz_Phy</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
<uAC6>1</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>STM32WL55JCIx:CM4</Device>
|
||||
<Device>STM32WLE5CCUx</Device>
|
||||
<Vendor>STMicroelectronics</Vendor>
|
||||
<PackID>Keil.STM32WLxx_DFP.1.1.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000,0x00008000) IRAM2(0x20008000,0x00008000) IROM(0x08000000,0x00040000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32WLxx_CM4 -FS08000000 -FL040000 -FP0($$Device:STM32WL55JCIx$CMSIS\Flash\STM32WLxx_CM4.FLM))</FlashDriverDll>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32WLxx_CM4 -FS08000000 -FL040000 -FP0($$Device:STM32WLE5CCUx$CMSIS\Flash\STM32WLxx_CM4.FLM))</FlashDriverDll>
|
||||
<DeviceId>0</DeviceId>
|
||||
<RegisterFile>$$Device:STM32WL55JCIx$Drivers\CMSIS\Device\ST\STM32WLxx\Include\stm32wlxx.h</RegisterFile>
|
||||
<RegisterFile>$$Device:STM32WLE5CCUx$Drivers\CMSIS\Device\ST\STM32WLxx\Include\stm32wlxx.h</RegisterFile>
|
||||
<MemoryEnv></MemoryEnv>
|
||||
<Cmp></Cmp>
|
||||
<Asm></Asm>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<SLE66CMisc></SLE66CMisc>
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile>$$Device:STM32WL55JCIx$CMSIS\SVD\STM32WL5x_CM4.svd</SFDFile>
|
||||
<SFDFile>$$Device:STM32WLE5CCUx$CMSIS\SVD\STM32WLE5_CM4.svd</SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
|
@ -138,7 +138,7 @@
|
|||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2CM3.DLL</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash3></Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
|
|
|
@ -614,9 +614,8 @@ ks\ARM\CMSIS\5.7.0\CMSIS\Core\Include -ID:\Users\lenovo\AppData\Local\Arm\Packs
|
|||
M\CMSIS\5.7.0\CMSIS\DSP\PrivateInclude -ID:\Users\lenovo\AppData\Local\Arm\Pack
|
||||
s\Keil\STM32WLxx_DFP\1.1.0\Drivers\CMSIS\Device\ST\STM32WLxx\Include --predefin
|
||||
e="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 533" --predefine="_RT
|
||||
E_ SETA 1" --predefine="CORE_CM4 SETA 1" --predefine="STM32WL55xx SETA 1" --pre
|
||||
define="_RTE_ SETA 1" --list=startup_stm32wl55xx_cm4.lst startup_stm32wl55xx_cm
|
||||
4.s
|
||||
E_ SETA 1" --predefine="STM32WLE5xx SETA 1" --predefine="_RTE_ SETA 1" --list=s
|
||||
tartup_stm32wl55xx_cm4.lst startup_stm32wl55xx_cm4.s
|
||||
|
||||
|
||||
|
||||
|
@ -1512,4 +1511,4 @@ Symbol: __main
|
|||
At line 155 in file startup_stm32wl55xx_cm4.s
|
||||
Comment: __main used once
|
||||
2 symbols
|
||||
426 symbols in table
|
||||
425 symbols in table
|
||||
|
|
30
readme.txt
30
readme.txt
|
@ -17,6 +17,36 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
============ STM32WL E5 E5 E5 =======================================
|
||||
BUT1_PIN PA.0
|
||||
BUT2_PIN PA.1
|
||||
BUT3_PIN N/A
|
||||
|
||||
#define BUT1_Pin GPIO_PIN_0
|
||||
#define BUT1_GPIO_Port GPIOA
|
||||
#define BUT1_EXTI_IRQn EXTI0_IRQn
|
||||
|
||||
#define BUT2_Pin GPIO_PIN_1 //MEMS-INT1-ACTIVITY-NO-ACTIVITY INT
|
||||
#define BUT2_GPIO_Port GPIOA
|
||||
#define BUT2_EXTI_IRQn EXTI1_IRQn
|
||||
|
||||
----- I2C1 --------------------------------------
|
||||
SCL PB.06
|
||||
SDA PB.07
|
||||
|
||||
----- I2C2 --------------------------------------
|
||||
SCL PA.12
|
||||
SDA PA.11
|
||||
|
||||
|
||||
EN-3V3 PB.04
|
||||
|
||||
============ STM32WL E5 E5 E5 =======================================
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
============ STM32WL 55 ========================================
|
||||
BUT1_PIN PA.0 CN10 Pin nbr 1 [PC.13 CN7 Pin nbr 23]
|
||||
BUT2_PIN PA.1 CN10 Pin nbr 36
|
||||
|
|
Reference in New Issue