STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8s003f3 with i2c LCD (PCF8574AT I2C Module)

Hello Every one ,I am trying to use I2c based LCD with stm8s003f3 controller. the write i2c address is 0x3f I am struck at a point ,the code is stopped in endless loop in below functionvoid PCF8574_write(unsigned char data_byte){  I2C_GenerateSTAR...

pverm.19 by Associate
  • 531 Views
  • 0 replies
  • 0 kudos

How to link to lin.lib from en.stsw-stm8a-LIN in an STVD project

I have followed the steps to create my lin.lib file from my LDF, but I need to add it to a STVD project, not one built with an extrenal makefile. I have tried adding the library to the default compiler path, and tried specifically adding it to the pr...

IChut by Associate
  • 450 Views
  • 0 replies
  • 1 kudos

STM8: mistake in Programming Manual?

The PM0044 for the STM8 MCUs explain that data address space is 16MBytes linear. Ok, so why on the page 19 data address to a RAM memory has 16-bit wide (A15...0)?

0690X000006ClXKQA0.png
Arlleex1 by Associate II
  • 518 Views
  • 0 replies
  • 0 kudos

Saving setup of the "Option Byte"

Hi everyone,I have the usual file.s19. I can set the 'Option Byte' up using the opportune tab in 'Cosmic'. Now I need to share my file.s19, but I need to share it with option byte already set up.Is there any way to do that?thanks Antonio

Where is VREFINT_Factory_CONV?

I have STM8L051. In the RMThe internal reference voltage is factory measured and the result of the ADC conversion isstored in a specific data address: the VREFINT_Factory_CONV byte represents the LSB ofthe VREFINT 12-bit ADC conversion result while t...

juvf by Associate II
  • 1405 Views
  • 9 replies
  • 0 kudos

Sawtooth waveform on NRST

I have been using a STM8S105 successfully for a few months and recently, I have been experiencing problems with i/o on UART2. When I eventually probed the NRST pin I noticed that there is a sawtooth waveform on that pin, with no other circuit connect...