SJA1110 SPI_AP interface

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

SJA1110 SPI_AP interface

Jump to solution
4,894 Views
yangjinzhuang
Contributor IV

Hello,

       I see that SJA1110 supports SPI_HOST and SPI_AP access point in the UM11107 software UM for SJA1110.

       My hardware is GLDBOX, it's design is S32G274A---SPI---SJA1110

       I am not sure if I want to use SPI_AP interface, first I select the Pins SPI_HAP_SSx_N to SPI_HAP_SS0; second if I should connect the external controller's SPI_PER to sja1110's SPI_HAP?

       If I use SPI_AP, does SJA1110 can't boot and download image itself? so the external controller must be another SJA1110 and can't be S32J274A, even they have SPI connect? Is my understand right?

       Thank you very much!

     

0 Kudos
Reply
1 Solution
4,830 Views
PavelL
NXP Employee
NXP Employee

Hello @yangjinzhuang ,

you need to say to SDK, how the switchcore can be accessed.

PavelL_0-1730884199563.png

Then internal routines (like SWITCH_DRV_Read) take care of that automatically.

If you are developing firmware for SJA1110's internal M7, SWITCH_CONTROL_INTERNAL shall be set.

If you are developing firmware for SJA1110's internal M7 to access external switchcore (cascaded SJA1110), SWITH_CONTROL_SPI shall be used:

PavelL_1-1730884833620.png

 

I guess it will be about the same if you are developing firmware for S32G to control SJA1110 over SPI. I need to double check it. You have created another thread on that, so I will answer there. Thank you for your patience.

Best regards,

Pavel

View solution in original post

0 Kudos
Reply
8 Replies
4,870 Views
PavelL
NXP Employee
NXP Employee

Hello @yangjinzhuang ,

SJA1110 supports NVM boot from external SPI flash or SDL boot from the host controller,  independently to usage of SPI_AP. Set DIP switch on your board accordingly to AN13185 chapter 3.2.1. You may also refer to UM11107 Software user manual for SJA1110 for more details. Both documents require Sign in.

You need to use SPI_HAP_SS0_N to access all internal registers/settings by SPI_AP.

SJA1110's SPI_PER is mostly used for cascading two SJA1110s.

Best regards,

Pavel

0 Kudos
Reply
4,851 Views
yangjinzhuang
Contributor IV

Hello,

       I still has some question about the SPI_AP:

       1、Does external microcontroller not must be another SJA1110, S32G274A has SPI access also can be the external microcontroller?

      2、On SPI_AP, boot step also load image from SPI flash, run over the init and static config process, etc.  as same as the SPI_HOST mode, then what will the external microcontroller do about the ethernet switch?  

     3、In my understand that the boot and load image will controlled by external microcontroller, SJA1110 only provides ethernet switch to external microcontroller as hardwares

       

0 Kudos
Reply
4,841 Views
PavelL
NXP Employee
NXP Employee

Hello @yangjinzhuang ,

ad 1. External controller can be anyone. I use my laptop & FTDI driver to access my SJA1110 EVM board.

ad 2. Once you load image from SPI FLASH, the external microcontroller is not necessary at all. SJA1110 can work fully autonomously. External microcontroller could monitor traffic, diagnostic registers, ... 

ad 3. SDL boot is also supported option.

Best regards,

Pavel

0 Kudos
Reply
4,859 Views
yangjinzhuang
Contributor IV

Hello,

       Thanks for your reply, from um549820-UM11107 software UM, I got that SPI_HOST and SPI_AP are multiplexed, because SPI_HOST is used to control the processor boot, then if I set SPI_AP and switch is controlled by external microcontroller, so I understand that SPI_AP has an impact on boot step, maybe my understand is not right, so I need your help to confirm.

       1、I see my hardware, the dip switch SW12[1] is on and SW12[2] is off in default, it's boot mode is NVM boot and boot from SPI flash. If I use SPI_AP, then the boot mode as default can also boot success, it will not boot fail because of not SPI_HOST?

       2、About SPI_AP, I can get form UM111107 that two SJA1110, one SJA1110 is controlled by another SJA1110, but I am not sure that: can I use S32G274A as an external microcontroller to control SJA1110 through SPI_AP?In this case NVM boot can still boot success from SPI flash?

    

