Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Hello for a project I will be using Ethernet, CANBus and RS232. Now the maximum frequency for CANBUS is 1 Mbit per seconds, for RS-232 that is 20 k baud and for Ethernet I think it is again 1 Mbit per seconds. So with a MCU that has at least 2 MHz c...
hello,I want to use Flash Loader Demonstrator for complete programmed update of stm8l001j3 device.But Flash Loader Demonstrator tool unrecongnized device.Is there any other way to update the program through the serial port ?
I need to decode ASK/OOK signal, for this aim I need to know the period in microseconds between several edges. I decided to use TIM1 for this purpose, here is my code// Set fCPU = 16MHz CLK_CKDIVR = 0; CLK_PCKENR1 = 0xFF; CLK_PCKENR2 = 0;...
I'm using Comparator 2 on the STM8L151G4 with DAC1 on the inverting input. When the DAC outputs 0V, the current draw during Halt mode is < 1 uA. If the DAC outputs around 0.5V before the program enters Halt mode, the current draw is 80 uA in Halt mo...
I am having an issue with the UART1 communication between two devices (Computer and a STM8S208 board).I implemented software in the computer that writes two bytes length of data to the STM8• the first byte that acts as an identifier;•the second byte ...
Hello guys. I have a general question actually I need suggestions. So I did not want to open a topic for it. I need to make a presentation about a box which will be in some armored vehicle. This box will be like the brain of the vehicle and will cont...
Hello community,after unsoldering the solderbridges of the STM8S-Disco-Board, I try to connect the SWIM to a STM8AF Chip. I read in the manueal, that this is not possible (only for STM8S-Family). But after trying it, I could flas Code on the µC and D...
HelloI'm using an STM8L151F3U6TR. A lot of things are working fine.But the comparator 1 seems not to work.It seems not possible to write its registers.If I execute the following code with debugger, then "dummy" changes from 0xFF to 0x00.I would have ...