In 2009, the Russian Complex Orbital Observations Near-Earth of Activity of the Sun (CORONAS-Photon) spacecraft was launched, carrying the Polish Solar PHotometer In X-rays (SphinX). The SphinX was most sensitive in the spectral range 1.2 - 15 keV, thus an excellent opportunity appeared for comparison with the low-energy end of Ramaty High Energy Solar Spectroscopic Imager (RHESSI) spectra. Common spectral measurements with these instruments cover the range where most of the flare energy is accumulated. We have chosen four consecutive small solar events observed on 4 July 2009 at 13:43 UT, 13:48 UT, 13:52 UT, and 13:55 UT (RHESSI flare peak times) and used them to compare the data and results from the two instruments. Moreover, we included Geostationary Operational Environmental Satellite (GOES) records in our analysis. In practice, the range of comparison performed for SphinX and RHESSI is limited roughly to 3 - 6 keV. RHESSI fluxes measured with a use of one, four, and nine detectors in the 3 - 4 keV energy band agree with SphinX measurements. However, we observed that SphinX spectral irradiances are three times higher than those of RHESSI in the 4 - 6 keV energy band. This effect contributes to the difference in obtained emission measures, but the derived temperatures of plasma components are similar. RHESSI spectra were fitted using a model with two thermal components. We have found that the RHESSI hot component is in agreement with GOES, and the RHESSI hotter component fits the SphinX flaring component well. Moreover, we calculated the so-called thermodynamic measure and the total thermal energy content in the four microflares that we studied. The results obtained show that SphinX is a very sensitive complementary observatory for RHESSI and GOES.