, The data that support the findings of this study are available from the corresponding author, J. Martin, upon reasonable request. Contribution of each author

J. Martin, G. Henrion, P. Brenot, and G. Ezo,

A. , Bastien elaborated the cold-spray coatings

O. , Ferry performed and analysed the X-ray micro-computed tomography measurements

G. Henrion, J. Martin, and V. ,

J. Martin and K. , Akoda performed most of the PEO experiments

J. Martin and K. , Akoda performed all the SEM, XRD and EDX analysis

, All the authors analysed the results and reviewed the manuscript

J. Martin and V. , Ntomprougkidis and A. Maizeray prepared the manuscript J. Martin, G. Henrion , P. Brenot and G. Ezo'o supervised the whole work

. Gh, M. Barati-darband, P. Aliofkhazraei, N. Hamghalam, and . Valizade, Plasma electrolytic oxidation of magnesium and its alloys: Mechanism, properties and applications, J. Magnesium Alloy, vol.5, pp.74-132, 2017.

Y. L. Cheng, J. Cao, M. Mao, H. Xie, and P. Skeldon, Key factors determining the development of two morphologies of plasma electrolytic coatings on an Al-Cu-Li alloy in aluminate electrolytes, Surf. Coat. Technol, vol.291, pp.239-249, 2016.

Y. L. Cheng, J. Cao, Z. Peng, Q. Wang, E. Matykina et al., Wear resistant coatings formed on Zircaloy-2 by plasma electrolytic oxidation in sodium aluminate electrolytes, Electrochim. Acta, vol.116, pp.453-466, 2014.

A. Mathis, E. Rocca, D. Veys-renaux, and J. Tardelli, Electrochemical behaviour of titanium in KOH at high potential, Electrochim. Acta, vol.202, pp.253-261, 2016.
URL : https://hal.archives-ouvertes.fr/hal-01299933

A. L. Yerokhin, X. Nie, A. Leyland, A. Matthews, and S. J. Dowey, Plasma electrolysis for surface engineering, Surf. Coat. Technol, vol.122, pp.73-93, 1999.

P. Gupta, G. Tenhundfeld, E. O. Daigle, and D. Ryabkov, Electrolytic plasma technology: Science and engineering -An overview, Surf. Coat. Technol, vol.201, pp.8746-8760, 2007.

J. A. Curran and T. W. Clyne, Thermo-physical properties of plasma electrolytic oxide coatings on aluminium, Surf. Coat. Technol, vol.199, pp.168-176, 2005.

J. A. Curran, H. Kalkanci, Y. Magurova, and T. W. Clyne, Mullite-rich plasma electrolytic oxide caotings for thermal barrier applications, Surf. Coat. Technol, vol.201, pp.8683-8687, 2007.

E. Matykina, A. Berkani, P. Skeldon, and G. E. Thompson, Real-time imaging of coating growth during plasma electrolytic oxidation of titanium, Electrochim. Acta, vol.53, pp.1987-1994, 2007.

F. Monfort, A. Berkani, E. Matykina, P. Skeldon, G. E. Thompson et al.,

. Shimizu, Development of anodic coatings on aluminium under sparking conditions in silicate electrolyte, Corros. Sci, vol.49, pp.672-693, 2007.

V. Dehnavi, X. Y. Liu, B. L. Luan, D. W. Shoesmith, and S. Rohani, Phase transformation in plasma electrolytic oxidation on 6061 aluminium alloy, vol.251, pp.106-114, 2014.

J. Martin, A. Nominé, V. Ntomprougkidis, S. Migot, S. Bruyère et al., Formation of a mestastable nanostructured mullite during Plasma Electrolytic Oxidation of aluminium in "soft" regime condition, Mater. Design, vol.180, p.107977, 2019.

A. L. Yerokhin, L. O. Snizhko, N. L. Gurevina, A. Leyland, A. Pilkington et al., Discharge characterization in plasma electrolytic oxidation of aluminium, J. Phys. D: Appl. Phys, vol.36, pp.2110-2120, 2003.

R. O. Hussein, X. Nie, D. O. Northwood, A. Yerokhin, and A. Matthews, Spectroscopic study of electrolytic plasma and discharging behaviour during the plasma electrolytic oxidation (PEO) process, J. Phys. D: Appl. Phys, vol.43, p.105203, 2010.

J. Jovovi?, S. Stojadinovi?, N. M. ?i?ovi?, and N. Konjevi?, Spectroscopic study of plasma during electrolytic oxidation of magnesium-and aluminium-alloy, J. Quant. Spectrosc. Rad. Trans, vol.113, pp.1928-1937, 2012.

S. Stojadinovi?, J. Jovovi?, M. Petkovi?, R. Vasili?, and N. Konjevi?, Investigation of plasma electrolytic oxidation on valve metals by means of molecular spectroscopy -a review, RSC Advances, vol.4, pp.25759-25789, 2014.

T. W. Clyne and S. C. Troughton, A review of recent work on discharge characteristics during plasma electrolytic oxidation of various metals, Int. Mater. Rev, vol.64, pp.127-162, 2019.

F. Simchen, M. Sieber, and T. Lampke, Electrolyte influence on ignition of plasma electrolytic oxidation processes on light metals, Surf. Coat. Technol, vol.315, pp.205-213, 2017.

E. Matykina, R. Arrabal, F. Monfort, P. Skeldon, and G. E. Thompson, Incorporation of zirconia into coatings formed by DC plasma electrolytic oxidation of aluminium in nanoparticle suspensions, Appl. Surf. Sci, vol.255, pp.2830-2839, 2008.

