How to choose the correct ARM chip and understanding the pins at a more intuitive level?
My only suggestion is try and find an existing board that does what you want, and see what hardware they use. If the design and firmware is open source, then you have your solution with a bit of hacking. In my experience the hardest part is programming the pins and on-chip peripherals