STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SPI reading issues

i have configured the spi in stm8l controller.I have attached the code below:void SetupSPI(){ PB_DDR |= BIT(6) | BIT(5) ; // mosi and sck as output. PB_DDR &= ~BIT(7); // miso as input. PB_CR1 |= BIT(7); PB_CR1 |= BIT(6)| BIT(5) ; // mosi and **** a...

Amal Babu by Associate III
  • 519 Views
  • 5 replies
  • 0 kudos

stvp Batch programming

After stvp loads the stm8s programming code and option byte, the created project file is copied to another computer in the workshop. After the directory file is changed, the .stp file cannot be opened. The reason is that the stvp adds the burning cod...

gjunh by Associate
  • 429 Views
  • 0 replies
  • 0 kudos

Option Byte Programming - Critical

Hi,I am trying to program the option byte in STM8S003 controller. I am able to do the same using STVP tool. It is not a practical method on production, so want to add the option byte config in the source code. for that I added the below code snippet....

Problem with SPI in stm8l152c6

i have configured spi in polling method.I have loaded the data into the transmit buffer and waited for TXE flag to be set.Unfortunately the flag is not being set and what could be the possbile reasons for that?I have attached the code configuration b...

Amal Babu by Associate III
  • 526 Views
  • 4 replies
  • 0 kudos

STM8S003: mistake in the Reference Manual?

Hello!RM on the STM8S003: https://www.st.com/content/ccc/resource/technical/document/reference_manual/9a/1b/85/07/ca/eb/4f/dd/CD00190271.pdf/files/CD00190271.pdf/jcr:content/translations/en.CD00190271.pdfI see on the page 54, FLASH_FPR/NFPR registers...

Arlleex1 by Associate II
  • 350 Views
  • 0 replies
  • 0 kudos

Separating st-link from discovery board

Hello!If I separate stm8svldiscovery from it's stlink, do i need to do anything else, other than solder a 16MHz oscillator on the second part of the board?STM8SVLDISCOVERY board: https://www.st.com/en/evaluation-tools/stm8svldiscovery.htmlI know that...

SK.1.311 by Associate
  • 423 Views
  • 1 replies
  • 0 kudos