LowPowerLab Forum

Hardware support => Moteino => Topic started by: back2live on August 31, 2016, 02:50:12 AM

Title: Problem with Flash-Select PB0 in Bootloader
Post by: back2live on August 31, 2016, 02:50:12 AM
Hello,

I have a own build Moteino R4. i use the code from Weathershield.

i have a Problem with the CS pin to the Flash. PB0

After a "cold boot"-poweron  the CS state to the Flash on the moteino is set to Input, not to Output and high. Is that normal?
When i do a reset "warmboot" of the 328p the D8 (PB0) is high so the Flash is unselected.

I found this when i mesured the current of the board.

My workaround at the moment is i set in the weaterhsheld code D8 (PB0) to high manualy.

Andy
Title: Re: Problem with Flash-Select PB0 in Bootloader
Post by: Felix on August 31, 2016, 07:40:03 PM
You mean you built your own Moteino-R4?
The power-on reset default state of any pin is INPUTS. That means high-Z floating inputs, so cannot assert either a LOW or a HIGH.