Doubts in AVR tutorial
Sun Jan 06 2008, 05:22 pm
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
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;
}
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
ok!! my mistake.. but how i made that mistake
edit:
mistake rectified..
edit:
mistake rectified..
[ Edited Sun Jan 06 2008, 08:02 pm ]
Wed Feb 06 2008, 06:07 pm
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..
i started with the step by step tutorial, but the links isn't working
has any 1 similar problem..
Fri Feb 22 2008, 06:43 pm
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
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.
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:56 am
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
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?
Powered by e107 Forum System