0 Kudos
Reply
4,838 Views
PavelL
NXP Employee
NXP Employee

Hello @yangjinzhuang ,

Usage of SPI_AP does NOT affect boot from SPI FLASH.

ad 1. After reset, the SJA110 reads pin strapping options and boots from SPI FLASH. Then you can access SPI_AP at your will - reading registers, dynamically changing configuration, ...

ad 2. You can use 32G274A as an external microcontroller to control SJA1110 through SPI_AP. Yes, the NVM boot will still succeeded.

Best regards,

Pavel

0 Kudos
Reply
4,835 Views
yangjinzhuang
Contributor IV

Hello,

        Thank you very much, I am now clearly understand the SPI_AP and boot process.

At last, I am not sure about the SWITCH_CONTROL_INTERNAL and SWITH_CONTROL_SPI mode in SDK,  do I need to config it to SWITH_CONTROL_SPI if I want to work on SPI_AP access, I see it set to SWITCH_CONTROL_INTERNAL as default in SDK.

0 Kudos
Reply
4,831 Views
PavelL
NXP Employee
NXP Employee

Hello @yangjinzhuang ,

you need to say to SDK, how the switchcore can be accessed.

PavelL_0-1730884199563.png

Then internal routines (like SWITCH_DRV_Read) take care of that automatically.

If you are developing firmware for SJA1110's internal M7, SWITCH_CONTROL_INTERNAL shall be set.

If you are developing firmware for SJA1110's internal M7 to access external switchcore (cascaded SJA1110), SWITH_CONTROL_SPI shall be used:

PavelL_1-1730884833620.png

 

I guess it will be about the same if you are developing firmware for S32G to control SJA1110 over SPI. I need to double check it. You have created another thread on that, so I will answer there. Thank you for your patience.

Best regards,

Pavel

0 Kudos
Reply
4,802 Views
yangjinzhuang
Contributor IV

