AsEurope integrates more renewable energy resources, notably offshore wind power, into its super meshed grid, the demand for reliable long-distance High Voltage Direct Current (HVDC) transmission systems has surged. This paper addresses the intricacies of HVDC systems built upon Modular Multi-Level Converters (MMCs), especially concerning the rapid rise of DC fault currents. We propose a novel fault identification and classification for DC transmission lines only by employing Long Short-Term Memory (LSTM) networks integrated with Discrete Wavelet Transform (DWT) for feature extraction. Our LSTM-based algorithm operates effectively under challenging environmental conditions, ensuring high fault resistance detection. A unique three-level relay system with multiple time windows (1 ms, 1.5 ms, and 2 ms) ensures accurate fault detection over large distances. Bayesian Optimization is employed for hyperparameter tuning, streamlining the model's training process. The study shows that our proposed framework exhibits 100% resilience against external faults and disturbances, achieving an average recognition accuracy rate of 99.04% in diverse testing scenarios. Unlike traditional schemes that rely on multiple manual thresholds, our approach utilizes a single intelligently tuned model to detect faults up to 480 ohms, enhancing the efficiency and robustness of DC grid protection. Keywords High voltage direct current (HVDC), Long short-term-memory (LSTM), Primary protection, DC circuit breaker (DCCB), Discrete wavelet transform (DWT)In recent years, the extensive adoption of renewable power generation in European nations has underscored the need for robust transmission systems 1 . High voltage direct current (HVDC) transmission, renowned for efficiently transmitting power over long distances, emerges as a pivotal technology 2 . HVDC systems offer a practical solution for harnessing wind power from offshore stations to onshore locations. Offshore wind energy transmission to onshore grid stations requires a viable infrastructure using submarine cables and overhead lines, ensuring efficient and reliable transmission. However, the efficacy of such transmission systems, especially those spanning long distances and encountering complex environmental factors, hinges on addressing the high probability of line failures. In the context of mixed lines in transmission systems, achieving precise and prompt fault location becomes imperative. This prerequisite for enhancing the overall reliability of power systems becomes even more critical considering the challenges posed by long-distance transmission and the intricacies introduced by natural environmental factors.