I have issues using the demo functions, as well as the drivers in MSCAN for FRDM-KEA128. In particular, I am unable to exit the while loop, shown below, for both the demo function and the function in the driver. The buffer_status returns NODATA and the err_status returns ERR_OK.
while (buffer_status != NEWDATA)
err_status = check_CAN_mb_stat us(0, 1, buffer_status); us(
Two boards were configured separately, one as a transmitting board and the other as a receive board. Both boards were powered by a 12V supply.