STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Can't get stm8s003f3p6 to work with LCD1602!

Hello there! I am trying to get an stm8s003f3p6 to display text on an LCD1602 the LCD has the adapter board PCF8574 on it.I'm using STVD and cosmic C compiler. I used chatgpt to write the code and after quite a bit of tweaking i got it to compile and...

PCF8574-IIC-I2C-TWI-SPI-Serial-Interface-Board-Top.jpg
ram80 by Associate
  • 203 Views
  • 1 replies
  • 1 kudos

Not able to print Floating Values using STM8S103F3P.

I am doing a Current, Voltage Measuring project using INA219 Current Sensor and using STM8S103F3P Mini Development Board. And monitoring the data in Serial Monitor. But I am not able to read/write Floating Values. For Eg: Multimeter is measuring 21.2...

Assembler examples requested

I am new to STVD. I would like to make some assembly level programs. Is there any assembly example programs ? please help

joseateg by Associate
  • 191 Views
  • 2 replies
  • 0 kudos

Debugging Error with STVD version 4.3.12

I am new to STM 8I have just started assembly level programs on ST visual Develop. Version id 4.3.12.I can not debug my test program.When ever  I start debugging and clicking run  command the IDE hangs. I use windows 7  . Please help

joseateg by Associate
  • 127 Views
  • 0 replies
  • 0 kudos

Starting STM8L152 Discovery Board project

I am new to ST digital products and am working on getting the STM8L Discovery running for coding and debugging before a new serious project begins. My question is how to identify and connect the needed resources for this MPU, etc. Like, how to talk t...

IC_DOC by Associate II
  • 763 Views
  • 6 replies
  • 0 kudos

Resolved! STM8 bootloader UART write memory

Hello,I am developing a firmware for a host device to flash STM8S via UART.My issue is when I send a write command, STM8 didn't response anything.- Host sends write command: 0x31 0xCE, STM8 responsed ACK 0x79 . Host replies 0xFF- Host sends 5 bytes a...

thaonguyen_0-1717408740348.png

Cosmic C Compiler 4.6.1 break my code

Hi allRegarding the current release for STM8:COSMIC STM8 C Compiler Special EditionVersion: 4.6.1 Date: 31 Jan 2024Just to report that the current version of Cosmic C compiler on STM8 break the code snipplet attached.With the MOCKUP undefined, the co...

CAN filter - STM8AF5288

Alright, I got my CAN stuff working in ID/mask mode, with 'all accepted' values.I need to setup a CAN filter to only receive STD ID of 1512 (0x5e8).I'm confused why this doesn't work.  Using SPL looking at the CAN examples.  I saw IDList, and this se...