We study the temporal and spatial evolution of magnetic field parameters, and multi-wavelength observations of the AR 11226 and AR 11261, observed during 02-09 June 2011 and 31 July to 06 August 2011 respectively, to probe the origin of the associated solar energetic particles (SEPs). The magnetic-field toplogy of both ARs shows complex magnetic structure of β and βγ configuration. The X-ray observations by GOES and RHESSI reveal that the AR 11226 as well as AR 11261 has been most turbulent to produce flares accompanying CMEs and SEPs. We restrict our study of magnetic field evolution of ARs to helio-longitudes E20-W70. The AR 11226 produced 28 flares (⩾ GOES C-class) and 8 CMEs as well as 5 SEPs. On the other hand, the AR 11261 produced 29 flares (⩾ GOES C class), 8 CMEs as well as 5 SEPs. We study the temporal evolution of magnetic field parameters viz. gradient, shear, rotation to probe the origin of the energy release in the flare and associated CME and SEP. We do not find convincing relationship in view of predicting SEPs.