Hi Petr,
I tried your example and it kind of works. To make it work I had to turn on the EN pin to the CAN chip. I now see the COFFEE message going out on the CAN bus. However, in the main while loop the FlexCAN_Ip_GetTransferStatus() always returns busy and thus I never see the first payload byte increment. Do you know why I always get busy?
while( !done )
{
idleCnt++;
status = FlexCAN_Ip_GetTransferStatus(INST_FLEXCAN_0, TX_MB_IDX);
if ( FLEXCAN_STATUS_BUSY != status )
{
dummyData[0]=byte_0++;
Sendstatus2 = FlexCAN_Ip_Send(INST_FLEXCAN_0, TX_MB_IDX, &tx_info, MSG_ID, (uint8 *)&dummyData);
}
int ii;
for(ii=0;ii<50000;ii++);
}