I'm using all IO pins on an ATTiny404.
I've got 6 Pushbutton inputs and 6 PWM outputs.
I've enabled Pullups on all the inputs.
I'm inverting ALL the IO pins (so pushbuttons give '1' when pressed, and PWM's are correct for my H-Bridge controllers)
Everything seems to work, EXCEPT the INVEN setting on PA0. No matter how I set this bit, the input is NOT inverted.
It works, but it's just not inverted.
It seems coincidental that this ONE pin (out of 12) is the only one with a problem, AND this pin also happens to be the /RESET & UPDI programming pin.
Clearly the INVEN on the input is not critical (i can flip it in software), but I just wanted to know if anyone else has seen this issue, and if there is a trick I need to do to fix it.
I've verified that the code is setting all the input pins with the same INVEN/Pullup pattern (0x88)
Thanks
Phil.