Others: hardware and software

Discuss hardware and software design challenges, including NOR flash storage, OTA updates, component ID, and thermal management.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I am trying to develop simple spi communication between 2 stm8s. I am using same files for master and spi with main.c different. Master code compiles successfully with no errors, slave has following error inspite all syntax is proper. Any help?

Compiling main.c...cxstm8 +warn +mods0 +debug -pxp +strict -pp -ps -psa -pu -l -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\Hstm8" -clDebug\ -coDebug\ main.c#error cpstm8 stm8s.h:2525(12) missing ;#error cpstm8 stm8s_gpio.h:68(18) incomplete declar...

Upate.1 by Associate II
  • 1982 Views
  • 2 replies
  • 0 kudos

symbol _GPIO_Init not defined (Debug\main.o )

I tried the example code in this document - dm00405517-getting-started-with-the-stm8s001j3-microcontroller-stmicroelectronics.pdf, the code was://Recommendation for STM8S001J3 firmware AN5047 12/20 Rev 2 /* MAIN.C file */ #include "stm8s.h" #include ...

MQi.1 by Senior II
  • 2314 Views
  • 1 replies
  • 0 kudos

Resolved! Does STUSB4500 support DR_Swap Message?

Hello,When I connect USB-C source power to our device, PD sniffer shows Source:DFP sends DR_Swap message to our device, which has a STUSB4500 PD controller. However, our device(Sink:UDP) always sends Reject command. My questions are:Does STUSB4500 su...

WGao.1 by Associate II
  • 1939 Views
  • 1 replies
  • 0 kudos

I2C SLAVE ISSUE

i2c issuei am using stm8s207m8t6 controller i need 30 slaves and master master side code ok but issue in slave when initilize i2cI2C_Init(300000, 0X30, I2C_DUTYCYCLE_2, I2C_ACK_CURR, I2C_ADDMODE_7BIT, 16);if use 0x30 slave address slave respond. if c...

gm.1 by Associate
  • 961 Views
  • 0 replies
  • 1 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.