Others: hardware and software

Discuss hardware and software design challenges, including NOR flash storage, OTA updates, component ID, and thermal management.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

inline assembler query _asm

char shiftdata=8;shiftdata=_asm("rlc a",shiftdata).I am trying to rotate left through carry value 8, expecting output of 16. When I debug the code, I am getting shiftdata value as zero, instead of 16.Can you help me with this?

NA.5 by Associate
  • 867 Views
  • 0 replies
  • 0 kudos

Ctrl+space is not working on STVD

I am using STVD and Cosmic Compiler and after add some #include files, the "Control + space" stop working. It doesn´t find the SPL (StdPeriph_Lib) function anymore. Hope anyone to solve this problem. Thanks

DMarq.9 by Associate
  • 1155 Views
  • 1 replies
  • 1 kudos

I can not uncomment line in stm8s.h error: "Please select first the target STM8S/A device used in your application (in stm8s.h file)"

hi,I installed STVD and Cosmic C mopiler. I downloaded SPL from ST website.created first project.installed SPL soruce files and include files.I will uncomment line #define STM8S003 (line49) but compiler gives error."Please select first the target ST...

sözbe.1 by Associate II
  • 3252 Views
  • 3 replies
  • 0 kudos

STM8S: TIM5-PWM frequency and duty cycle measure.

I am trying to measure the frequency and duty cycle of a PWM input on TIM5 channel 1. My frequency is being measured correctly but the duty cycle is not. GPIO_Init(GPIOD, GPIO_PIN_4, GPIO_MODE_IN_FL_NO_IT); //PWM inputI am using the 16MHz HSI clock ...

JRing.2 by Associate II
  • 2299 Views
  • 4 replies
  • 0 kudos

M95M01 读状�?寄存器问题

“在写周期中,连续读�?� WIP �?�?许检测设备何时准备好 (WIP=0) 以解�?新命令。�?在使用此�?�指令�?��?读状�?功能,一直接收�?到回�?的数�?�。请问是怎么回事啊,是读的指令�?��?的格�?�?对�?�?程�?就�?��?了一个字节 0x05

Wlei.1 by Associate
  • 702 Views
  • 0 replies
  • 0 kudos