Thank you everyone for your valuable concern.
Exactly according to Tahmid, I'm doing so on real hardware. But it is not working. Actually during simulation, i receive a message [AVR USART] RX frame error even thought the LEDs get high and I have a doubt if there is any problem with the frame format.
And for ths sriblue7's recommendation, i tried doing so by defining 12MHZ crystal, as i'm using it on hardware too. Also, I've set fuse bits as CKOPT=0 CKSEL3..1=110 during burning process. But it didn't work out on real scenario. Is there any setting that i can't ignore besides these.
And i totally agree with the
bigdogguru's statement about numerous differences between a simulation and real hardware, and I've a strong intuition about that kind of error on my case. I've connected current limiting resistors on the real scenario for protection. I'm extremely sorry that i haven't updated my hardware with the motors since the test with the LEDs is not working out, so the above fig is almost equivalent to my current hardware configurations. I'm not catching the error since several days. Is there any mistake in defining the frame format and can you please help me to find out every considerations about frame format. I guess that might be my error since i get '[AVR USART] RX frame error' message during simulation.
Thank you so much everyone for your helpful information
, i felt like i've got experienced and helpful hands to overcome my difficulties.
- - - Updated - - -