Go Down

Topic: using Hardware serial and interrupt together (Read 110 times) previous topic - next topic

raghul

Hi Everyone
 i am trying to use Hardwareserial communication and external interrupt at the same time
whenever i am trying to do this i am losing data i am using pre designed wifi chip it sends serial data continuously to the mc. When ever the interrupt is activated the serial communication no longer works so is there any way where i can make both of them work.
Note:As soon as the board is powered on the interrupts are activated.
        A zero crossing detector 4n35 is used to produce the interrupt
        Serial communication also works continuously   

raghul


Robin2

Without seeing your program how can anyone offer any suggestions?

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

ballscrewbob

In addition to R2's request a schematic may also prove useful.

Bob.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up