Posted on February 20, 2018 at 10:30Hi,I have configure the TIM16_CH1N and TIM17_CH1N timers as input capture to PB6 and PB7 pin respectively:uint8_t Tim16_17_Init ( void ){ GPIO_InitTypeDef GPIO_InitStructure; NVIC_InitTypeDef NVIC_InitStruct...
Posted on July 26, 2017 at 11:15Hi,After the jumping bootloader, the EXTI_line7 not work!boot.c /* Test if user code is programmed starting from address 'APPLICATION_ADDRESS' */ if (((*(__IO uint32_t*)FLASH_USER_START_ADDR) & 0...
Posted on January 12, 2017 at 15:39I have the problem with I2C comunication.I programmed two STM8S-Discovery with example firmware available in C:\Users\u.iaquinta\Downloads\en.stsw-stm8069\STM8S_StdPeriph_Lib\Project\STM8S_StdPeriph_Examples\I2C\I2...
Posted on May 26, 2015 at 13:55Hi, I have problem with ADC1 conversions on STM8S-Discovery. I have configured the analogic inputs following: PB4 - AN4 PB5 - AN5 PB6 - AN6 unsigned char ADC_Config_INT ( void ) { GPIO_Init(ADC_PORT,ADC_15V_PI...
Posted on May 26, 2015 at 11:57Hi, I have problem with ADC1 conversions on STM8S-Discovery. I have configured the analogic inputs following: PB4 - AN4 PB5 - AN5 PB6 - AN6 unsigned char ADC_Config_INT ( void ) { GPIO_Init(ADC_PORT,ADC_15V_PIN, GP...
Posted on November 17, 2017 at 10:01I have solved!it is necessary used the EXTI pin on port A. If bootloader and application is used, the EXTI pin only works if it is on port A.It is necessary that EXTI pin is configured in boot code and in applicat...
Posted on August 25, 2017 at 08:58The exti line 7 is working if not used bootloather.If loaded the same application code with bootloather the exti line 7 not working.Suggestions?
Posted on July 21, 2017 at 09:05application.cint main(void){ unsigned long ulChk = 0; unsigned int uiLen = 0; GPIO_InitTypeDef GPIO_InitStructure; uint32_t i = 0; RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE); // Clock not Re...