User Manual

Apollo3 Blue Datasheet
DS-A3-0p9p1 Page 280 of 909 2019 Ambiq Micro, Inc.
All rights reserved.
Flowcontrolmaybeassertedeitherpriortothefirstbytetransfer,whichwilldelay thestartofSCK,or
withineachbytetransferred,whichwillpauseSCKattheendofthatbyte.Theexamplesbelowassume
thatWTFCPOLorRDFCPOLaresetto0.
Figure 38 shows the operation of flow control at the beginning of a write transfer or a normal read
transfer which begins with an offset byte write. Either MISO or IRQ (selected by WTFCIRQ) must be
deassertedlowwithin½oftheSCKperiodafternCEisassertedlowinordertodelay
theclock.SCKwill
continueinitsinactivestateuntilMISOorIRQischangedtotheactivestate,andthenwillbeginnormal
operation.
Figure 39 shows the operation of flow control at the beginning of a raw read transfer. IRQ must be
deassertedlowwithin½oftheSCKperiodafternCE
isassertedlowinordertodelaytheclock.SCKwill
continue in its inactive state until IRQ is changed to the active state, and then will begin normal
operation.
Figure 40shows theoperation offlowcontrolin the middle ofa write transfer. MISO orIRQ must be
deassertedafterthe
leadingedgeofSCKonthe first bit ofthebyte(labelled7)andbeforethefalling
edge of the 7
th
bit of the byte (labelled 1) in order to insure that SCK stops at the end of the byte.
DeassertingMISOorIRQoutsideofthatwindowcanproduceunpredictableresults.SCKwillresumeat
somepointaftertheassertionofMISOorIRQ.
SCK
nCE
MISO/IRQ
MOSI 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4
Figure 38. Flow Control at Beginning of a Write Transfer
Figure 39. Flow Control at Beginning of aRawReadTransfer
SCK
nCE
MISO
MOSI
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4
IRQ