STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

RS232 communication with a terminal using STM8L-DISCOVERY.

Hi,Reference: AN5179 - RS232 communications with a terminal using the STM8 Nucleo-64 boardshttps://www.st.com/resource/en/application_note/dm00513075-rs232-communications-with-a-terminal-using-the-stm8-nucleo64-boards-stmicroelectronics.pdfAN5179 pag...

AA1 by Senior III
  • 547 Views
  • 0 replies
  • 0 kudos

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
  • 514 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
  • 415 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
  • 628 Views
  • 0 replies
  • 0 kudos