STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

code generated by SDCC 3.8.0 not working properly for STM8L162M8

Hi. I'm using an STM8L162 MCU. my application code size is more than 32KB . I am using SDCC 3.8.0 .To resolve memory issue I have switched from SDCC 3.5.0(as It uses 16 bit pointer) to SDCC 3.8.0 .Still facing the issue - Code is compiled successfu...

Naresh by Associate
  • 494 Views
  • 3 replies
  • 0 kudos

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
  • 1335 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
  • 1316 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
  • 3439 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
  • 453 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
  • 369 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
  • 371 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
  • 343 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
  • 498 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
  • 3056 Views
  • 8 replies
  • 0 kudos