STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! HAL_CAN_RxFifo1MsgPendingCallback has a problem.

HIIf the CAN message ID set to FIFO0 is received, HAL_CAN_RxFifo0MsgPendingCallback will be called correctly.but,HAL_CAN_RxFifo1MsgPendingCallback is not called even if the CAN message ID set in FIFO1 is received.The following is strange.step1Send CA...

Ukazu by Associate III
  • 2 replies
  • 0 kudos

Resolved! HAL_CAN_AddTxMessage() contains problems

Hi I am using CAN in STM32F303RDT6.I am using HAL_CAN_AddTxMessage for CAN transmission.This function will send the data and return HAL_OK if the sending mailbox is free.However, although HAL_CAN_AddTxMessage returns HAL_OK, no message may actually b...

Ukazu by Associate III
  • 1 replies
  • 0 kudos

Resolved! CAN transmit acknowledged even though no receiving node.

I want to set up error handling for my CAN messages, and I wanted to start with errors from sending messages to IDs not on the CAN bus net. However, every message I send is acknowledged. There is only stm32 chip set up on the net and the rest are cur...

LHuss.1 by Associate II
  • 3 replies
  • 0 kudos

Resolved! FDCAN not working on Nucleo U545 boards?

I've tried both Zephyr RTOS and an STM32CubeIDE HAL project, and cannot get the FDCAN interface to work.After performing requisite initialization steps, I add a packet to the TX FIFO. No error is returned, but no packet is transmitted. I can repeat t...

robzeno by Associate II
  • 8 replies
  • 0 kudos

F446RE and CAN2 in loopback mode

I'm working on a custom board with a F446RET6 and testing through some code bits. I've been able to successfully test that the board programs and functions with a led-blink style program. My problem is that I'm attempting to use CAN2; I'm trying to t...

Resolved! FD_CAN How to reset error counter

In the FD_CAN register, there is a CEL[7:0]:, REC[6:0]: and TEC[7:0]:,The CEL register is not being reset on read and goes into the Bus-Off mode.Do I need to also reset the REC and TEC register?I am currently using the HAL_GetErrorCounter() function ...

Aeroiiv by Associate II
  • 5 replies
  • 0 kudos