Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 339043

ATmega is a family in the AVR series of Atmel microcontrollers. It is the main microcontroller of the Arduino prototyping platform. Please specify the specific part number in your question.

-2 votes
1 answer
90 views

Crystal oscillator input power

I have seen many circuits in which they have connected the crystal oscillator with two capacitors as a clock for the microcontroller like atmega 16A. …
kam1212's user avatar
  • 693
-1 votes
1 answer
136 views

Crystal frequency for ATmega16A MCU

I am using a crystal of 16 MHz with an ATmega16A MCU. As it is known that the crystals usually do not give us proper square wave and also the frequency is not that exact. So when I am enabling a 16 MH …
kam1212's user avatar
  • 693
3 votes
4 answers
1k views

Serial communication baud rate issue

I am a bit confused regarding the baud rate of serial communication. Suppose I am sending a value of 198 to the receiver with a baud rate of 9600. At the receiver, the rate is also the same. Thus isn' …
kam1212's user avatar
  • 693
1 vote
1 answer
106 views

Setting external clock in ATmega16A

I am confused about how to configure an ATmega16A microcontroller to use an external clock instead of the internal one. I do not know whether I should set up the last bit as 0 or 1 for CKSEL in cryst …
kam1212's user avatar
  • 693
1 vote
Accepted

Setting external clock in ATmega16A

The last bit of the CKSEL is used to setup the rising time for the clock as shown below from the ATmega16A datasheet. This can be used in the combination with the SUT bits to set up the rising time ac …
kam1212's user avatar
  • 693
0 votes
3 answers
114 views

I2C VS SPI comunication

I have studied the I2C and SPI communication protocols, but one thing has been confusing for me. In the case of the SPI we have shift registers at both ends and with the help of the SPI rising clock e …
kam1212's user avatar
  • 693
2 votes
Accepted

ATmega328P bootloader

There is an error in the datasheet given in the link. The correct datasheet is given, which states that only ATmega48 does not support Read-While-Write. But the ATmega88A/88PA/168A/168PA/328/328P Supp …
kam1212's user avatar
  • 693
1 vote
1 answer
376 views

AVR ATmega328P wrong fuses set

I was programming on the AVR ATmega328P using the USBasp programmer. I uploaded the blink example but the LED was not blinking. Thus I went on changing the fuse bits to the one Arduino has. During thi …
kam1212's user avatar
  • 693
3 votes
Accepted

AVR ATmega328P wrong fuses set

So I found the solution and after that my chip started to work fine, all the fuse bits were back to normal. The technique used was high-voltage parallel programming. I used the Arduino to send signals …
kam1212's user avatar
  • 693
2 votes
2 answers
233 views

ATmega328P bootloader

I have read the complete datasheet of the ATmega328P but have a few confusions regarding the chip. In the datasheet in a section I have found that there is no specific bootloader section and also the …
kam1212's user avatar
  • 693