Will you have a car? I ask, because if you will, you might consider stopping at one or more of the White Towns between Seville & Granada. I stayed a week in a house just outside Iznajar, a lovely little place, and visited a bigger town, Antequera, worth a stop. For a brief stop I'd recommend the smaller town, one of a number in the area, millions of olive trees everywhere. There is no train there although Antequera has a station, but outside the town.
Below the town of Iznajar, beside the lake, is a restaurant you might try for lunch on your way through (if you have a car). They have outdoor seating if the weather is good and is a place we went several times and enjoyed very much. http://www.hoteliznajar.com/