Forum Posts
Hello. I am using STM32L476 nucleo board. I am facing problem in SPI communication.
I am trying to communicate with a peripheral device through SPI interface using the HAL SPI library functions. But the function is not working properly. It is getting stuck inside the HAL_Delay function. HAL_SPI_Transmit function just executes an emp...
How to re-enable the timer after a One pulse goes off (OPM)?
Hi guys I am using the stm32h753zi MCU and writing my own drivers to use the WS2812B led strip.It uses a PWM to determine how much of the RGB you want. I got the PWM part down and the OPM done, the problem is that I want to send let say a duty cycle ...
Resolved! Light up your LED in 30 seconds with 3 methods!
Light up the LED in 30 seconds with 3 methods.1. Install IDEStep 0. Prepare HardwareThe hardware used in this experience is ST's development board NUCLEO-F411RE, and the development board number is MB1136. If you don’t have this board, you can use ...
The debugger shows me variable differently from as i declared
I declare this two variable globallyuint8_t data_rcv_flg[1] = { 0 }; /* To avoid reuse of data */ uint8_t run[1] = { 0 }; I use this variable here:MODEM_ConfigTypeDef modem_cfg; modem_cfg.buff = data; modem_cfg.rcv_flag = data_rcv_flg; PROTOCOL_Con...
Resolved! F746 proto has problems in reset
I think programming was successful at first time but after that I get only write protection and reset errors.STM32 ST-LINK Utility and STM32CubeProgrammer complain about reset and write protection. But reset pin voltage is now about 3.2V.Cube program...
Failed to execute MI command - STM32L151V8T6A
I am working with CubeIDE 1.4.0 on Windows 10 and using STM32L151V8T6A on my prototype board.However not able to fix the errors below.Would be of great help to get to know and fix the causeThanks a lotError message from debugger back end:Error finis...
Reduce ADC sampling rate
HiThe default stm32h7 ADC sampling rate is 50MSps.how can I reduce it using HAL settings?something like 50KSps?Is it possible to do so during run time while the is ADC is already on?Is there any risk of using the internal ADC at the maximum sample ra...
How to use Bluetooth module with my STM32L4 ?
Hi , I just want to know how to use internal Bluetooth module in my STM32L4. I tried to make this tutoriel : https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step5_Build_an_IOT_systemi have made all for instruction of this tutoriel and the IDE show...