Hi,
I got a little question about the number of instructions that microcontrollers can perform per second under different circumstances. How do I determine it? I'm a bit confused.
The obvious answer that comes to my mind is that it is the maximum frequency that the microcontroller is working at: ATmega 328 at 20MHz gives 20MIPS. It's the perfect case, but what happens if I supply it per say not with 5V but 3V? Thankfully, 328's data sheet specifies its performance at different input voltages. Ok. But then, on SPI the best frequency one gets from 328 is half of the initial oscillator frequency, and if the 328 is configured as slave, it's only working at a quarter of the initial frequency.
Now, this is ATmega 328. It's used everywhere, its data sheet is as full as it can be.
And then I look into SAM D21. And I'm trying to figure out it's general IPS rate, its performance on SPI, etc., but I cannot. Either I'm bad at understanding the data sheet, or it's not there. Probably the first one.
Still though: SAM D21's got a 48MHz oscillator. Does it mean that it can perform 48MIPS? How does it's performance change once it becomes a slave? Or once the power supply gets lower?
Please enlighten me!
Here are the data sheets for SAM D21:
SAM D21 datasheet summary
SAM D21 datasheet
ATmega 328 datasheet
I got a little question about the number of instructions that microcontrollers can perform per second under different circumstances. How do I determine it? I'm a bit confused.
The obvious answer that comes to my mind is that it is the maximum frequency that the microcontroller is working at: ATmega 328 at 20MHz gives 20MIPS. It's the perfect case, but what happens if I supply it per say not with 5V but 3V? Thankfully, 328's data sheet specifies its performance at different input voltages. Ok. But then, on SPI the best frequency one gets from 328 is half of the initial oscillator frequency, and if the 328 is configured as slave, it's only working at a quarter of the initial frequency.
Now, this is ATmega 328. It's used everywhere, its data sheet is as full as it can be.
And then I look into SAM D21. And I'm trying to figure out it's general IPS rate, its performance on SPI, etc., but I cannot. Either I'm bad at understanding the data sheet, or it's not there. Probably the first one.
Still though: SAM D21's got a 48MHz oscillator. Does it mean that it can perform 48MIPS? How does it's performance change once it becomes a slave? Or once the power supply gets lower?
Please enlighten me!
Here are the data sheets for SAM D21:
SAM D21 datasheet summary
SAM D21 datasheet
ATmega 328 datasheet