cancel
Showing results for 
Search instead for 
Did you mean: 

Recieving data from FD CAN NUCLEO_G431RB

Kamil Wroński
Associate III

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?

0 REPLIES 0