STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to use TIMER 2 as simple counter in STM8S103F3?

Posted on January 14, 2018 at 09:04 Hi All, I am new to STM8S and not yet that good at microcontroller programming in general. I am trying to learn about timers/counters in microcontrollers. I wrote following code to toggle an LED connected...

Junaid PV by Associate II
  • 4074 Views
  • 6 replies
  • 0 kudos

I am using STM8S103F3P6 in my project and am using arduino IDE for programming... I have ST LINK V2 programmer for flashing...while programming am getting the following error

Determine FLASH areaDue to its file extension (or lack thereof), "C:\Users\HARISH~1\AppData\Local\Temp\arduino_build_202135/DigitalInputPullup.ino.hex" is considered as INTEL HEX format!2596 bytes at 0x8000... Tries exceededAn error occurred while up...

HRedd.1 by Associate II
  • 649 Views
  • 0 replies
  • 0 kudos

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
  • 927 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
  • 516 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
  • 627 Views
  • 0 replies
  • 0 kudos