Hi @SudheerkumarA,
This FlexCAN example configures the FlexCAN0 as a "Loopback". The Reference Manual describes loopback operation as:
"In this mode, FlexCAN performs an internal loopback that can be used for self-test operation. The bit stream output of the transmitter is fed back internally to the receiver input. The RX CAN input pin is ignored and the TX CAN output goes to the recessive state (logic 1). FlexCAN behaves as it normally does when transmitting and treats its own transmitted message as a message received from a remote node."
The received bits in the example are internally connected for testing purposes, this can be disabled by setting CTRL1[LPB] to 0b.
I hope you find this helpful!
Best regards,
Julián