In my application I want to use timer to turn on LED for around 300ms and simultaneously generate PWM signal of freq 2.7kHz (for buzzer) on PA10 pin. Is there any way I can achieve this?(NOTE: I have already used TIM2 and TIM21 timers. TIM21 is also ...
Hello, Currently I'm working on a system using the : STM32G0B1.I'm encountering some Hardfaults, for what I've seen on G0 finding the source of the hardfaults is complicated. I've used an code of type :typedef struct{ TByte rSHCSR_name[4]; TLongW...
Hi,I am using stm32f1 and HUT21D sensor (Temperature and humidity sensor). The sensor use i2c for communication. I am using IAR and cubeMX.For cube: I used default setting for i2c.For IAR: I shared the main.c below.Can anyone help on why only get 0.#...
HI i got a problèm on an stm32f0.after a reset the µC is at 8mhz but i'm only able to climb to 16mhz when i want to go to 48MHZ , did someone have idea of where does the problem come from.the µc are not new because i work on protoboard and i cant cha...
Hello, We want to i2c dma circular mode but in this mode i2c is working once times. when our data finished we want to again again transmit.
Hi!I currently am trying to investigate random hardfault errors if i connect some addon board to my current project. What is happening is: On connection, VCC drops to 1,8V minimum, while being under 2,5V for ~ 2us. The result of this is either a rese...
I'm trying to use SDADC1 and SDADC2 to convert four signal (2 each) and I'm not getting good data. I'm using CubeMX to do the setup and I've selected Gain=1 Single-Ended zero reference for all inputs so I can convert a signal range of 0 to VDD on all...
hi there.I'm trying to CAN transmit on my target board.my board is not to send CAN message on stm32cubeide . but I confirmed that my board send CAN message on mbed.Can I how to send CAN message on stm32cubeide?? I intended CAN baudrate 500kbps, sampl...
1) I've checked multiple schematics for blue pill, black pill, etc., and saw capacitor and resistor on reset button line. I've built a test (pinout) board and without any capacitor or resistor. I can reset it (NRST pin to ground). May this cause a ha...