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?
SJA1105 can be configured only via SPI. Each port can be independently configured to MAC-mode or PHY-mode.
Regards,
Lukas
Thanks Reply! In this case, can the five ports of sja1105 forward each other?
I think that this answers the question:
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