Credit Suisse said late on Tuesday it was in advanced talks over a settlement to a U.S. investigation into payments made between 2002 and 2007 involving countries and entities hit by U.S. economic sanctions .