how to make shift bits (asm STVD) , example: 1<<0|1<<3|1<<4
Posted on July 31, 2013 at 21:45example: ld A, 1<<0|1<<3|1<<4it isn't compiled as it is correct to make record for the STVD assembler?
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Posted on July 31, 2013 at 21:45example: ld A, 1<<0|1<<3|1<<4it isn't compiled as it is correct to make record for the STVD assembler?
Posted on July 18, 2013 at 15:34I have domnloaded the free Cosmic Compiler STM8 32K and installed it. My AVG Antivirus program reports a trojan horse ''FakeAlert.NT'' in the file cvdwarf.exe (used in the Cosmic software). Have anybody experienced th...
Posted on July 23, 2013 at 10:24Hi all,I had good experiences on STM32F4 peripherals, but I'm new to ST 8 bits family, so I'd like your feedback and help to match a good MCU at lower cost possible, and that could match that features :- 3.3V operatio...
Posted on July 23, 2013 at 00:08I use the STM8L152M8 to drive a complex LCD. In the datasheet (Doc ID 17943 Rev 5), page 35, it is written: for PIN 52...56 (PF4...7): LCD_SEG36...39. In the reference manual (Doc ID 15226 Rev 10), page 267, ''the SE...
Posted on July 15, 2013 at 16:48 I want to send below command with i2c but i cant do it. I use stm8s105c6 and i can send one data each start with i2c.
Posted on June 03, 2013 at 15:44Hello,I am actually working on a project based on the Touch RC Acquisition.I have downloaded the example from the ST website, but I didn't understand why the acquisition pin is wired on Timer 1 while according the STM...
Posted on June 30, 2013 at 13:07Can anyone help with some code to use the RTC clock as a clock. I'm using the STM8L-Discovery board and not sure how to set the chips registers and to set / read time to the LCD display. I just need a 'hello world' pr...
Posted on May 03, 2013 at 14:36Hi ,I am a new user of STM8. In my project I am using Active/halt mode an it wakes up with RTC Wakeup operation. My problem is, it is always waking up same times. it's equal to 3ms. I want update auto wake up times. I...
Posted on May 07, 2013 at 14:58I am using the STM8L151C6T6. I would like to route PD6 to TIM1 Input Capture IC2. The following code executes but does not change the RI_ICR1 register value and the routing does not take place either. GPIO_Init(POR...
Posted on December 21, 2012 at 04:11I am using COSMIC compiler in STVD. I try to define segment option -ck for all program and constant. I can use Project Settings->Linker->Input->Segment/Section to add option for all .const and .text. But the in...