User Activity

Hello, I'm studing I2C on stm32g071rb and I have a question about it.In the datasheet there is this line: "In the case of a write transfer, the TXIS flag is set after each byte transmission, after the 9th SCL pulse when an ACK is received", but for t...
Hello, I'm studing timers with stm32g071rb and I wanna generate a PWM signal using PA8 pin.At the moment I write this code:GPIOA->MODER &= 0xeffcffff;GPIOA->MODER |= 2<<16; //alternate function mode for PA8GPIOA->OSPEEDR |= 1<<17; //PA8 at high speed...
Hello,I'm studing timer, and I wanna raise an interrupt every second using the Timer1.I write this code in main:rcc->APBENR2 |= RCC_APBENR2_TIM1EN_Msk; //Enable Timer1 clocktimer->CNT = 0;timer->ARR = 1000;// up to 1000timer->PSC |= 16000 - 1;//actua...
Hello,I'm writing a Flash HAL driver in order to understand better how this CHIP work.My functions at the moment work correctly but for some page I have an HardFault(During erase).For example I can't erase/write the page 0 and others pages.Please cou...
Hello,I'm new in ARM programming, I'm trying to study how CHIP work using the documentation.I wanna unlock the flash memory and according with documentation:1. Write KEY1 = 0x4567 0123 in the FLASH key register (FLASH_KEYR)2. Write KEY2 = 0xCDEF 89AB...
Kudos given to