STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S103 using GPIOB4 as normal GPIO

Hi all.I tried to use GPIOB4 as output but failed.But it works as I2C ​SCL so I guess the chip ok.I cant find alternate function for it.Someone please help me.​

DSmit.5 by Associate II
  • 744 Views
  • 5 replies
  • 0 kudos

STM8L050J3 wfe() wakeup using TIM2 timer.

Good morning. I've been trying for a while to put the MCU in low power with the wfe() instruction and wake it up with TIME2 but the MCU gets stuck in wfe() and doesn't wake up. With the debugger active it seems to work even if it doesn't respect the ...

GBran.2 by Associate II
  • 689 Views
  • 4 replies
  • 0 kudos

Any tips to solve this APPCRASH ntdll.dll error?

Hello,Problem opening the Programmer, I can't click on the Integrated Circuit icon.The error occurs almost always, eventually when reinstalling, once or twice the programmer window opens correctly. After giving this error, it does not open again and ...

0693W00000bhCskQAE.png

Using Interrupts with Cosmic on STM8AF5288

Just changing over to the STM8 using STVD and Cosmic.I have converted an existing project over to the new chip and compiler and have a clean compile of all the modules. The Linker is complaining that #error clnk Debug\5971.lkf:1 @svlreg missing for ...

BCowa by Associate II
  • 602 Views
  • 1 replies
  • 0 kudos

STM8S003 vs ES7P003

Hello,​W1209 W1219 W3230 boards and several others of Chinese origin are usually equipped with STM8S003. But I got a board with ES7P003FGTF.​It looks like a PIC inside the body of an STM8. Programming system uses Data and Clock, and no capacitor pi...

0693W00000bhQrZQAU.jpg 0693W00000bhQrPQAU.png

Resolved! STM8S105C4, are nested interrupts recommended for TIM4 and UART2?

Hello, I am new to ITC. I use a the TIM4 interrupt as a 10ms time base, using a callback function for the SPL interrupt handler INTERRUPT_HANDLER(TIM4_UPD_OVF_IRQHandler, 23).The callback transmits a UART2 packet to an external device and then waits ...

Kmax18 by Senior
  • 619 Views
  • 2 replies
  • 0 kudos

STM8L DMA and ADC out of sync?

I have STM8LDiscovery (with STM8L152C6T6 CPU). I need to continuously read 2 ADC channels with writing the data to the memory.I'm doing my project in IAR EW for STM8 v. 3.11.4.I run into the problem: channels data (ADC_DATA) continuously exchanging t...

rmatveev by Associate II
  • 603 Views
  • 3 replies
  • 0 kudos

Resolved! STM8 UART2, Adding a parity bit to UART packet

I am attempting to configure the UART2 peripheral of the STM8S105C4 MCU with an even parity control using this development environment: ST Visual Develop, ST Visual Programmer, STM8 Cosmic compiler, Library: STM8 Standard Peripheral Library (SPL).Pro...

0693W00000bhF8OQAU.png
Kmax18 by Senior
  • 848 Views
  • 2 replies
  • 2 kudos

Resolved! STM8S105C4T6, inverting the UART2_TX signal

I need an active high UART signal. Yes, the STM8S UART2_TX signal is active, but for hardware reasons I must invert the active low PCB output (UART2_TX). An easy solution would be a programmable STM8S feature to invert the signal. The reference manua...

Kmax18 by Senior
  • 483 Views
  • 3 replies
  • 1 kudos

Resolved! Who can help me choose a model?STM8 series

The following features require in the microcontroller Flash memory size 4k maxData RAM size 256 bytesEEPROM size 64 bytesTwo 16-bits timersI2C protocol supported External clock supported20 GPIOIf third timer can operate on 32 768 KHz External crystal...

by Not applicable
  • 520 Views
  • 4 replies
  • 1 kudos