STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Any atomic I/O bit access functions for STM8L?

Posted on October 23, 2017 at 21:36I'm looking at file stm8l10x_gpio.c from the 'standard peripheral library'http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm8-embedded-software/stsw-stm8012.html and there doe...

Pavel A. by Super User
  • 2356 Views
  • 12 replies
  • 0 kudos

Resolved! COSMIC Compiler structure initialisation

Posted on June 14, 2017 at 11:58Currently I have an issue when trying to allocate a structure to RAM.The issue I have is that my structure occupies a total of 373 bytes but the compiler/linker is insistent on trying to locate this structure in the z...

Bug in GPIO_WriteBit() function in STM8L Library???

Posted on July 29, 2016 at 18:11I have been using the GPIO_WriteBit() function to set/reset pins, but found it not working. The same function by register worked fine.Example:GPIO_WriteBit(GPIOB, GPIO_Pin_4, RESET); // this does not work!?GPIOB->ODR ...

buzzbuxx by Associate
  • 1035 Views
  • 1 replies
  • 0 kudos

how to write option byte in compile time

Posted on October 13, 2017 at 16:23how to write option byte in compile time.Like when i compiling my code,at that time of compiling, i have to write values in option byte or set read out protection.

saran raj by Associate III
  • 466 Views
  • 1 replies
  • 0 kudos

ST-Link/V2 vs HALT mode

Posted on October 21, 2017 at 19:08Hi to all,the ST-Link / V2 tool (so SWIM interface) is not compatible with the HALT instruction.Therefore, for debugging and / or using STMStudio, I'm forced not to use this functional mode.Is there any solution to...

STM8L

Posted on October 13, 2017 at 09:25I downloaded the STM8CubeMX 1.2.0 update which also adds micro STM8S001J3 and STM8L001J3 to the library.Well, the STM8S001J3 Data Sheet exists but there is no one for the STM8L001J3. Why? Where can I find it?#stm8l...