I was trying to use USART to communicate between 2 Atmega32 Microcontrollers, But i'm facing some problems like whenever i use 16 mhz crystal it shows excessive CPU usage, and when i use lower internal clock it slow down the transmitting speed . Apart from this i was sending data to another microcontroller and receiving it using timers like every some millisecond but it creates some problem like "UDR read without transmitting" and My main loop function of 2nd microcontroller aint working it stucks at some point. I am so confused whats happening. I just want to know if there is any way possible like whenever i press button data transmits and received without delay and without disturbing main loop cycle.
Joined: Mon. Aug 21, 2017
Posts: 112 View posts
Last Edited: Thu. Sep 7, 2017 - 04:53 AM