主题中讨论的其他器件:MSPM0L1306、 SysConfig
您好!
我将 MSPM0L1306电路板与 CCS Theia 1.2.0.0000_win64和 SDK 1.20.01.06配合使用。 最初、电路板可通过系统自身提供的一些示例正常运行。 但是、在尝试使用涉及 ADC 与 UART 通信的示例(adc_to_uart_lp_MSPM0L1306_nortos_ticlang)时、我遇到了一个问题。 电路板进入一个循环:
while (false == gCheckADC){
__ WFE ();
}
而不退出、也不会在串行控制台或终端上显示任何结果。
我不确定我遇到的误差是否在部件中。 关于模拟引脚配置、我遵循 CCS Theia 的建议。
我想请您帮助解决这个问题、因为此示例占我项目的大约25%。 我认为解决方案可能很简单、但我对德州仪器的微控制器不熟悉。
提前感谢您的关注和帮助。
查看编译日志:
[0]****项目 ADC_TO_UART_LP_MSPM0L1306_nortos_ticlang 的纯净配置调试****
[1]"C:\\ti\\ccstheia120\\ccs\\utils\\bin\\gmake"-k -j 4干净-O
[2]gmake:***没有将目标设置为"干净"的规则。
[3]****构建完成****
[4]****项目 ADC_TO_UART_LP_MSPM0L1306_nortos_ticlang 的配置调试构建****
[5]"C:\\ti\\ccstheia120\\ccs\\utils\\bin\\gmake"-k -j 4所有-O
[6]构建文件:"../adc_to_uart.syscfg"
[7]调用: SysConfig
[8]"C:/ti/ccstheia120/ccs/utils/sysconfig_1.18.0/sysconfig_cli.bat -s "C:/ti/mspm0_sdk_1_20_01_06/.metadata/product.json "--script "C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/adc_to_uart.syscfg "-o "syscfg"-- compiler ticlang
[9]正在运行脚本...
[10]Mystic
[11]info:/ti/project_config/ProjectConfig deviceSpin:注:用户必须在迁移后选择设备。 用户必须确保选择与 CCS Launch Device 设置相同的器件以进行正确配置。
[12]正在生成代码(adc_to_uart.syscfg)...
[13]正在写入 C:\Users\verga\workspace_ccstheia\adc_to_UART_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\device_linker.cmd……
[14]正在写入 C:\Users\Verga\workspace_ccstheia\adc_to_UART_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\device.opt...
[15]正在写入 C:\Users\verga\workspace_ccstheia\adc_to_UART_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\device.cmd.genlibs……
[16]正在写入 C:\Users\Verg\workspace_ccstheia\adc_to_UART_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\ti_msp_dl_config.c.
[17]正在写入 C:\Users\Verg\workspace_ccstheia\adc_to_UART_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\ti_msp_dl_config.h。
[18]Writing C:\Users\Verg\workspace_ccstheia\adc_to_UART_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\Event.dot...
[19]finished building:"../adc_to_uart.syscfg"
[20]建设文件:"c:/ti/mspm0_sdk_1_20_01_06/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0l130x_ticlang.c
[21]Arrowing :[编辑]
[22]"C:/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang.exe /ti/mspm0_sdk_1_20_01_06/source/third_party/CMSIS/Core/Include @/ti/mspm0_sdk_1_20_01_06/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0l130x_ticlang.c -c @"syscfg/device.opt"-March=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang /ti/mspm0_sdk_1_20_01_06/source -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug /Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg -i"C
[23]Still Building :"c:/ti/mspm0_sdk_1_20_01_06/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0l130x_ticlang.c
[24]正在构建文件:"../adc_to_uart.c"
[25]Arrowing :[编辑]
[26]"C:/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang.exe -c @"syscfg/device.opt"-March=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang /ti/mspm0_sdk_1_20_01_06/source -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug -i"C:/ti/mspm0_sdk_1_20_01_06/source/third_party/CMSIS/Core/Include -i"-i"C:dw"-i":tadc"-gf"-gflo_duart_adc_duart_d" to "adc_duart_d" t_duart_d" t_duart_d" to "adc"@。
[27]finished building:"../adc_to_uart.c"
[28]构建文件:"SYSCFG/ti_msp_dl_config.c"
[29]Arrowing :[编辑]
[30]"C:/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang.exe /ti/mspm0_sdk_1_20_01_06/source/third_party/CMSIS/Core/Include -c @"syscfg/device.opt"-March=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang /ti/mspm0_sdk_1_20_01_06/source -i"C:/Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug /Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg -i"C @
[31]finished building:"SYSCFG/ti_msp_dl_config.c"
[32]构建目标:"adc_to_uart_lp_MSPM0L1306_nortos_ticlang.out"
[33]Arrowing :一个男人的女人
[34]"C:/ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang.exe /ti/mspm0_sdk_1_20_01_06/source /Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg @"syscfg/device.opt"-march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mdiag -O2 -gthumf -3 -wl /Users/verga/workspace_ccstheia/adc_to_uart_LP_MSPM0L1306_nortos_ticlang /ti/ccstheia120/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/lib /syscfg/ti_msp_dl_config.o
[35]已完成构建目标:"adc_to_uart_lp_MSPM0L1306_nortos_ticlang.out"
[36]****建设完成
此致、
Diego Vergaças