This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

atmel

how 2 intialize at89c51ed2 for spi communication with ds1306?

Parents
  • "Have you noticed the widespread of C based delay loops..."

    Unfortunately, I don't think it's just teachers who are to blame for this.

    There are a number of manufacturer examples that do the very same thing. I've certainly seen ST and PIC code that contains it.

    When I was getting my (precious few) qualifications, I was frequently told by the lecturers that we shouldn't concern ourselves with code efficiency because "tomorrows processors will be faster".

    At the time I thought that was b#@@sh1t - And I still do!

Reply
  • "Have you noticed the widespread of C based delay loops..."

    Unfortunately, I don't think it's just teachers who are to blame for this.

    There are a number of manufacturer examples that do the very same thing. I've certainly seen ST and PIC code that contains it.

    When I was getting my (precious few) qualifications, I was frequently told by the lecturers that we shouldn't concern ourselves with code efficiency because "tomorrows processors will be faster".

    At the time I thought that was b#@@sh1t - And I still do!

Children
  • When I was getting my (precious few) qualifications, I was frequently told by the lecturers that we shouldn't concern ourselves with code efficiency because "tomorrows processors will be faster".

    At the time I thought that was b#@@sh1t - And I still do!
    1) I agree this is male cow manure
    2) you did not mention that when "tomorrows processors" are inserted the delay loops will be faster too, OOPS

    Erik

  • but they will also be given more to do - so there is no end to the challenge of fitting everything the customer wants into the resources that he's prepared to pay for...

  • Another factor is that more and more equipment will be driven on batteries at the same time as they are expected to be smaller and smaller.

    Not needing the extra speed of that new processor, and instead downclocking it or putting it to sleep means the battery can be smaller, or the unit can run a longer time.

    Isn't it enough that Windows and a lot of application developers increases the power consumption of our PC:s with 20-100W just because they like nice graphic screen savers and requires everything to be animated?

    I recently noticed that some of my Blu-ray disks overrides the players "screen saver" which means that the player will consume a lot more power, and - even more importantly - will not power down itself and the projector if the movie is left on pause too long...

  • Isn't it enough that Windows and a lot of application developers increases the power consumption of our PC:s with 20-100W just because they like nice graphic screen savers and requires everything to be animated?
    the real point is that while everybody is on the butt of Dell et al to make "green machines" nobody is on Microsofts butt because Hasta la Vista requires a twice as powerful (twice as power hungry) PC for the same performance.

    Erik

  • Some people should maybe kick Intel too - they have many, many releases that gulps huge amounts of power.

    When they released the 8W Atom processor, they combined it with a chipset eating more than 20W, so many reviews erroneously discusses the "processor fan" when looking at the chipset HSF.