ATmega169 Puzzle



Well a few days ago I was having trouble setting up a simple spi interface.
Whenever I would try to lower the chip select lines of my devices the 169
would try it and then give up and reset itself.

I finally figured out that the problem was the pin I was trying to use. I
was using PINB0 and PINB4 as chip select lines. B4 was the one giving me
trouble so I switched it to B5 and the problem was solved. Now I'm
noticing that PINB6 does the same thing.

What is going on here???
.



Relevant Pages

  • Re: adding USB Flash feature to existing product (Vinculum? experience?)
    ... and because the SPI interface would allow it to bolt on. ... SRAM-like) which would would not allow retrofit but would give more flexibility and hopefully be cheaper and faster. ... Anyone have experience of this approach with suggestions for a host controller chip and the difficulty of driving it? ... The current SD Card incarnation can do file copy at ~70Kbyte/sec. ...
    (comp.arch.embedded)
  • Re: STA013 problem
    ... I can recognize the chip by retrieving the chip ID. ... This part doesn't have an SPI interface. ... > Could anyone give me some hints? ... The audio data? ...
    (sci.electronics.design)
  • Re: is it possible to interface SPI to serial?
    ... Right now I'm just planning on putting a ... > microcontroller that has both a uart and an spi interface between the ... > computer and the chip - but are there any more elegant solutions? ... It is also possible to bit-bang the status lines of the serial port. ...
    (sci.electronics.design)
  • Re: STA013 problem
    ... Unless I don't get it - that's not what I call an SPI interface. ... All the serial formats are a bit quirky. ... > The I2C interface is indeed OK as it returns correct chip ID, ...
    (sci.electronics.design)
  • is it possible to interface SPI to serial?
    ... Hi - I'm looking to connect an RF chip with an SPI interface ... computer through the serial port. ... Right now I'm just planning on putting a ...
    (sci.electronics.design)