STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

eeprom write page error

Hi,I am trying to write some datato external eeprom with I2C_EEPROM_WritePage function, but it doesn't write everytime. Sometimes it can write and sometimes it can't. I am using standart peripheral I2C library and using the write page function below....

er3481 by Senior
  • 407 Views
  • 0 replies
  • 0 kudos

Delay function with TIM14 in nucleo G031K8

void TIM14_init(void){ RCC->APBENR2|=(1<<15); TIM14->PSC= 31; TIM14->SR=0; TIM14->CNT=0; TIM14->EGR|=(1<<0); } void TIM14_delay_us (int delay_us){ TIM14->ARR = delay_us; TIM14->CR1|= (1<<0); // counter enabled while (!((TIM14->SR)&1)); // wai...

0693W00000UoGKvQAN.png 0693W00000UoGKqQAN.png
Tommino by Senior
  • 1484 Views
  • 9 replies
  • 0 kudos

Erasing a page of flash on STM32L476RG

Hello everybody,I'm working on an STM32L476RG. For the moment, I'm using a nucleo-476RG board.I'm trying to write and read some data in the flash memory.I'm trying to write at the address : 0x080FF800 (first address of last page of the memory).I do t...

fab04 by Associate II
  • 1237 Views
  • 7 replies
  • 0 kudos

malloc or calloc allocation on stm32. I store some strings with calloc allocation and display that strings on the api text box. strings seems to be showing static on the api text box.Outputing strings are dynamic to be display on api text box.

Its the same strings showing on api text box. It does not change. But when I debug it I can see it changing and display on api (application interface) text box. Any idea about this?

cjaya.1 by Associate II
  • 376 Views
  • 0 replies
  • 0 kudos