STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I use STM8L152 in my product. VLCD is connected to external pull-up 3.3V. If uart communication occur, VLCD is pulled down to low level. I short connect VLCD and PD1 and set VSEL to 1 then use PD1 to detect the falling edge. Is there any potential risk?

Since I short connect VLCD and PD1, when there is uart communication, there will be communication waveform like below on VLCD pin, will this affect MCU work?  I set VSEL to 1(External source) by the code below in MCU initialization CLK_Peripheral...

0693W00000FBZzuQAH.png 0693W00000FBa38QAD.png
GLau.1 by Associate
  • 392 Views
  • 0 replies
  • 0 kudos

STM8AF5288: Program stops in Block write to flash

Hello,I try to write into program flash in block write. Therefore I have a functionwhich is executed from RAM:void ram_flash_write_block(uint32_t startaddress, const uint8_t *buf) { uint16_t i = 0; // enable flash block write FLASH->CR2 = FLASH...

DNeum.1 by Associate II
  • 276 Views
  • 0 replies
  • 0 kudos

Read Access to flash beyond address 0x10000

Hello,I try to read from user flash. Everything is fine until I try to read from address beyond 0x10000. Then I get random values. I use SDCC (3.8.0 and 4.1.0, the behaviour is the same). My device is STM8AF5288 which has 64 KB of flash memory. A pro...

DNeum.1 by Associate II
  • 433 Views
  • 0 replies
  • 0 kudos

STLink V1 -mass storage disable

Per corporate policy, USB Mass Storage devices are DISABLED on our corporate laptops. There is no means to get around it, these are the rules.Im Working on Stm8l_discovery boad with on board debugger, for debugging it need USB Mass storage ,How to d...

SKira.1 by Associate II
  • 655 Views
  • 1 replies
  • 0 kudos

How do we program STM8AF EVK board?

Hi team,we are plan to use STM8AF board. Whether it is support internal programmer or else we need to purchase separate programmer. please confirm it Thanks Manjunatha

Mk.5 by Associate
  • 360 Views
  • 1 replies
  • 0 kudos