Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I had made a circuit which contain relay to power on 12v device, was interfaced by a microcontroller.
It was working fine before 5 days. I mean I was communicating with bluetooth module by an android software ited debugging studio. And then bluetooth was being connected by any other android...
My board only contains microcontroller ic. Is there crystal required on board to program it?
I connected cryatal on osc pins but still I cant communicate with device. I externally powered also but couldn't program it.
Recently I purchased St link v2 programmer online and tried to program my stm8 device but ST Visual Programmer displays an error that please cheak your swim cable connection. I am doing my connection like,
Vdd (IC) -> 5V (ST LINK)
Vss (IC) -> GND (ST LINK)
SWIM (IC) -> SWIM (ST LINK)
NRST (IC)...
Try again by connecting led to pin 27 RD4 because this pin is not multiplexed to any module. By performing this you will be sure about your interrupt program if it's ok or not.
In the debug session when I manually update value of irq23 to 1 in I/O stimulation window, my program counter jumps to @far @interrupt void NonHandledInterrupt (void) and returns to main (). Why does this happens?
When I didn't include stm8s.h file it shown an error prototype missing for rim (); but now after including that file no errors and no warning for build.
But my program counter couldn't jump into isr.
ok. I included stm8s.h and stm8s_conf.h but still PC cant jump in ISR.
And if i want to try IAR workbench for stm8 then from where can i download it? Provide me link for its .crk also?
It shows me an error missing prototypes while I write rim();
I have written code like,
#include <iostm8s103.h>
Void main()
{
PD_DDR=0XFF;
TIM4_PSCR=0X03;
TIM4_ARR=0X02;
TIM4_IER=1;
TIM4_CR1=1;
rim() ;
while(1)
{
}
}
INTERRUPT_HANDLER...
Thank you for help. I tried this one also but couldn't get into is. At building the project it shows me 2 errors.
1) missing )
2) old style argument declaration
I am new to stm8s microcontroller programming but I am well known programmer of pic16 and avr microcontroller. Now a days I am learning the programming of stm8s microcontroller so I have made a program for 8bit timer4 module and tried to simulate using STVD simulator but I couldn't find my...
Yaa that's right.
So how can I apply my direct supply with 50hz frequency?
MY ferrite core has 50 turns in primary and 250 on secondary.
Actually I am working on the high voltage spark igniter project. I found the circuit and got ferrite core transformer for it. But I don't know how this...
Thanks for reply.
I want to know that what should fed into primary of ferrite core transformer?
Can I apply 555 timer generated square wave frequency output in primary ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.