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

STM8S001J3M enter SWIM mode problem

Hello,I want to program the device using SWIM interface, The host is FPGA, but the device can't response successfully.When I reset the SWIM, the return value is wrong, and write SWIM_CSR could not successfully.I attach the wave form picture, please h...

XLi.3 by Associate II
  • 1781 Views
  • 4 replies
  • 0 kudos

Can I swap TX & RX USART1 STM8L152

Hi Everyone,I have an issue with USART1 where my board designer mixed up the TX and RX pins going to an external module. Is there any way to swap them in software? I've had a look though the reference manual and seen the remapping feature but its not...

TConl.1 by Associate II
  • 1676 Views
  • 3 replies
  • 0 kudos

Resolved! Can i program other STM8 chips with a STM8L152R8T6 Nucleo-64 board?

I know you can with the 32 bit nucleo boards but is it possible with the STM8L152R8T6 Nucleo-64 board? My feeling is no because the SWIM protocol requires VDD, SWIO,GND and RESET pins which i cant see anywhere in the ST-link section of the STM8L152R8...

TConl.1 by Associate II
  • 4306 Views
  • 7 replies
  • 0 kudos

How to handle interrupt on any GPIOs on STM8L152C6?

Hi,I am using user key and three more keys to do some work.Can you please guide me how to assign for the interrupt handler function for particular interrupt on a GPIO?e.g. I couldn't understand:What does the numbers like 8, 9, 10, 11 ect represents i...

AKUMA.2 by Associate II
  • 565 Views
  • 0 replies
  • 0 kudos

Changing ADC to channel that is not configured by option byte.

Hello,Currently I am programming STM8AF5288.With option byte OPT2.AFR5 the AIN3, AIN2, AIN1 and AIN0 can be remapped to the correct port.Do I need to check if this bit is set correctly before I change the ADC channel to one of those AINx?What will be...

Birdo by Associate II
  • 493 Views
  • 0 replies
  • 0 kudos

Unable to read and configure checksum generation for STM8AF6269

I have to generate check sum for Hex file that is having size approximately up to 52 K,I done the checksum generation settings in IAR EW STM8 as below:Fill pattern: 0xFF (can be any pattern)Start address: 0x0 (adjust to your application)End address: ...

AGupt.7 by Associate
  • 491 Views
  • 0 replies
  • 0 kudos

How to generate binary using STVD/Cosmic?

I don't see any options in STVD or any tools provided by Cosmic to convert the output file to a raw binary. Does this toolchain provide anything or will I need to use an external tool?

Konami by Senior II
  • 517 Views
  • 2 replies
  • 0 kudos

timer1 Interrupt Is not generating

I am using stm8s105c6 discovery board. I want to generate timer 1 interrupt and toggle led. But I am not able to generate timer interrupt.void delay_cycles(uint16_t cy){  do{    --cy;  }while(cy);} //void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void) void TI...

Ajadh.1 by Associate II
  • 663 Views
  • 1 replies
  • 0 kudos

Problem with Compiling SPL library files in STVD

Hello Everyone,actually iam new these STM8 microcontrollers and i have been trying the basic peripherals, in that process i have started with UART and i tried to compile all the Standard SPL library files and having this error please help me-PFA-Than...

0693W000008wyBbQAI.jpg
RRaje.1 by Associate II
  • 4061 Views
  • 8 replies
  • 0 kudos

stm8l price increase

The stm8l price is going up quickly​So the developers are looking for another chip..​​When will the stm8l price stabilize as before?

SSHIN.11 by Associate II
  • 873 Views
  • 2 replies
  • 0 kudos