The invention provides a SoC
system-on-
chip and a
peripheral bus switching method thereof, comprising an AHB
bus, an APB
bus, a DSP EMIF interface, a DSP address decoding logic, a data interaction unit, an EMIF-AHB / APB bus
bridge circuit, AHB slave, APB slave, bus switch controller; The DSP address decoding logic transfers the on-
chip access of the DSP to the bus switching controller, the
data exchange unit and the EMIF through the access address of the EMIF interface respectively, and transfers the on-
chip access of the DSP to the bus switching controller, the
data exchange unit and the EMIF-AHB / APB bus
bridge circuit. The invention realizes the
direct communication between the chip and the off-chip RISC processor, and improves the data communication efficiency. Compared with the on-chipperipherals accessed through the data interaction RAM, it has higher access efficiency. At the same time, on-chip processor core and off-chip DSP form a dual-master mechanism of on-chip peripherals, which makes the
system have higher reliability.