Electronic control system of the braking of a railway vehicle, which includes an emergency braking module and a service braking module each including an electronic architecture arranged to generate a braking pressure value, said electronic architectures being independent and segregated from each other; the service braking module being arranged to receive at least a deceleration or service braking request signal and to generate a respective service braking pressure signal; the emergency braking module being connected to said service braking module through a communication channel for receiving said service braking pressure signal; the emergency braking module being arranged to receive at least one signal indicative of an emergency braking request and to generate a respective intermediate braking pressure signal indicative of an emergency braking (523, 605); characterized by said emergency braking module being arranged to: - generate a braking pressure control signal corresponding to the service braking pressure signal, when the higher among the one or more intermediate braking pressure signals indicative of an emergency braking (523, 605) is lower than a predetermined threshold pressure value; - generate a braking pressure control signal corresponding to the higher among the one or more intermediate braking pressure signals indicative of an emergency braking (523, 605), when the higher among the one or more intermediate signals braking pressure indicative of emergency braking (523, 605) is equal or higher than the predetermined threshold pressure value; and - convert said braking pressure control signal in a braking pressure by controlling an electropneumatic actuator. the service braking module being arranged to receive at least a deceleration or service braking request signal and to generate a respective service braking pressure signal; the emergency braking module being connected to said service braking module through a communication channel for receiving said service braking pressure signal; the emergency braking module being arranged to receive at least one signal indicative of an emergency braking request and to generate a respective intermediate braking pressure signal indicative of an emergency braking (523, 605); characterized by said emergency braking module being arranged to: - generate a braking pressure control signal corresponding to the service braking pressure signal, when the higher among the one or more intermediate braking pressure signals indicative of an emergency braking (523, 605) is lower than a predetermined threshold pressure value; - generate a braking pressure control signal corresponding to the higher among the one or more intermediate braking pressure signals indicative of an emergency braking (523, 605), when the higher among the one or more intermediate signals braking pressure indicative of emergency braking (523, 605) is equal or higher than the predetermined threshold pressure value; and - convert said braking pressure control signal in a braking pressure by controlling an electropneumatic actuator. - generate a braking pressure control signal corresponding to the service braking pressure signal, when the higher among the one or more intermediate braking pressure signals indicative of an emergency braking (523, 605) is lower than a predetermined threshold pressure value; - generate a braking pressure control signal corresponding to the higher among the one or more intermediate braking pressure signals indicative of an emergency braking (523, 605), when the higher among the one or more intermediate signals braking pressure indicative of emergency braking (523, 605) is equal or higher than the predetermined threshold pressure value; and - convert said braking pressure control signal in a braking pressure by controlling an electropneumatic actuator.