STM8s003F3_I2c not working
Hey,i didnot find any AFR4 in option byte to set PB4-SCL and PB5-SDA of STM8s003F3. Can st will help how to enable it for I2c hardware peripheral.?
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Hey,i didnot find any AFR4 in option byte to set PB4-SCL and PB5-SDA of STM8s003F3. Can st will help how to enable it for I2c hardware peripheral.?
I have experience with PIC and AVR microcontrollers, but they lack the good debug features of the STM8 series. Furthermore, these microcontrollers aren't cheap. While looking for simple and inexpensive chips, I keep coming across the STM8 series.Mast...
Hi, I am trying to use timer1 as a delay timer , but I cannot seam to get the timer working, what am I doing wrong? following is the code for testing timer1 with overflow Interrupt. #include "iostm8s003.h"#include <stdint.h>/* ===================== ...
Hallo.I want to measure a pwm-signal (period 20ms, Puls 1,5ms +- 0,5ms)I made a assembler program to capture the positive and negative transitions of the signal according the RefManual RM0016, Rev14, page 170.I tried various versions but the negative...
HelloI have a few questions about the EEPROM organization & specific corner cases of using with respect to programming manual.1) What is the exact organization of EEPROM? It is clear that it can be written with 1 byte, 4 bytes (word) and 128 bytes (p...
HelloThe link provided on this solution is brokenST Visual Developer says ''out of memory'' and cra... - STMicroelectronics CommunityMy tool is crashing every time I open Tool->ProgrammerAlso tools are greyed in MCU selectionI'm testing on Nucleo boa...
If an symbol not defined, the compiler does not give any error, only the linker.Unfortunately it cannot say in which c source line is the undefined symbol, only the obj. file name.The only way is to select/copy and search for the text, which is many ...
I have the following issue: When the clock security system detects a clock fault on the HSE (running at 16 MHz), the controller sometimes resets with an illegal opcode as the reset cause, even though the deglitch filter is enabled.I couldn’t find any...
hello , i have an issue regarding stvp . before i used stvp on windows 7 and everything was working fine , but now i made an upgrade on windows 10 and it stops working. the error is ,,Cannot comunicate with the device .Check the swim cable .....'' If...
#include "stm8l15x.h" #include "stm8l15x_i2c.h" #include "stm8l15x_clk.h" #include "stm8l15x_conf.h" #define I2C_SPEED 100000 // 100kHz #define SLAVE_ADDR 0x27 void I2C_Config(void); void I2C_SendChar(uint8_t slave_addr, char ch); int main(v...