X. Lu, M. Mohedano, C. Blawert, E. Matykina, R. Arrabal et al.,

. Zheludkevich, Plasma electrolytic oxidation coatings with particle additions -A review, Surf. Coat. Technol, vol.307, pp.1165-1182, 2016.

B. S. Lou, Y. Y. Lin, C. M. Tseng, Y. C. Lu, J. G. Duh et al., Plasma electrolytic oxidation coatings on AZ31 magnesium alloys with Si3N4 nanoparticles additives, vol.332, pp.358-367, 2017.

X. Tu, C. Miao, Y. Zhang, Y. Xu, and J. Li, Plasma electrolytic oxidation of magnesium alloy AZ31B in electrolyte containing Al2O3 sol as additives, Materials, vol.11, pp.1618-1629, 2018.

J. Martin, A. Melhem, I. Shchedrina, T. Duchanoy, A. Nominé et al., Effects of electrical parameters on plasma electrolytic oxidation of aluminium, Surf. Coat. Technol, vol.221, pp.70-76, 2013.
URL : https://hal.archives-ouvertes.fr/hal-01284934

V. Dehnavi, B. L. Luan, D. W. Shoesmith, X. Y. Liu, and S. Rohani, Effect of duty cycle and applied current frequency on plasma electrolytic oxidation (PEO) coating growth behaviour, Surf. Coat. Technol, vol.226, pp.100-107, 2013.

V. Dehnavi, B. L. Luan, X. Y. Liu, D. W. Shoesmith, and S. Rohani, Correlation between plasma electrolytic oxidation treatment stages and coating microstructure on aluminium under unipolar pulsed DC mode, Surf. Coat. Technol, vol.269, pp.91-99, 2015.

V. Ntomprougkidis, J. Martin, A. Nominé, and G. Henrion, Sequential run of the PEO process with various pulsed bipolar current waveforms, Surf. Coat. Technol, vol.374, pp.713-724, 2019.
URL : https://hal.archives-ouvertes.fr/hal-02182788

F. Jaspard-mecuson, T. Czerwiec, G. Henrion, T. Belmonte, L. Dujardin et al.,

. Beauvir, Tailored aluminium oxide layers by bipolar current adjustment in the Plasma Electrolytic Oxidation (PEO) process, vol.201, pp.8677-8682, 2007.
URL : https://hal.archives-ouvertes.fr/hal-02190561

A. B. Rogov, A. Yerokhin, and A. Matthews, The role of cathodic current in Plasma Electrolytic Oxidation of aluminium: phenomenological concepts of the "soft sparking" mode, Langmuir, vol.33, pp.11059-11069, 2017.

D. S. Tsai, G. W. Chen, and C. C. Chou, Probe the micro arc softening phenomenon with pulse transient analysis in plasma electrolytic oxidation, Surf. Coat. Technol, vol.357, pp.235-243, 2019.

J. Martin, A. Nominé, F. Brochard, J. L. Briançon, C. Noël et al.,

, Delay in micro-discharges appearance during PEO of Al: Evidence of a mechanism of charge accumulation at the electrolyte /oxide interface, Appl. Surf. Sci, vol.410, pp.29-41, 2017.

J. Dou, Y. Chen, H. Yu, and C. Chen, Research status, of magnesium alloys by micro-arc oxidation : A review, Surf. Eng, vol.33, pp.731-738, 2017.

M. Toorani and M. Aliofkhazraei, Review of electrochemical properties of hybrid coating systems on Mg with plasma electrolytic oxidation process as pretreatment, Surf. Interface, vol.14, pp.262-295, 2019.

U. Malayoglu, K. C. Tekin, and S. Shrestha, Influence of post-treatment on the corrosion resistance of PEO coated AM50B and AM60B Mg alloys, Surf. Coat. Technol, vol.205, pp.1793-1798, 2010.

M. Sun, A. Matthews, and A. Yerokhin, Plasma electrolytic oxidation coatings on cp-Mg with cerium nitrate and benzotriazole immersion post-treatments, Surf. Coat. Technol, vol.344, pp.330-341, 2018.

M. Mohedano, C. Blawert, and M. L. Zheludkevich, Cerium-based sealing of PEO coated AM50 magnesium alloy, Surf. Coat. Technol, vol.269, pp.145-154, 2015.

M. Paunovic and M. Schlesinger, Fundamentals of Electro-chemical Deposition, 1998.

L. Rama-krishna, G. Poshal, A. Jyothirmayi, and G. Sundararajan, Compositionaly modulated CGDS + MAO duplex coatings for corrosion protection of AZ91 magnesium alloy, J. Alloys Comp, vol.578, pp.355-361, 2013.

O. Tazegul, F. Muhaffel, O. Meydanoglu, M. Baydogan, E. Sabri-kayali et al., Wear and corrosion characteristics of novel alumina coatings produced by micro arc oxidation on AZ91D magnesium alloy, Surf. Coat. Technol, vol.258, pp.168-173, 2014.

V. Champagne and D. Helfritch, The unique abilities of cold spray deposition, Int. Mater. Rev, vol.61, pp.437-455, 2016.

A. Moridi, S. M. Hassani-gangaraj, M. Guagliano, and M. Dao, Cold spray coating : review of material systems and future perspectives, Surf. Eng, vol.30, pp.369-395, 2014.

M. R. Rokni, S. R. Nutt, C. A. Widener, V. K. Champagne, and R. H. Hrabe, Review of relationship between particle deformation coating microstructure, and properties in high pressure cold spray, J. Therm. Spray Technol, vol.26, pp.1308-1355, 2017.