STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Creating a "Delay by x microseconds" function using TIM6

Hi, I'm trying to understand what I'm doing wrong that the following function seems to delay by anywhere between 667ns and 5.67us even though it's being called as Delay_us(4)I'm using Nucleo STM32F446REvoid KJO_TIM6_Init(uint16_t arel) { LL_APB1_GRP...

kj.obara by Associate III
  • 2443 Views
  • 11 replies
  • 0 kudos

PGSERR and PGPERR Problem

I have a problem with PGSERR and PGPERR bits being set after reset operationI am using stm32f4 board than I am using CANBUS and FW update process.When I use serial debug print in MX_CAN1_Init function. I faced with flash erasing error. Then I analyse...

DCtech by Associate II
  • 1332 Views
  • 7 replies
  • 0 kudos

Resolved! How to reprogram STM32L452 chip when the flash is corrupted

Hello everyone,I am new to the STM32 environment and I am trying to change the BOR level of STM32L452. I think I have corrupted the flash while trying to do this. And now when I try to reprogram the device it fails and gives the following error:Open ...

Sanket by Associate II
  • 1135 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F4 HardFault with 1 bit flipped address access

Hello Everyone,I have a Communication (UARTs) and DMA intense application running on stm32f439z. I am getting a strange Hardfault, not very rarely, I would say one per hour average, related to a wrong address access on the bus. Not happening always...

omercpp by Associate II
  • 1365 Views
  • 8 replies
  • 0 kudos

Boundary scan testing on Discovery board

Hii everyone,I've couple of questions. I'm using Discovery board with STM32F407VG in LQFP100 package. I want to do the boundary scan testing on it. is it possible to do boundary scan testing?is it possible to trace Embedded macro cellis it possible/H...

Rsrma.1 by Associate III
  • 412 Views
  • 2 replies
  • 0 kudos

SPI Protocol Polarity Issue " hspi2.Init.CLKPolarity "

I set up a basic Master-Slave SPI communication interface from the STM32H750VBT to the STM32F7ZET MCUs in only one direction. And in this workspace I set my hspi2.Init.CLKPolarity configuration as SPI_POLARITY_LOW on both sides. And, as far as I know...

SEROL.1 by Associate
  • 735 Views
  • 2 replies
  • 0 kudos

LPTIM_COUNTER_START Problem

Hi, I am using stm32431. I config LPTIM and call HAL_LPTIM_Counter_Start() but return HAL_TIMEOUT and no pulses is count. When I change HAL_LPTIM_Counter_Start() function putting 'HAL_OK' to be return forced, the pulses is counted normally, but not i...

GFont.1 by Associate III
  • 1189 Views
  • 6 replies
  • 0 kudos

STM32L432KC is not recognized on my computer

Hi,I'm using a STM32L432KC on Windows 10. I installed the ST-LINK driver (009) available on ST website and the ST-LINK utility (004).When I connect the STM32 to my computer , it doesn't appear as a STM32 device but as follows in 'other devices' of th...

0693W000003BMSuQAO.png
JV1 by Associate II
  • 1106 Views
  • 6 replies
  • 0 kudos

Hi eveyone, i am using stm32f207zg and i want to do a multi channel conversion with adc1. The input pin are PA5 e PA6. The problem is when i play the program: in particulare using debug i note that adc doesn't conversion as the sequence is defined.

int main(void){ double digital; char Stringa[20];   int x=1,k,j,i=0;RCC_CFGR=RCC_CFGR|0xE000;   //clock divided by 16---->APB2 pheripherals CLK = 1MHz RCC_APB1ENR=RCC_APB1ENR|0x20001;    //abilitazione clock per TIMER2 e USART2 RCC_CR=RCC_CR|0x1;   R...

FCa.1 by Associate II
  • 285 Views
  • 0 replies
  • 0 kudos

Discontinuous Mode Tip

It may be obvious to the rest of the world, but in order to get the ADC to operate in Discontinuous Mode, you must also select Scan Mode. This was Not obvious to me from either the comments in the HAL or the reference manual. The SCAN bit in CR1 appa...

Ron Koch by Associate II
  • 504 Views
  • 0 replies
  • 0 kudos