Forum Posts
Handling UART errors in HAL
I am struggling to establish robust UART communication using HAL. It also seems I am not alone, there were many similar questions here, all closed without an answer. Here are some of them:https://community.st.com/s/question/0D50X00009XkfAH/handling-u...
Linker script specifies .TxDescripSection > Memory_B2 but .TxDescripSection ends up in RAM section (LwIP_HTTP_Server_Netcoon_RTOS on STMF767zi)
Hello,The linker script in the demo example specifies:/* Specify the memory areas */ MEMORY { FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 2048K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 499K Memory_B1(xrw) : ORIGIN = 0x2007C000, LENGTH = ...
Resolved! Can I use CubeMX functions or HAL library in functional safety projects?
Hello,I am developing a functional safety project in IEC 61508 standard, which requires static and unit testing of all of the functions in the project. My question is, "Can I use auto-generated CubeMX configuration functions or the HAL library in my ...
Unable to init PA1 with ADC1 with no HAL or LL STM32F103C6T8 bluepill
I am writing a bare-metal ADC driver from scratch and the issue that I am getting is on reading the value from PA1.Here is my adc.c lib that I wrote.#include "adc.h" void ADC1_ADC_Init(void) { RCC->APB2ENR |= (1U << 2U); // IOPAEN I/O port A c...
How do I find the frequency of TCP tokens being sent out of the Eval Board?
Currently, I use an STM32H757I-EVAL Board, on which I have running a CDC ECM driver for USB to Ethernet capabilities. I have noticed that there are a significant amount of IN tokens being sent out of the Eval Board during a transfer of packets (as pe...
Ethernet MAC, TCP Checksum offload stops working
Hi,I'm trying to push through a lot of data over Ethernet using TCP. It's working for a while and then the TCP checksums disappear, IPv4 checksums are still there. This happens after 1-2MB -> 25GB depending if there's a python or C client on the PC, ...
M4 core heap issue on STM32H745.
I am working on STM32H745 discovery board. I have the following peripherals configured on both cores-Cortex M4- FreertosCortex M7- Freertos, Ethernet, LWIP, USART, QSPI, SDRAM.In M4 core there is a default task in which LED is blinking. When I enable...
Error in 'en.stsw-stm32156' - AN4457 ?
Hello,can someone confirm that line 890 /* Disable External interrupt for next Frame */ EXTI->IMR &= ~EXTI_EMR_MR3;is not correct in 'stm32f4xx_hal_uart_emul.c'?Everywhere else it is written something like this EXTI->IMR |= huart_emul->Init....
Error in documentation in stm32u5xx_hal.adc.h
There is a little error on documention at the following lines#define ADC_LOW_POWER_NONE (0x00000000UL) /*!< Both Low Power Auto Off and Deep Power Down is Disabled*/ #define ADC_LOW_POWER_AUTOFF (ADC4_PW_AUTOFF...