User Activity

Hello, I am working on a project where data shall be logged onto a SD Card.I am using a stm32 mcu with freeRTOS running on it. I use spi and the fatfs library to communicate with the sd card.I have a own task which write the data from a circular buff...
Hello, I wanted to upgrade my simple blinky program with the usart 2, so that it sends a simple 'B' over the serial port to my PC. I am using a Nucleo-F334R8. In the datasheet it says usart2 is connected with the USB port.Here is my code, that is not...
Hello!I have project created with CubeMX. I coded a lot there and then I wanted to add a USB CDC device with CubeMX. After code generation I compiled the project and I got an error message:../Inc/usb_device.h:61:22: fatal error: usbd_def.h: No such f...
Hello.I was using CubeMX to configure an ADC and a comparator both with enabled interrupt. After the code generation I looked into the init functions but I could not find any interrupt configuration (priority setting and enabeling). In the HAL_COMP_...
Hello!I am using a STM32F303 MCU. I am generating a complementary PWM signal with a dead time. During operation I am changing the dutycycle of the PWM. I noticed a very strange behaviour. As soon as the counter value reaches the compare value, the ou...