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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

968 Views
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 Kudos
Reply
5 Replies

949 Views
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 Kudos
Reply

924 Views
guohangxiang
Contributor III

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

0 Kudos
Reply

904 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

853 Views
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 Kudos
Reply

824 Views
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 Kudos
Reply