I'm looking for microcontroller chip that is more long than wide. It has to have SPI and at least 5 GPIO pins. It could be fast and cheap. It will be my first project with raw microcontroller, so it could be more beginer friendly. I don't know where to look for it, so I'm patiently waiting for all of your suggestions.
Update:
The width must be smaller than 15mm / as small as possible. IO pins must be 3.3V. I'm looking for bare chip to put on pcb. Thanks for all corrections.
ATMEGA328P in a DIP package would satisfy your requirements and you can use the Arduino IDE with it too. It requires the minimum of external components too.
What are your soldering skills like? Are you looking for a bare chip or perhaps a small board with all the components already fitted, tested and ready to go?
BUT I suspect you have additional requirements / constraints that you have yet to share...
With just those requirements, suggest you use an Arduino NANO ~$10.00.
Use it as a daughter card, all necessary components are on the board for you already.
You can get AVR microcontroller chips in surface mount or through-hole DIP package. They meet the simple requirement and they can run 8-10 MHz at 3.3V, maybe get 12 MHz. A surface mount ATmega328P is 7mm x 7mm.
Try microchip dot com for more info.
You can get much less simple, far more powerful microcontrollers for not much more cost.