mg84fl54 Megawin Technology, mg84fl54 Datasheet - Page 63

no-image

mg84fl54

Manufacturer Part Number
mg84fl54
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
16.1. Typical SPI Configurations
16.1.1. Single Master & Single Slave
For the master: can use any port pin, including P2.4 (/SS), to drive the /SS pin of the slave.
For the slave: SSIG is ‘0’, and /SS pin is used to select the slave.
Fig 16-2 Single Master & Slave
16.1.2. Dual Device, where either can be a Master or a Slave
Two devices are connected to each other and either device can be a master or a slave. When no SPI operation
is occurring, both can be configured as masters with MSTR=1, SSIG=0 and P2.4 (/SS) configured in quasi-
bidirectional mode. When any device initiates a transfer, it can configure P2.4 as an output and drive it low to
force a “mode change to slave” in the other device.
Fig 16-3 Dual Device
MEGAWIN
Master/Slave
Master
SPICLK
Port Pin
SPICLK
MISO
MOSI
MISO
MOSI
SS
MG84FL54B Data sheet
SPICLK
SPICLK
MISO
MOSI
MISO
MOSI
SS
SS
Slave/Master
Slave
63

Related parts for mg84fl54