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

I'm writing an STM8 assembler using your PM0044 document, but it has errors. For example, BTJF and BTJT are both listed as having an opcode of $72 $0x (the x is the bit mask). Most likely, one of those opcodes is supposed to be $92.

Most likely, the programmer who wrote your assemble used a text document provided by the engineers for his info on the STM8 instruction set. Later on, a technical writer converted that text document into a snazzy PDF for outsiders such as myself. Err...

HughA by Associate
  • 778 Views
  • 1 replies
  • 0 kudos

96-bit Unique id of STM8AF52xx

Hello.I want to read the 96 bit unique id of STM8AF5288TCY microcontroller.I have gone through some resources like the data sheet of stm8s105c4.This mentions that the unique id is present 0x48CD address.I want to know the address at which it is prese...

raja1 by Associate II
  • 1435 Views
  • 3 replies
  • 0 kudos

Resolved! Is there any pre-requirments on using PC0 & PC1 as GPIO PP in STM8L051?

Hi all,I am trying to use STM8L051 port c pin 0 as an output to drive a NPN. But I find that PC0 & PC1 cannot be set by using ST HAL library. All the registers seems ok (DDR, ODR, CR1 & CR2). And PC4,5,6 can be driven. Can anyone please give me a han...

SSin.1 by Associate II
  • 2359 Views
  • 6 replies
  • 0 kudos

Problem useing SPI together with UART as SPI

As soon as I add USART initialization, SPI starts sending data using LSB and receiving with MSB(as it was intended) bit order.SPI init code:/* SPI configuration */ SPI_DeInit(); /* Initialize SPI in Slave mode */ // SPI_Init(SPI_FIRSTBIT_LSB, S...

kirlik by Associate II
  • 1229 Views
  • 3 replies
  • 0 kudos

Resolved! Unsupported Compiler! Error

Hi everyone! I m trying to compile my project but there is a problem. I use IAR as compiler and STM8S103XX. Why is that?

0693W00000Y7X75QAF.jpg
MÇETİ.1 by Associate III
  • 832 Views
  • 3 replies
  • 0 kudos

''Failed to launch child process:<gdb.exe>

The error message shown below:''Failed to launch child process:<gdb.exe>>error=2 - ''The system cannot find the file specified''.''Can anyone know how to solve it?I tryed to install STVD again, without success.I didn´t have this problem until now. i ...