manii120
Junior Member level 1
5 microcontrollers communcation using UART.(ATmega32)
Hello friends,
I am trying to communicate 5 micros using UART with 1MHz freq and 2400 baud.
all 5 micros are ATmega32, the problem is there is an never end loop on going in main and i don't want to interrupt it while receiving and transmiting data. and it is working properly when i m doing it with 2 micros.
But now i need to go beyond this and i m using 5 micros. assume 5th micro is master (not defined in codes) sending and receiving data accurately through rest 4 controllers but when those 4 controllers try to transmit data it fails...nothing happens i don't understand why ??
4 micros receiving data and doing action according to received data but unable to transmit data to that 5th micro.
please help me.
Hello friends,
I am trying to communicate 5 micros using UART with 1MHz freq and 2400 baud.
all 5 micros are ATmega32, the problem is there is an never end loop on going in main and i don't want to interrupt it while receiving and transmiting data. and it is working properly when i m doing it with 2 micros.
But now i need to go beyond this and i m using 5 micros. assume 5th micro is master (not defined in codes) sending and receiving data accurately through rest 4 controllers but when those 4 controllers try to transmit data it fails...nothing happens i don't understand why ??
4 micros receiving data and doing action according to received data but unable to transmit data to that 5th micro.
please help me.