Working out correct calculations for resistance from different data sheets

Driving a 8 ohm speaker directly from a output pin will damage the pin. Adding series resistance will protect the output pin but waste audio power leaving little left over for the speaker. So find a higher impedeance speaker or do what most do and add an external audio amp stage.

Lefty