2 Samuel 24:1 v.s. 1 Chronicles 21:1
Both describe the same situation, but one verse talks about the anger of HaShem to be kindled against Israel, while the other one talks about 'satan'. When comparing both verses one seems to add to the other; so my question is if the verse of 2 Samuel 24:1 could be explained as follow: Because the anger of HaShem was kindled against Israël, it moved (triggered; yarat) David to act opposing (as a adversary; Satan) to G'ds will and take a census. Later he regrets this choice of listening to this inner voice that said: "Go, take a census of Yisrael and Yehudah". Or should it be understand that the anger of HaShem caused the people to trigger David to count?
Are there any commentaries on these two verses which shows a comparable view or different view how to understand both verses together?