HI Kaur,
for this you can take a look at the MULTICAN_CONFIG_EXAMPLE_XMC47 (http://www.infineon.com/cms/en/produ...downloads.html), more precisely to "CAN_IRQHandler" function which reads-out the data and stores the data to an array.
But in summary, you use "CAN_NODE_MO_Receive(CAN_NODE_LMO_t *lmo_ptr)" or "XMC_CAN_MO_Receive(XMC_CAN_MO_t *can_mo)"...this will read the hardware RX buffer and store the value to the "can_mo->can_data[0/1]" array. Then all you need to do is to assign your "unit8_t array" to "can_data" member of the "XMC_CAN_MO" structure as shown in the mentioned example.
Best regards,
Deni
for this you can take a look at the MULTICAN_CONFIG_EXAMPLE_XMC47 (http://www.infineon.com/cms/en/produ...downloads.html), more precisely to "CAN_IRQHandler" function which reads-out the data and stores the data to an array.
But in summary, you use "CAN_NODE_MO_Receive(CAN_NODE_LMO_t *lmo_ptr)" or "XMC_CAN_MO_Receive(XMC_CAN_MO_t *can_mo)"...this will read the hardware RX buffer and store the value to the "can_mo->can_data[0/1]" array. Then all you need to do is to assign your "unit8_t array" to "can_data" member of the "XMC_CAN_MO" structure as shown in the mentioned example.
Best regards,
Deni