Helpful Information
 
 
Category: Embedded Programming
SiLabs 8051 crossbar priority change

hello, Im using SiLabs C8051F569 (40 pin package)
I wanted to ask if there is a possability to change the priority order of the crossbar.
currently SPI has higher priority than SMBus.
I need to configure P0.1 & P0.2 to work with SMBus and P3.0-P3.3 to work with SPI.

If I enable SMBus in the XBR0 register (SMB0E=1)
afterwords:
skip all the rest of the bits:
P0SKIP=0x3F,*P1SKIP=0xFF,*P2SKIP=0xFF

afterwards:
enable the SPI in the XBR0 (SPI0E=1), does that changes the order of the assigment mentioned before and resulting my desired pin assigment?

Thank you,
Amit










privacy (GDPR)