stm8s105c6 i2c problem
Posted on July 25, 2012 at 16:49I used pe1 and pe2 pin for i2c but this pins not work normally now. i make high pe1 and pe2 but this pins always low but pe0 and pe3 can be high. how do i connect this pins for i2c?
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Posted on July 25, 2012 at 16:49I used pe1 and pe2 pin for i2c but this pins not work normally now. i make high pe1 and pe2 but this pins always low but pe0 and pe3 can be high. how do i connect this pins for i2c?
Posted on August 01, 2012 at 16:21I am trying to use assert () to check amd make sure that my input is an integer. I assign char choice[15]; u32 a; u8 n; then I write n=Str2Int (*choice, *a); and it don't work, error bad argument type. If I chan...
Posted on June 25, 2012 at 21:33I have a project with STM8L151 and I have a dozen of quality issues with EWSTM8. Since a few days ago, after the upgrade to Win7, I have been facing consantly crashes. It seems to me as it happens because of LiveVie...
Posted on July 24, 2012 at 15:13Hi, I'm using stm8s library 1.1.1.Cosmic C 4.2.10 Compiler.the mcu is stm8s207rbt6 I'm experiencing an issue writing a byte in the data eeprom while I'm receiving data on the uart3 (tried also on the uart1 and it's th...
Posted on March 23, 2009 at 03:35STM8_firmware_library #can-init #stm8s-can-example
Posted on February 20, 2012 at 12:46I was trying to get the ADC working on an STM8S discovery, but left and right alignment setting of the ADC gives different results. In the file stm8s_adc1.c of the standard firmware library there is:/* Left alignm...
Posted on July 19, 2012 at 20:18Hello, I have question about parameter of MCU STM8S 103F2: ''NRW - Erase/write cycles - (program memory)'' I read document: ''Specification: STM8S103K3 STM8S103F3 STM8S103F2'' (DocID15441 Rev 9/ CD00226640.pdf ) on ...
Posted on July 07, 2012 at 20:24I found something very funny/weird when using TIM1 to measure the frequency of a signal: Set TIM2 and TIM1 to use the same prescaler (e.g. 8). TIM2 is configured to generate PWM with period 10000, in this case resulti...
Posted on June 28, 2012 at 02:29Hi all,I'm moving a design from STM8S105 to STM8S207.I'm thinking of raising the clock speed from originally 16MHz to 24 MHz in order to get more MIPS from the core.However, for clocks > 16 MHz, the flash memory requi...
Posted on May 22, 2012 at 17:59I'm starting to work with STM8. I'm not finding a way to configure the ports as pull-down.