UPDATE 2-China court bans Micron chip sales in patent case - Taiwan's UMC

* Court temporarily bans sales of 26 Micron chips in China -UMC

* Micron says has not been served with the injunction yet

* Shares of Micron, other U.S. chipmakers slide (Recasts; adds UMC share move; changes packaging slug)

TAIPEI, July 4 (Reuters) - A Chinese court has temporarily barred Micron Technology Inc from selling 26 chip products in the mainland in a ruling over a patent infringement case with Taiwan's United Microelectronics Corp (UMC), UMC said.

The ruling, which hit shares of Idaho-based Micron and other U.S. chipmakers on Tuesday, comes amid an escalating trade spat between Washington and Beijing over tariffs.

It also comes as China investigates Micron and its South Korean rivals over price fixing allegations, amid a surge in prices of dynamic random access memory (DRAM) chips.

The Fuzhou Intermediate People's Court issued a preliminary sales injunction against Micron that prevents it from selling the chips, including DRAM chips and NAND flash memory chips, in China, UMC said in a statement late on Tuesday.

Micron, which gets a chunk of its revenues from China, said it had not been served with the injunction and would not comment further until it had reviewed documentation from the Chinese court.

The two chipmakers have been at loggerheads since December when Micron filed a civil lawsuit in the state of California, accusing UMC of secret infringement of intellectual property related to its DRAM chips. In January, UMC filed a patent infringement lawsuit against Micron in China.

Micron shares closed down 5.5 percent at $51.48, while Nvidia finished 2 percent lower. Intel Corp and Broadcom Inc closed down 1 percent.

UMC shares rose more than 3 percent in early trading on Wednesday. (Reporting by Jessica Macy Yu in TAIPEI and Sonam Rai in BENGALURU; Editing by Arun Koyyur and Muralikumar Anantharaman)