PPM stops working after UART setup[SOLVED]


(Daniel kirubakaran) #21

No Bruce I am not using such type of variables.

Well, let me experiment it as you said.
Thank you so much . Your suggestions helped me a lot.


(Daniel kirubakaran) #22

Hello Bruce,

I feel happy to say that my problem with UART has been RESOLVED!

I got an answer from your reply

I just searched in the SoftwareSerial32 isr related to the clues.
I have found noInterrupts(); and Interrupts(); then i just commented those two functions and uploaded the code, Surprisingly my expectations got fulfilled!

Clean and crystal clear output!

0A
$GPGLL,1254.63915,N,07738.45350,E,061642.40,A,A*6C
$GPGGA,061642.60,1254.63912,N,07738.45350,E,1,04,5.06,1062.6,M,-86.5,M,,*4E
$GPGSA,A,3,10,12,24,25,,,,,,,,,7.53,5.06,5.59*LAT:12910652
LONG:77640891
0A
$GPGGA,061642.80,1254.63910,N,07738.45350,E,1,04,5.05,1062.7,M,-86.5,M,,*40
$GPGSA,A,3,10,12,24,25,,,,,,,,,7.53,5.05,5.59*LAT:12910651
LONG:77640891
09
$GPGGA,061643.00,1254.63906,N,07738.45349,E,1,04,5.05,1062.8,M,-86.5,M,,*49
$GPGGA,061643.40,1254.63899,N,07738.45347,E,1,04,5.05,1062.9,M,-86.5,M,,*45
$GPGSA,A,3,10,12,24,25,,,,,,,,,7.53,5.05,5.59*LAT:12910649
LONG:77640891
09
$GPGLL,1254.63899,N,07738.45347,E,061643.40,A,A*6E
$GPGGA,061643.80,1254.63893,N,07738.45346,E,1,04,5.05,1063.0,M,-86.5,M,,*4A
$GPGSA,A,3,10,12,24,25,,,,,,,,,7.53,5.05,5.59*LAT:12910648
LONG:77640891
09
$GPGLL,1254.63893,N,07738.45346,E,061643.80,A,A*69
$GPGGA,061644.00,1254.63888,N,07738.45345,E,1,04,5.05,1063.1,M,-86.5,M,,*4D
$GPGSA,A,3,10,12,24,25,,,,,,,,,7.53,5.05,5.59*LAT:12910648
LONG:77640890

It is running @4800,

I tried with 9600 but it is somewhat ~250us slower , so i sticked with 4800.

Thank you so much!