Is My Obedience Out of True Faith?

Is my faith produced by a real union with Christ and do I obey him out of evangelical obedience, or legal self righteous motives?