Super set of ATMega328P-PU available?

Go To Last Post
67 posts / 0 new

Pages

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

does studio know if you are connected to an old mega48 that supports full swing vs a newer on that does not? 

Do they have different signature?  (answer is yes) Remember that the PB versions are somewhat different, so if you stick to the "normal" P version all is well.

 

Just changed to the PB version on Studio and the full swing more is not present. As I said "Yep! Just open your fuse settings and see."  wink

 

downloaded all the '168 & also'328 datasheets.

Just don't confuse the usual P or PA versions with the new PB versions, NOT THE SAME.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:

Here is a sheet from old freaks posting listing the chips affected, at least back in 2015

 

https://media.digikey.com/pdf/PCNs/Atmel/WC154601.pdf

 

Interesting to learn from this document (page 2) they have some of their chips made by Panasonic!!!

 

Weird. That document does not list the 328P-PU (ie the DIP version) as being affected by the loss of the full swing fuse and I've just confirmed that with a factory fresh (date code 1724) chip it is indeed still present.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use the Arduino IDE to do all my work (including C and Assembler learning)  So the software screen shots I see here are Greek to me.  I don;t have any "screen shots" thus..  I will have to research it more throughly.

I am a new AVR programmer. I am learning alone out of books, the Internet, etc. Please excuse me if I ask simple questions. Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In the old days chips like mega16 and mega32 had a separate fuse called CKOPT to switch the crystal drive circuit from low power to "full swing" with the advice that it should be enabled for 8MHz and above. So while these "modern" chips don't seem to have that separate fuse the implication would seem to be that if you plan to use 8MHz+ then you should choose (more power hungry) "full swing" to guarantee that the crystal drive starts resonance.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson: Thank you... Isn't this done automatically in the Arduino IDE so beginners like me need not concern ourselves with it? If not: then i need to figure out how to do it in the Arduino IDE

I am a new AVR programmer. I am learning alone out of books, the Internet, etc. Please excuse me if I ask simple questions. Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have no idea. I assume the Arduino designers have made sensible choices for fuses in boards.txt. Of course that file is "open" so you can check yourself. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am gonna look into it. Thank you again!   I am still learning and there is ALOT I have to cover. Thank you all for the help!!

I am a new AVR programmer. I am learning alone out of books, the Internet, etc. Please excuse me if I ask simple questions. Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That document does not list the 328P-PU (ie the DIP version) as being affected by the loss of the full swing fuse

Why should it be affected? It not a PB version, just a P version.

 

I'm sure many manufactures would not appreciate changing anything in a chip that has been produced for many years and possibly running the chip at 18.4320MHz or 20MHz.

 

It's a different story with a NEW PB version of the chip, your product will have to be designed and certified to match what the NEW chip does.

 

You can't simply drop in a PB version of the chip on a board that was designed for a P or PA version in some cases.

 

 

edit Oh and I'm not going to mention anything about the dumbing down of society by the "baby talk for potheads" system.....devil

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

Last Edited: Sun. Oct 15, 2017 - 08:40 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I wonder if Atmel Studio 7 will keep the full swing option in the choices of clocks when setting the fuse, or will we be able to go merrily along choosing the full swing option and then have the chip brick on us.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi John:

 

Why should it be affected? It not a PB version, just a P version.

 

Maybe we missed something during the Atmel cruise to Microchip Land where, according to this document

https://media.digikey.com/pdf/PCNs/Atmel/WC154601.pdf

 

various chips including plain versions, A's,  P's , PA's, and V's in the 48/88/168/328 family were changed to eliminate the full-swing option:

New die revision changes:

• Full swing crystal oscillator not supported

• Power Save mode current consumption increased (ATmega48P, ATmega88P, ATmega168P)

 

There is no mention therein at all of any 'PB chips (which probably arrived later without the full swing option in the first place).

So it would seem a tad strange that out of all of these, the dip version didn't get the axe-full swing.

Not sure where the next cruise will take us.

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

John: 

 

js wrote:
Oh and I'm not going to mention anything about the dumbing down of society by the "baby talk for potheads" system.....

 

If you are talking about what I think you are talking about then I agree with you 100%!  As someone with no education in the subject, I don't NEED to learn assember, C and how the 328P chip works...My Arduino code works just fine.   I choose to learn for the sheer joy and satisfaction of learning yet something else I know next to nothing about... as opposed to watching the "Walking Dead" or some other BS on the boob tube.

 

So I am making mistakes, I am asking stupid (novice) questions. But I am trying to learn and be more than what I am. Sadly the same is not true of most of Western Society today. Bust the excuse abound of course.

 

And that is why kids from certain Asian nations are beating our assess academically in almost every field.  The idea of learning for its own sake and not for how much extra $$ it can give us is concidered idiotic and futile by many in society.  Its an attitude shift I have seen in my lifetime that is disturbing. 

 

 

I am a new AVR programmer. I am learning alone out of books, the Internet, etc. Please excuse me if I ask simple questions. Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So I must have missed something here! blush It does say "Full swing crystal oscillator not supported" but also says " Power Save mode current consumption increased" so maybe the fuse is just a dummy bit now bit and the oscillator is an improved??? version that operates as good as the full swing mode raising the current consumption?

 

I would be pretty annoyed if all of a sudden my boards no longer worked as well as the units that may have gone trough tests and certifications, fortunately I don't have anything like that. The board using a M88 and being certified all run at 8MHz.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So I must have missed something here

There was a big bru-ha-ha about 2 years ago, when it was "not announced" that many of the chips would have the full swing mode eliminated.   Did that change propagate into any smart handling within studio was my question- ---(not likely). 

Not sure if the datasheets mentioning this are even correct any more!

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There was a big bru-ha-ha about 2 years ago,

Ohh I see, by then I had already reached the stage of

 

 

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brian Fairchild wrote:

avrcandies wrote:

Here is a sheet from old freaks posting listing the chips affected, at least back in 2015

 

https://media.digikey.com/pdf/PCNs/Atmel/WC154601.pdf

 

Interesting to learn from this document (page 2) they have some of their chips made by Panasonic!!!

 

Weird. That document does not list the 328P-PU (ie the DIP version) as being affected by the loss of the full swing fuse and I've just confirmed that with a factory fresh (date code 1724) chip it is indeed still present.

 

 

Ah-ha.

 

I thought we'd been here before...

 

https://www.avrfreaks.net/forum/s...

 

alohre wrote:

Hi,

no need to worry, revision K that you are referring to was not released to production due to among other things the errata on the full swing oscillator and the write delay for the NVM. Rev K will be pulled from the datasheet ASAP. 

 

 

 

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So after all the dust has settled & the erroneous datasheets tossed in the trashbin, which parts (a complete list) lack the full swing mode?

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Pages