STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use Timer in an external interrupt

I have an STM8S00f3p6 controller I was able to do the external interrupt and do the GPIO operations in the interrupt.Now my requirement is like after getting the inerrupt I need to make two GPIOS high for some seconds and make them down after time ex...

Smedi by Associate II
  • 960 Views
  • 2 replies
  • 0 kudos

How to resolve the License Error?

I have downloaded and installed the cosmic(CXSTM8).I have tried to compile the code,but that time I have faced the license error. Please find the attachment .kindly help me out.

MR.2 by Associate II
  • 544 Views
  • 1 replies
  • 0 kudos

STM8S00F3 to read/write I2C device

1. I have to read/write NAU7802 register, datasheet of which is attched.2. STM8S is running at 16Mhz.3. Write three functions:a) i2c_init() : init the i2c peripheralb) i2c_read_one_byte_data() : read from address of NAU7802 and read only one bytec) i...

Can I output the uart tx clock without synchronous mode?

I need a clock signal for my hardware that occurs in the middle of each uart tx bit. But I don't want the synchronous mode behavior where receives are based on transmits. I want receives to start when start bits are received on the uart rx pin, whi...

mchahn by Senior
  • 651 Views
  • 0 replies
  • 0 kudos

Migrating STM8S003F3P6 code to STM8L051F3 not taking place.

HiI need to migrate my working STM8S003F3P6 code (working correctly for a year now) to a new STM8L051F3 chip.(The code is SDCC compiled and bit banged with direct register modification. I do not use the SPL) I run an interrupt at 125Hz on Timer2 in t...

Interrupt Priority Management

Hi ;I am having a confussion on how to set the interrupt priority of a desired peripheral . I am using IAR IDE version 3.11.1 and the MCU is STM8S103F3F6 . I need to know which interrupt table IRQ number I should take account to configure the interr...

BG1 by Senior
  • 497 Views
  • 0 replies
  • 1 kudos