Mazda 323f 2003 - cut out/non start - reader735

mazda 323f 1.6 2003 model. just had full service and driving along then car just died. rac breakdown came out and put on diagnostics and said was crankshaft sensor. replaced that part but car still wont fire and rev gauge doesnt move. checked fuses hoses coils and fuel all fine but there is no spark for some reason. any ideas anyone because has confused me???????