Anyways, I have the exact same car - 06 325xi. Same issue. How did you guys pull the codes? My cousin has one of those computers (Not a BMW one) and it couldn't find anything. Did you guys take your car to the BMW dealership to get it repaired?
When I had my mechanic look at it, he replaced the Spark plugs and that didn't fix the issue.