Hello,

       Thank you for your reply, yes, I have asked in another topic "SJA1110 SDK for the hardware GLDBOX". Maybe we can discuss there.

       

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1987814%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1987814%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20see%20that%20SJA1110%20supports%20SPI_HOST%20and%20SPI_AP%20access%20point%20in%20the%20UM11107%20software%20UM%20for%20SJA1110.%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BMy%20hardware%20is%20GLDBOX%2C%20it's%20design%20is%20S32G274A---SPI---SJA1110%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20am%20not%20sure%20if%20I%20want%20to%20use%20SPI_AP%20interface%2C%20first%20I%20select%20the%26nbsp%3BPins%20SPI_HAP_SSx_N%20to%26nbsp%3BSPI_HAP_SS0%3B%20second%20if%20I%20should%20connect%20the%20external%20controller's%20SPI_PER%20to%20sja1110's%20SPI_HAP%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BIf%20I%20use%20SPI_AP%2C%20does%20SJA1110%20can't%20boot%20and%20download%20image%20itself%3F%20so%20the%20external%20controller%20must%20be%20another%20SJA1110%20and%20can't%20be%20S32J274A%2C%20even%20they%20have%20SPI%20connect%3F%20Is%20my%20understand%20right%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThank%20you%20very%20much!%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1989589%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1989589%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThank%20you%20for%20your%20reply%2C%20yes%2C%20I%20have%20asked%20in%20another%20topic%20%22SJA1110%20SDK%20for%20the%20hardware%20GLDBOX%22.%20Maybe%20we%20can%20discuss%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988711%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988711%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F210110%22%20target%3D%22_blank%22%3E%40yangjinzhuang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3Eyou%20need%20to%20say%20to%20SDK%2C%20how%20the%20switchcore%20can%20be%20accessed.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PavelL_0-1730884199563.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PavelL_0-1730884199563.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308891i47A550E653846724%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PavelL_0-1730884199563.png%22%20alt%3D%22PavelL_0-1730884199563.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThen%20internal%20routines%20(like%20SWITCH_DRV_Read)%20take%20care%20of%20that%20automatically.%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20developing%20firmware%20for%20SJA1110's%20internal%20M7%2C%26nbsp%3B%3CSPAN%3ESWITCH_CONTROL_INTERNAL%20shall%20be%20set.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20are%20developing%20firmware%20for%20SJA1110's%20internal%20M7%20to%20access%20external%20switchcore%20(cascaded%20SJA1110)%2C%26nbsp%3BSWITH_CONTROL_SPI%26nbsp%3Bshall%20be%20used%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PavelL_1-1730884833620.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PavelL_1-1730884833620.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308899i36CC577DF236A728%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PavelL_1-1730884833620.png%22%20alt%3D%22PavelL_1-1730884833620.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EI%20guess%20it%20will%20be%20about%20the%20same%20if%20you%20are%20developing%20firmware%20for%20S32G%20to%20control%20SJA1110%20over%20SPI.%20I%20need%20to%20double%20check%20it.%20You%20have%20created%20another%20thread%20on%20that%2C%20so%20I%20will%20answer%20there.%20Thank%20you%20for%20your%20patience.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Thank%20you%20very%20much%2C%20I%20am%20now%20clearly%20understand%20the%20SPI_AP%20and%20boot%20process.%3C%2FP%3E%3CP%3EAt%20last%2C%20I%20am%20not%20sure%20about%20the%20SWITCH_CONTROL_INTERNAL%20and%20SWITH_CONTROL_SPI%20mode%20in%20SDK%2C%26nbsp%3B%20do%20I%20need%20to%20config%20it%20to%26nbsp%3BSWITH_CONTROL_SPI%20if%20I%20want%20to%20work%20on%20SPI_AP%20access%2C%20I%20see%20it%20set%20to%26nbsp%3BSWITCH_CONTROL_INTERNAL%20as%20default%20in%20SDK.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988651%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988651%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F210110%22%20target%3D%22_blank%22%3E%40yangjinzhuang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EUsage%20of%20SPI_AP%20does%20NOT%20affect%20boot%20from%20SPI%20FLASH.%3C%2FP%3E%0A%3CP%3Ead%201.%20After%20reset%2C%20the%20SJA110%20reads%20pin%20strapping%20options%20and%20boots%20from%20SPI%20FLASH.%20Then%20you%20can%20access%20SPI_AP%20at%20your%20will%20-%20reading%20registers%2C%20dynamically%20changing%20configuration%2C%20...%3C%2FP%3E%0A%3CP%3Ead%202.%20You%20can%20use%26nbsp%3B%3CSPAN%3E32G274A%26nbsp%3Bas%20an%20external%20microcontroller%20to%20control%20SJA1110%20through%20SPI_AP.%20Yes%2C%20the%20NVM%20boot%20will%20still%20succeeded.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988639%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988639%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F210110%22%20target%3D%22_blank%22%3E%40yangjinzhuang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3Ead%201.%20External%20controller%20can%20be%20anyone.%20I%20use%20my%20laptop%20%26amp%3B%20FTDI%20driver%20to%20access%20my%20SJA1110%20EVM%20board.%3C%2FP%3E%0A%3CP%3Ead%202.%20Once%20you%20load%20image%20from%20SPI%20FLASH%2C%20the%20external%20microcontroller%20is%20not%20necessary%20at%20all.%20SJA1110%20can%20work%20fully%20autonomously.%20External%20microcontroller%20could%20monitor%20traffic%2C%20diagnostic%20registers%2C%20...%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ead%203.%20SDL%20boot%20is%20also%20supported%20option.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20still%20has%20some%20question%20about%20the%20SPI_AP%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1%E3%80%81Does%20external%20microcontroller%20not%20must%20be%20another%20SJA1110%2C%20S32G274A%20has%20SPI%20access%20also%20can%20be%20the%20external%20microcontroller%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%202%E3%80%81On%20SPI_AP%2C%20boot%20step%20also%20load%20image%20from%20SPI%20flash%2C%20run%20over%20the%20init%20and%20static%20config%20process%2C%20etc.%26nbsp%3B%20as%20same%20as%20the%20SPI_HOST%20mode%2C%20then%20what%20will%20the%20external%20microcontroller%20do%20about%20the%20ethernet%20switch%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B3%E3%80%81In%20my%20understand%20that%20the%20boot%20and%20load%20image%20will%20controlled%20by%20external%20microcontroller%2C%20SJA1110%20only%20provides%20ethernet%20switch%20to%20external%20microcontroller%20as%20hardwares%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThanks%20for%20your%20reply%2C%20from%20um549820-UM11107%20software%20UM%2C%20I%20got%20that%20SPI_HOST%20and%20SPI_AP%20are%20multiplexed%2C%20because%20SPI_HOST%26nbsp%3Bis%20used%20to%20control%20the%20processor%20boot%2C%20then%20if%20I%20set%20SPI_AP%20and%20switch%20is%20controlled%20by%20external%20microcontroller%2C%20so%20I%20understand%20that%20SPI_AP%20has%3CSPAN%3E%26nbsp%3Ban%20impact%20on%20boot%20step%2C%20maybe%20my%20understand%20is%20not%20right%2C%20so%20I%20need%20your%20help%20to%20confirm.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1%E3%80%81I%20see%20my%20hardware%2C%20the%20dip%20switch%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3ESW12%5B1%5D%20is%20on%20and%20SW12%5B2%5D%20is%20off%20in%20default%2C%20it's%20boot%20mode%20is%20NVM%20boot%20and%20boot%20from%20SPI%20flash.%20If%20I%20use%20SPI_AP%2C%20then%20the%20boot%20mode%20as%20default%20can%20also%20boot%20success%2C%20it%20will%20not%20boot%20fail%20because%20of%20not%20SPI_HOST%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B2%E3%80%81About%20SPI_AP%2C%20I%20can%20get%20form%20UM111107%20that%20two%20SJA1110%2C%20one%20SJA1110%20is%20controlled%20by%20another%20SJA1110%2C%20but%20I%20am%20not%20sure%20that%3A%20can%20I%20use%20S32G274A%26nbsp%3Bas%20an%20external%20microcontroller%20to%20control%20SJA1110%20through%20SPI_AP%EF%BC%9FIn%20this%20case%20NVM%20boot%20can%20still%20boot%20success%20from%20SPI%20flash%EF%BC%9F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1987978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SJA1110%20SPI_AP%20interface%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1987978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F210110%22%20target%3D%22_blank%22%3E%40yangjinzhuang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3ESJA1110%20supports%20NVM%20boot%20from%20external%20SPI%20flash%20or%20SDL%20boot%20from%20the%20host%20controller%2C%26nbsp%3B%20independently%20to%20usage%20of%20SPI_AP.%20Set%20DIP%20switch%20on%20your%20board%20accordingly%20to%20AN13185%20chapter%203.2.1.%20You%20may%20also%20refer%20to%26nbsp%3BUM11107%20Software%20user%20manual%20for%20SJA1110%20for%20more%20details.%20Both%20documents%20require%20Sign%20in.%3C%2FP%3E%0A%3CP%3EYou%20need%20to%20use%26nbsp%3BSPI_HAP_SS0_N%20to%20access%20all%20internal%20registers%2Fsettings%20by%20SPI_AP.%3C%2FP%3E%0A%3CP%3ESJA1110's%20SPI_PER%20is%20mostly%20used%20for%20cascading%20two%20SJA1110s.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E