STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Pins on STM8S001J3 no ouput...

I tried this code on STM8S001J3 with 8 pins:/* MAIN.C file * * Copyright (c) 2002-2005 STMicroelectronics */ //#include “stm8s.h�?   /*main() { while (1); } */   #include "STM8S.h" void clock_setup(void); void GPIO_setup(void); void TIM1_setu...

MQi.1 by Senior II
  • 410 Views
  • 3 replies
  • 0 kudos

I am trying to implement simple spi communication between 2 stm8s. Sending 0x04( address of pin2) and passing the received data as argument to GPIO high .Slave code is txe is not becoming 1 and program stuck there.

I am trying to implement simple spi communication between 2 stm8s. Sending 0x04( address of pin2) and passing the received data as argument to GPIO high function so that LED connected at PORT D PIN 2 will glow. Master code is working properly, degugg...

Upate.1 by Associate II
  • 665 Views
  • 4 replies
  • 0 kudos

STM8L101F3U6ATR MCU example code size

Hello Community,I am new to STM8. I have used STM32 Cube IDE. I want to check the code size of the GPIO example for STM8L101F3U6ATR MCU.I can not find example codes in STM32 cube mx.Can anyone please tell me the approx size of GPIO example.Thanks,Hir...