cancel
Showing results for 
Search instead for 
Did you mean: 

We are using HAL library for F215xx and F746xx MCUs. We found difference for CAN driver within HAL_CAN_GetRxMessage() function for setting the RTR (remote transmission request) register. Are more detailed information about sFIFOMailBox availalbe?

PDell
Associate

stm32f2xx HAL library version 1.8.0 & 1.9.0

pHeader->RTR = (CAN_RI0R_RTR & hcan->Instance->sFIFOMailBox[RxFifo].RIR);

stm32f7xx HAL library version 1.14.0 & 1.15.0

pHeader->RTR = (CAN_RI0R_RTR & hcan->Instance->sFIFOMailBox[RxFifo].RIR) >> CAN_RI0R_RTR_Pos;

0 REPLIES 0