I would use a mortar and pestle. Depending on your electric spice grinder, the seeds might fly around and not grind at all, depending on the amount you try to grind. The smaller the amount, the more likely this will happen.