I'd seriously recommend the Cuisinart Elite Die-Cast Mini Prep, 4-Cup processor. It's a great multi-purpose tool with both a chop and grind function. You can use it like a regular food processor for smaller quantities of vegetables, meats, etc, and also as a grinder for spices, nuts, etc. You can also use it to puree sauces, soups, etc.
Cuisinart makes 2 models. One with a durable plastic housing, and another with a die cast metal housing, which is the one I have and recommend. Depending upon the retailer, it runs about $10 more than the plastic housing. Most retailers such as
Amazon, BB&B, etc, sell only the model a\with the plastic housing for around $50-$55. Williams-Sonoma sells both models and the die cast model is $65. They currently have a promotion with 15% off, which brings it to $55. Shipping is free.
Per Wade's comment, the unit does well with all spices including ones such as star anise, cinnamon stick, and nutmeg. It' best to pulse the harder ones 3-4 times before going to full grind.