This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: 运行simulink代码生成ADRC模型Implement PMSM Speed Control Using Active Disturbance Rejection Control报错:The SCI module A is already used by ConfigurationParameter->HardwareImplementation->TargetHardwareResources->ExternalMode

Part Number: LAUNCHXL-F28379D

ti专家们好,我在运行matlab2023b官方代码生成模型mcb_pmsm_adrc_qep_f28379d出现以下错误:如图所示

计算 C28x SCI Transmit block (mask) 'mcb_pmsm_adrc_qep_f28379d/Current Control/SCI_Tx/Code Generation/While Iterator Subsystem/SCI Transmit' 的 'InitFcn' 回调时出错。
回调字符串为 'validateC280xSCI('Tx');
codertarget.registry.registerC280xSCITxBlocks(gcb);'
原因:
The SCI module A is already used by ConfigurationParameter->HardwareImplementation->TargetHardwareResources->ExternalMode.
组件:Simulink | 类别:Model 错误
计算 C28x SCI Receive block (mask) 'mcb_pmsm_adrc_qep_f28379d/Serial Receive/SCI_Rx/Code Generation/Data_Type_Float/SCI Receive' 的 'InitFcn' 回调时出错。
回调字符串为 'c28xsci_callback('renderDisplay')
validateC280xSCI('Rx');
codertarget.registry.registerC280xSCIRxBlocks(gcb);

'
原因:
The SCI module A is already used by ConfigurationParameter->HardwareImplementation->TargetHardwareResources->ExternalMode.