您好:
我在调试mcan时,想将demo:External Loopback Interrupt修改为单核发送模式,遇到以下几个问题,
1.我参照RX application中的example.syscfg在TX application中进行了配置,主要是关掉IPC,配置了EDMA、MIBSPI、UART,自己配置了GPIO11。请问这些模块如何配置,有没有参考文件?


2将RX application中的mcan_enableTransceiver()移植到TX application中,在调试过程中跑不过mcan_enableTransceiver()这一步,停在SemaphoreP_pend函数中,两个核是有中断进行联系起来吗,如果我只用一个核进行发送,该如何移植?void mcan_loopback_tx_interrupt_main(void *args)
{
int32_t status = SystemP_SUCCESS;
HwiP_Params hwiPrms;
MCAN_TxBufElement txMsg;
MCAN_ProtocolStatus protStatus;
uint32_t i, bufNum = 0U;
/* Open drivers to open the UART driver for console */
Drivers_open();
Board_driversOpen();
/* Enabled transceiver in TX application.add by jiaqiang in 7.11*/
mcan_enableTransceiver();
/* Wait for mcan rx application to be ready */
IpcNotify_syncAll(SystemP_WAIT_FOREVER);
DebugP_log("[MCAN] TX Application, Interrupt mode started ...\r\n");
3.我想调通mcal的中的can驱动,想在这个demo上进行修改,是不是也要进行system_init()和board_init这两步。是否会和sdk中的can驱动冲突,这如何解决?