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

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
  • 1257 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 II
  • 1264 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
  • 1265 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 II
  • 1552 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 II
  • 1051 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
  • 984 Views
  • 4 replies
  • 1 kudos

Assistance to get STEVAL-SPIN3204 EVALUATION BOARD RUNNING

I need some help with getting started with the ST motor control system. I have the STEVAL-SPIN3204 evaluation board. I have gone through the instruction manual and getting-started guides but these are not helping.I installed the ST X-CUBE-MCSDK as in...

SPada.1 by Associate
  • 782 Views
  • 0 replies
  • 0 kudos