Click image to enlarge
Figure 1. Principle of TMR
As the magnetization directions of the pin layer and free layer are parallel, the resistance becomes small and current flows with little resistance. When the magnetization directions of the pin layer and free layer are not parallel, resistance increases which limits current flows.