A qualified charitable distribution (QCD) can only be taken from a traditional or Roth IRA. It cannot be taken from a SEP or SIMPLE-IRA. However, SEPs and SIMPLE-IRAs can be rolled over to an IRA and then QCDs can be taken from the IRA.
On a sale of a principal residence, you may avoid tax under the rules.