Discussion in "AVR Discussion Forum" started by    Ajay    Aug 18, 2007.
Sun Jan 06 2008, 05:22 pm
#21
In I2C Bit rate is not specific. The clock is controlled by master so it can be anything depending on speed of master controller. However maximum speed is always specified in data sheets. For DS1307 its 400kbps i think but still check its data sheet once and configure your controller accordingly.
 circuitfreak like this.
Sun Jan 06 2008, 07:44 pm
#22
Ajay please edit UART tutorial ( c program)
UBRRL shoud be equall to 0x19 for baud rate 9600:-|
u wrote by mistake 0x17;
void serial_init(){
UCSRA=0x00;
UCSRB=0x18;
UCSRC=0x86;
UBRRH=0x00;
UBRRL=0x19;
}
Sun Jan 06 2008, 07:57 pm
#23
ok!! my mistake.. but how i made that mistake

edit:
mistake rectified..


[ Edited Sun Jan 06 2008, 08:02 pm ]
Wed Feb 06 2008, 06:07 pm
#24
hi guys. i am trying to start prjcts with my atmega162.
i started with the step by step tutorial, but the links isn't working
has any 1 similar problem..
Wed Feb 06 2008, 10:39 pm
#25
link not working? can you post the link here?
Fri Feb 22 2008, 06:43 pm
#26
hi ajay i want to use SPI. i have some doubts. please give me simple example how to do that in ATMEGA32.


[ Edited Wed Jul 16 2008, 01:15 pm ]
Fri Feb 22 2008, 11:41 pm
#27
will give code examples only with tutorial. So please wait till i write for SPI (not SPm i think). I will try to write it soon.

if you have written your own code then you can open up a new thread and ask your doubt i will help u out.


[ Edited Fri Feb 22 2008, 11:43 pm ]
Wed Feb 27 2008, 11:45 am
#28
any tutorial for codevision....... :-s
Wed Feb 27 2008, 11:56 am
#29
code vision is not free.. i am putting stress on free compilers, so everyone can afford to learn.
Wed Jul 16 2008, 01:14 pm
#30
Hi Ajay I am using I2C but i cannt get the exact clock speed. Crystal Osc=8Mhz and I2C bus Speed 100Khz, what is the Bitrate value?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am
ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm