STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

[BUG_REPORT] Incorrect handling of SPI interrupts.

Current implementation of the SPI transmit HAL function handles incorrectly interrupts. Actually the interrupt handler is implemented like this:static void SPI_TxISR_8BIT(struct __SPI_HandleTypeDef *hspi) { *(__IO uint8_t *)&hspi->Instance->DR = (*...

AGime.1 by Associate II
  • 608 Views
  • 2 replies
  • 0 kudos

HAL_CAN_AddTx Message returns HAL_CAN_ERROR_PARAM

Hi everyone,I am working with STM32F405 and trying to transmit 16bit data using CANBus line including several units (motor controller, Bms and other circuits). Our CANBus line works fine for a long time. Now I am trying to add one more device to our ...

Myurt.1 by Associate
  • 719 Views
  • 1 replies
  • 1 kudos

USB CDC (Device) working with FreeRTOS on the STM32769I-DISCO. Does ST have example code of these two working together ?

I note that the XCube-AWS software employs FreeRTOS as a task scheduler. I'm using the STM32F769NI-DISCO development board to do some testing. That software is working out of the box. I can see the Ethernet handled as a task. I also see the USB CDC (...

Battery-powered STM32L4 Discovery kit (B-L475E-IOT01A) ST_LINK chip will not allow code to execute unless plugged into USB port.

Hello,I've built a project with the B-L475E-IOT01A Discovery Kit that is intended to be a battery-powered stand-alone unit. I've wired it to be powered via the 5V Arduino header and set the 5V jumper appropriately. However, the unit will not start ex...

PSche.4 by Associate
  • 1491 Views
  • 4 replies
  • 0 kudos

osDelay failed

I am working with stm32h753zi board and i am tring to implement the task swithcing logic, if task 1 is running task 2 wait on while loop and while task 2 is running task1 should wait of while loop. I task 2 locked inside the osDelay().

AFaya.1 by Associate III
  • 835 Views
  • 2 replies
  • 0 kudos