Discuss hardware and software design challenges, including NOR flash storage, OTA updates, component ID, and thermal management.
CLK_PeripheralClockConfig (CLK_Peripheral_I2C,ENABLE);// Delay(2); I2C_DeInit(); /* I2C Peripheral Enable */ I2C_Cmd(ENABLE); /* Apply I2C configuration after enabling it */ I2C_Init((uint32_t )200000, 0xA0, I2C_DutyCycle_2, I2C_Ack_Enable, I2C_Ack...
I want to program an external STM8 microcontroller using the ST-LINK/V2-1 portion of the NUCLEO-8L152R8 board. Is that possible? If so, what are the required steps?
I just downloaded the latest StdPeriph_Driver library a few days ago.The line ...TIM2->SR2 = (uint8_t)(~((uint8_t)((uint8_t)TIM2_FLAG >> 8)));... produces a warning. The value written to TIM2->SR2 will always be 0xFF.It's unclear to me what the desir...
at line 140 , the key io level is 3.2v , it is release status, so it keeps high.but the read pin function can not read the set value out , why?hope you could give me some hand!
void main(void) { /* Infinite loop */ CLK_SYSCLKDivConfig(CLK_SYSCLKDiv_8); GPIO_Init(GPIOE, GPIO_Pin_7, GPIO_Mode_In_PU_IT); EXTI_setup(); halt(); // first active #if 0 while(1) { halt(); ...
/** ****************************************************************************** * @file Project/STM8L15x_StdPeriph_Template/main.c * @author MCD Application Team * @version V1.6.1 * @date 30-September-2014 * @brief Main progra...