Just as you mention antiparallel diodes could be a good protection I would also suggest a simple RC filter in order to avoid noise.
Have a nice day,
Perla Moncada
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------