Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 225252

Forum Post: RE: LAUNCHXL-F280039C: CanFd bus off

$
0
0
Hi Joseph, This is the information in the ECR register, and the TEC register is almost filled // // Configure the MCAN Module. // MCANConfig(); while(1) { // // Write message to Message RAM. // MCAN_writeMsgRam(MCANA_DRIVER_BASE, MCAN_MEM_TYPE_BUF, loopCnt, &txMsg[loopCnt]); // // Add transmission request for Tx buffer 0 // HWREG(MCANA_DRIVER_BASE + MCAN_TXBAR) = 0x00000001; // // Wait till the frame is successfully transmitted (and ACKnowledged) // "Tx Buffer Transmission Occurred" register is polled. while(HWREG(MCANA_DRIVER_BASE + MCAN_TXBTO) == 0x00000000) { } DEVICE_DELAY_US(1000000); // // // // Stop Application. // // // asm(" ESTOP0"); } Change the single send from the example to send every 1s After the PC tool receives dozens of data, Canfd enters the bus off state

Viewing all articles
Browse latest Browse all 225252

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>