sure sounds like a misfire to me, and i thinks thats a misfire code, though dont quote me on it. If you google around youll find bmw code lists, if you cant i have them in a spreadsheet at home, so i can look it up if need be. Misfires happen, your car is likely just fine. A few main culprits could be causing this
Do some forum searching and youll see what the procedure is for finding where the misfire is/ if it "follows" when you swap coil packs. Good luck, I wouldnt freak out these things happen.
E88 FBO N54 Alpinweiss/Coral Red/RB Turbos/Meisterschaft Race/Berk Resonated/Macht Schnell 3"/ER CP/Synapse/VRSF FMIC/FFTEC LPFP/HFS-4 DO Stainless Lines/BMS DCI/BMS Thermostat Delete/Rob Beck PCV Valve + Cap/BMS OCC/PTF E50/ST Coilovers/M3 FCA + Tension Rods/M3 Subframe Bushings/M3 FSB/DINAN Camber Plates/Apex ARC-8/Project Kics/VAC Hubs/Rogue Transmission Mounts/Alpina TCU Flash/Icarbon/Kerscher/BMW Performance