Forum Posts
Resolved! FMC SDRAM: How to get timings and refresh rate from datasheet?
I used some SDRAM with the FMC, and I do have the datasheet of the SDRAM, which lists lots of timing information. But the datasheet uses different terms than CubeMX, so how can I find out which CubeMX parameter corresponds to which datasheet value? ...
Trouble with GPIO pin state change during program flashing
Hello there!I am using STM32F103RCT6 and have trouble with GPIO pin state change during program flashing that I don't want.Attached picture shows this phenomenon. (ch1 : PA9, ch2 : PB14)These two pins are not related to JTAG/SWD.PA9, PB14 are used ...
FDCAN on STM32H743ZI2 Protocol Arbitration Error
Hi Everybody,I have an STM32H743ZI2 communicating with an STM32F429ZI through CAN bus (SN65HVD230 used as transceivers). I set up both boards to use same clock for CAN peripheral and same time segments and prescalers, peripherals are operating in nor...
How to print characters in cp866 encoding?
Hi.I need to print characters in cp866 format. For printing, I use the printf function with an override of the write function. How can I make character printing using printf in cp866 encoding?Thank you.
Performances reduced when migrating from L476 to L562 ?
Hello, I have a small application running on a nucleo-L476RG board. This application is testing a G729 codec (to encode audio samples). It allows me to measure the time required to encode and to decode a 10ms audio record. For testing purpose, the "a...
Why does I2C get stuck with HAL_BUSY state?
Hi, I am trying to read MPU6050 FIFO data with STM32F103C8T6 after I get an interrupt from MPU6050. All works well at start, but after some time I2C gets stuck with HAL_BUSY state and never recovers from it. Here is my code:void HAL_GPIO_EXTI_Callbac...
STM32L4 UART Rx not working
I was trying to configure USART on an STM32L476 Discovery board. I know that register level coding is not great but it really works well for what I need to use the board for. I was able to send messages out using the transmit but I'm not able to get ...
STM32L4 LPTIM as pulse counter of intermittent pulses fails when initialising with no pulse
I'm working with LPTIM as a Pulse Counter on a STM32L432KC, I have a rain gauge connected to LPTIM1 (PB5) and a anemometer to LPTIM2 (PB1). Both configured on STM32CubeMX as Standalone: counts external clock events and pins assigned as LPTIM?_IN1 usi...