2022-02-19 12:18 PM
Hi
I am new to FD CAN and I need to use it in my project. I have a problem with recieving data on NUCLEO-G431RB. THe data is sent by other NUCLEO-G431RB and my reciever doesn't recieve anything. My oscilloscope shows that data is correctly tranfered to my reciever.
I'm only using:
HAL_FDCAN_ActivateNotification(&hfdcan1, FDCAN_IT_RX_FIFO0_NEW_MESSAGE, FDCAN_TX_BUFFER0);
void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs)
{
HAL_FDCAN_GetRxMessage(&hfdcan1, FDCAN_RX_FIFO0, &RxHeader, RxData);
}
to recieve data.
Can someone help me?