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
  • 3159 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
  • 491 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
  • 703 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
  • 344 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...