An automotive electronic control system for a hybrid or fully electric vehicle ( HV/EV) comprising: - a conventional braking system based on friction bodies to brake the vehicle ( HV/EV) by interaction of the friction bodies in response to operation of a brake pedal or any operationally equivalent control member, - a reversible electric machine operatively coupled to wheels of the vehicle ( HV/EV) and electronically controllable to operate selectively as an electric engine to generate a mechanical power to propel the vehicle ( HV/EV) and as electric generator to convert kinetic energy of the vehicle ( HV/EV) into electrical energy, and - an electrical energy accumulator electrically connected to the electric machine to store the electrical energy generated thereby when it is operated as an electric generator to convert the kinetic energy of the vehicle ( HV/EV) into electrical energy, and to electrically power the electric machine when it is operated as an electric engine to propel the vehicle ( HV/EV); the automotive electronic control system is configured to control operation of the conventional braking system and of the electric machine in response to operation of the brake pedal or any operationally equivalent control member; the automotive electronic control system is further configured to control operation of: - the electric machine to selectively perform one or different functions comprising a regenerative braking, in which the electric machine is operated as an electric generator to recover the kinetic energy of the vehicle ( HV/EV) during braking and convert it into electrical energy, and - the conventional braking system to perform a friction body cleaning function to clean the friction bodies of the conventional braking system, which function comprises assessing advisability of cleaning the friction bodies of the conventional braking system and, if the assessment has a positive outcome, controlling operation of the conventional braking system to clean the friction bodies of the conventional braking system to restore braking performance thereof; the automotive electronic control system is characterized by being configured to assess advisability of cleaning the friction bodies of the conventional braking system based on the number of brakings performed by the conventional braking system counted during a reference time period or starting from a predefined event, in particular a start-up of the vehicle ( HV/EV). - a conventional braking system based on friction bodies to brake the vehicle ( HV/EV) by interaction of the friction bodies in response to operation of a brake pedal or any operationally equivalent control member, - a reversible electric machine operatively coupled to wheels of the vehicle ( HV/EV) and electronically controllable to operate selectively as an electric engine to generate a mechanical power to propel the vehicle ( HV/EV) and as electric generator to convert kinetic energy of the vehicle ( HV/EV) into electrical energy, and - an electrical energy accumulator electrically connected to the electric machine to store the electrical energy generated thereby when it is operated as an electric generator to convert the kinetic energy of the vehicle ( HV/EV) into electrical energy, and to electrically power the electric machine when it is operated as an electric engine to propel the vehicle ( HV/EV); - the electric machine to selectively perform one or different functions comprising a regenerative braking, in which the electric machine is operated as an electric generator to recover the kinetic energy of the vehicle ( HV/EV) during braking and convert it into electrical energy, and - the conventional braking system to perform a friction body cleaning function to clean the friction bodies of the conventional braking system, which function comprises assessing advisability of cleaning the friction bodies of the conventional braking system and, if the assessment has a positive outcome, controlling operation of the conventional braking system to clean the friction bodies of the conventional braking system to restore braking performance thereof;