Type in the full discussion title or a part of it.
Discussion Title Created date
Variable lifetime across functions
This is probably a fairly basic C question, but so far I've not found an answer to it and I'm relearning C after having not touched it for 20 or so years.    The code I'...
Mon. Mar 26, 2018 - 05:53 PM
Atmel Studio 7 - Not optimizing away variables during simulation
I am running Atmel Studio 7 with pretty much default settings   Is there a way to turn off optimizing away variables when doing a simulation?  For example, suppose I...
Mon. Mar 12, 2018 - 01:38 PM
Function calls and optimizations in avr-gcc
I'm very new to embedded programming, and been doing lots of reading on the subject.  Much to my surprised, I've recently heardthat a С function call requires quite a few...
Sat. Mar 10, 2018 - 04:33 PM
ATMEGA328P timer power consumption question
I was reading the datasheet and found something that seems odd.  Section 34.1.3, Supply Current of IO Modules, had the power usage of the various.  Timer 0 us...
Wed. Mar 7, 2018 - 07:58 PM
Generating a bit-stream?
Most (all?) serial protocols require the uC to generate a bitstream of data.  the AVR chips obviously have that capacity built into the hardware as part of i2c, spi, usart,...
Mon. Feb 19, 2018 - 02:27 PM
Idiot check on baisc ATmega328P wiring
I've used pre-made Arduinos, and built up breadboard board versions from kits, but I've never built a circuit for a uC completely from scratch.  The next project calls for...
Sat. Feb 3, 2018 - 09:53 PM
ATmega reset pin protection diode
Some of the application notes (AVR40, AN2519) discuss the use of a diode for input protection of the reset pin.  Whether such a diode is necessary or not has been discussed...
Thu. Feb 1, 2018 - 03:17 PM
Crystal oscillator questions on the ATmega328P
Section 13.3 of the ATmega328P datasheet, "Low Power Crystal Oscillator", states "It gives the lowest power consumption, but is not capable of driving other clock inputs..."...
Thu. Feb 1, 2018 - 05:06 AM
Preprocesser computation
So this is probably a really basic C question, but it's been a few decades since my last C class.   I have some values used in my code that are the results of formulas....
Tue. Jan 23, 2018 - 01:52 PM
Simulator and external events
Brand new to AS7.  Started playing with the simulator for the first time, and ran into this: my code uses i2c/twi.  In my specific example, it starts an i2c...
Fri. Jan 19, 2018 - 04:47 PM
Displaying registers during simulation
Brand new to AS7, and just tried using the simulator for the first time (ATMega328P).  Works quite well, but I'm wondering - is there any way to display the registers, and...
Fri. Jan 19, 2018 - 04:43 PM
Help with i2c/twi using Peter Fleury's library
Starting a new thread since the new question really isn't the same as the old one.   I have an Arduino Pro Mini (Atmega328p, 3v3, 8MHz) connected to an Si5351b clock chip....
Sun. Jan 14, 2018 - 02:51 AM

Pages