STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use non - default pin mapping for STM8 micros ?

For example how can the IO pins be set for alternate function mapping to non-default pin. As per datasheet same alternate pin function is mapped to multiple pins. For example USART1_TX is shown to be available on PC3 and also PA2. By programming all ...

Prasad11 by Associate
  • 533 Views
  • 0 replies
  • 0 kudos

Not able to Debug STM8s001J3 with STVD and STVP using STLinkv2 Debugger.

As the STM8S001J3 MCU has no Reset pin, How do I connect the MCU with ST Link v2 using SWIM pin for debugging?STLink V2   :  STM8s001j3VDD        :     VDDGND        :     GNDSWIM       :    SWIMRESET       :      ?I have left the STLink V2's reset p...

SChow by Associate II
  • 536 Views
  • 0 replies
  • 0 kudos

STM8S001J3M3 ------- pb4 pin is not accessing

Hello, I am trying to access all the 5 gpio pins out of FIVE Gpio pins I am accessing 4 gpio pinss i.e (PD6/PA1 ,PA3,PC5,PC6).------->Port d and port c are accessing normally but port b is not able to access. ------->As per data sheet if we use swim ...

NRAME by Associate
  • 422 Views
  • 0 replies
  • 0 kudos

STM8S Missing Interrupt

Dear all,I am using STM8S103F2 in one of my design. I have two main missions in the code.1- Convert analog signal into digital and do some action according to voltage level.2- Catch an external interrupt in both falling and rising edges.I realized mi...

0690X000006CIrOQAW.bmp 0690X000006CIrJQAW.bmp
TA1 by Associate III
  • 403 Views
  • 2 replies
  • 0 kudos

Issue with overflow

Hi, this is the map file just before overflow.https://dumptext.com/x6lV7kAFHow can I read this file? Someone could please give me some insight?If a just add one more equation to the code it gets an overflow.I'm using this toolhttps://www.st.com/en/ev...

mcarv by Associate
  • 343 Views
  • 0 replies
  • 0 kudos

RTC wakeup not working

Hi,I have a code that is using STM8L151C6 MCU. I'm using the RTC to wake up periodically from Halt, but for some reason when I use SPI when I'm in RUN mode , after some duration the RTC stops generating the wakeup interrupt.when I comment the SPI pro...

udilevy by Associate II
  • 385 Views
  • 0 replies
  • 0 kudos

SWIM issue with STM8L051F3

Hi,I have one issue in the usage of download function with STM8L051F3,it is sometimes failed, and it made "protection error" with IAR embedded Workbench IDE,I update my schematic, please help to check it,thanks.