User Activity

void sEE_ReadBuffer(uint8_t* pBuffer, uint16_t ReadAddr, uint16_t* NumByteToRead) { //__IO uint32_t timeout = 0xFFFF; __IO uint32_t timeout = 0xf00; /*!< Wait the end of last communication */ for (;timeout > 0; timeout--);   /* Set the poin...
does it need some time delay between two read multiple bytes function?is there some tip about it
stm8L152 PC2 is USART rx,1 rx to exit before halt() USART_DeInit(USART1); GPIO_Init(GPIOC, GPIO_Pin_3, GPIO_Mode_Out_PP_Low_Slow); GPIO_Init(GPIOC, GPIO_Pin_2, GPIO_Mode_In_PU_IT); RX_EXTI_setup(); EXTI_ClearITPendingBit(EXTI_IT_Pin2);2, pc2 exit han...
hardware I2C: my stm8l152 have two i2c slave device, it works well when does not connect to a oscilloscope.when connect to oscilloscope, mcu may be stop i think oscilloscope has effect on i2c, I2C communicate by polling
I2C_Cmd(sEE_I2C, ENABLE); /* sEE_I2C configuration after enabling it */ I2C_Init(sEE_I2C, I2C_SPEED, I2C_SLAVE_ADDRESS7, I2C_Mode_I2C, I2C_DutyCycle_2, I2C_Ack_Enable, I2C_AcknowledgedAddress_7bit);do the init order have some problem? ...