- This topic has 3 replies, 2 voices, and was last updated 11 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › PROBLEM IN RECEIVING DATA FROM AVR IN LAPTOP
Hi anybody
I have problem in receving data from Atmega16 to my laptop. I just receive 0. I am useing FT232rl for communication between MCU and USB port. I am naive and i need to do it as soon as possible due to doing my M.S.c project.
PLEASE HELP ME
Hi Arash,
Please post your code, may be we can find some bug in it.
Thanks Alfred for your attention.
I have used AVRCodevision for preparation of my code. I choose 16MHz for CPU clock, a range between 600 to 57600 for baudrate, and official datasheet of my MCU (atmega16A) for transmit data code printF(x) in various source codes. I could see the output of TXD port on oscilloscope but nothing have been transmitting to computer. I have used Matlab, Simulink , and realterm for data capturing in laptop.
Hi Arash,
Reduce the baud rate to 9600 and try again. Make sure that you are keeping the baud rate, no. start bits, no. stop bits, no. data bits etc same on both the sides. Better you first try with the hyperterminal first then go for matlab and all those.