  One of the most debated issues about sub-mJy radio sources, which areresponsible for the steepening of the 1.4 GHz source counts, is the origin oftheir radio emission. Particularly interesting is the possibility of combiningradio spectral index information with other observational properties to assesswhether the sources are triggered by star formation or nuclear activity. Theaim of this work is to study the optical and near infrared properties of acomplete sample of 131 radio sources with S>0.4 mJy, observed at both 1.4 and 5GHz as part of the ATESP radio survey. We use deep multi-colour (UBVRIJK)images, mostly taken in the framework of the ESO Deep Public Survey, tooptically identify and derive photometric redshifts for the ATESP radiosources. Deep optical coverage and extensive colour information are availablefor 3/4 of the region covered by the radio sample. Typical depths of the imagesare U~25, B~26, V~25.4, R~25.5, I~24.3, 19.5<K_s<20.2, J<22.2. Optical/nearinfrared counterparts are found for ~78% (66/85) of the radio sources in theregion covered by the deep multi-colour imaging, and for 56 of these reliableestimates of the redshift and type are derived. We find that many of thesources with flat radio spectra are characterised by high radio-to-opticalratios (R>1000), typical of classical powerful radio galaxies and quasars.Flat-spectrum sources with low R values are preferentially identified withearly type galaxies, where the radio emission is most probably triggered bylow-luminosity active galactic nuclei. Considering both early type galaxies andquasars as sources with an active nucleus, such sources largely dominate oursample (78%). Flat-spectrum sources associated with early type galaxies arequite compact (d<10-30 kpc), suggesting core-dominated radio emission.
We use deep multi-colour (UBVRIJK) images, mostly taken in the framework of the ESO Deep Public Survey, to optically identify and derive photometric redshifts for the ATESP radio sources. Deep optical coverage and extensive colour information are available for 3/4 of the region covered by the radio sample. Typical depths of the images are U~25, B~26, V~25.4, R~25.5, I~24.3, 19.5<K_s<20.2, J<22.2.