STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S I2c

Posted on January 30, 2013 at 11:34hello, i try to make a connection between the stm8s207 and an pcf8574. the problem is with the software, because i can control the pcf8574 with an AARDVARK analyzer. when i send a start and an adress (40) for pcf85...

STM8S - SPI not working after power-on reset (yes, it strange)

Posted on March 19, 2012 at 19:01I trying to develop device using STM8S105K6 MCU and found something very strange. If I press reset button (connecting NRST to GND) all if working fine. But If I just turn off/on device power, MCU is starting (timer ...

Cosmic compiler unexpected result

Posted on February 01, 2013 at 12:05Hi. I'm using the Cosmic STM8 compiler (''free'' version, v4.3.9) and it appears to generate unexpected results for the following test :- static char test(unsigned int x, unsigned int y) {    return (int)(x - y) <...

phorton by Associate II
  • 3328 Views
  • 18 replies
  • 0 kudos

Setting RTC wake up timer for perioic wake up

Posted on July 17, 2011 at 21:55I've pored over the user guide and various app notes but cannot seem to get the RTC wakeup timer to start running, so no WU interrupt and I get stuck in halt mode. Can someone give me a difinitive checklist of what r...

Programming 2 STM8L at the same time with 2 ST-Link/V2

Posted on September 04, 2012 at 12:36Hello everybodyI'm trying to program 2 STM8L151 at the same time using 2 ST-Link/V2 and 2 STVP-Cmdline.exe calls, but I can't. Is there any way to get it?.Thank you in advance

Instruction cycles and gpio access

Posted on January 13, 2013 at 18:58 I wanted to see how fast the gpio pins can be 'pulsed', so I created the following piece of code: /* Switch to 16Mhz Crystal Osc clock */ CLK_ClockSwitchConfig(CLK_SWITCHMODE_AUTO, CLK_SOURCE_HSE...

0690X00000604zCQAQ.png
klaasdc by Associate II
  • 902 Views
  • 5 replies
  • 0 kudos

stm8A interrupt usage

Posted on January 14, 2013 at 00:37Hello everybody,I'm newbie at STM8A. I'm using IAR IDE. I downloaded stm8peripheral from st web site and I'm trying to use template project in the file. Firstly, I wanted to use TIM4 and I copied all file in the ex...

stm8s active halt mode PA1 port pin issue

Posted on December 28, 2012 at 12:18hello, following is the short details about the objective of the program..and their after the problem what i am facing... I am using stm8s005c6t6 controller and  we are using capacitive based power supply (lm7805)...

STM8

Posted on December 19, 2012 at 16:45Respected All:           I new for STM8s003k3 and i compile the peripheral coding like GPIO,USART ..But i did not not got Hex file.And i use the STVD compiler.Can any one tell me how create a hex file.i Read the P...

STM8L DAC+DMA+TIM4

Posted on October 23, 2012 at 13:02hello, i'm trying to play raw pcm (22050 Hz, 8 bit unsigned, mono) from sd card to DAC through DMA, with ring buffer. everything works perfectly when i'm using TIM2 as interrupt source (at 22050 Hz) and DAC's softw...