Is it possible to make the five ports of sja1105 work properly through spi only?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Is it possible to make the five ports of sja1105 work properly through spi only?

907 次查看
guohangxiang
Contributor III

Can I configure sja1105 using only the spi interface so that the five ports on sja1105 all work in the mac role and can be connected to each other?

0 项奖励
回复
5 回复数

888 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @guohangxiang 

SJA1105 can be configured only via SPI. Each port can be independently configured to MAC-mode or PHY-mode.

Regards,

Lukas

0 项奖励
回复

863 次查看
guohangxiang
Contributor III

Thanks Reply! In this case, can the five ports of sja1105 forward each other?

0 项奖励
回复

843 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 项奖励
回复

792 次查看
guohangxiang
Contributor III
Thanks Reply! Can you provide an example configuration script that only uses SPI to configure five ports to forward each other without requiring a CPU port? I want to make a cheap switch and use a small mcu to configure the sja1105, and there is no mac or phy interface on this mcu
0 项奖励
回复

763 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

We provide config tool based on python script which can be downloaded from our website.
https://www.nxp.com/webapp/Download?colCode=SJA1105X_CONFIG-GENTOOL&appType=license
And this one for EVB:
https://www.nxp.com/webapp/Download?colCode=SJA1105Q-EVB-CONFIGURATION-TOOLS&appType=license
It includes sample scripts. It’s recommended to follow Application Hints AH1704 for more details:
https://www.nxp.com/webapp/Download?colCode=AH1704
Generated hex file is then loaded to the switch via SPI. You do not need a microcontroller with mac/phy for configuration.
Regards,
Lukas

0 项奖励
回复