Am 15.05.2012 02:35, schrieb tomdean:
I have several ET-Base ATmega 128 boards that behave strangely on power cycle or reset.

On random trials, the device will not restart. Frequently, this alternates Ok, fail, Ok, fail...



I know that Problem. this happens, wehn you don't programm the AVR's SS pin as an output before initing the SPI-Interface. If SS is programmed as input while SPI is on, it will automatically send the SPI-Interface to slave mode when a high to low transition occurs. You must set SS as output before configuring the SPI!

Best Regards,
Peter


_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to