Rainbow Electronics 900 User Manual
Page 220

FLYFOT-M260-MODULE
Page: 220 / 239
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
AT+WBM=<BusId>,<Mode>,[<Clock_Speed>],[<Clock_Mode>],
[<ChipSelect>],[<ChipSelectPolarity>],[<LsbFirst>],
[<Gpio ChipSelect>],[<Gpio Handling>]
z
Command Syntax for I2C bus
AT+WBM=<BusId>,<Mode>,[<Scl_Gpio>],[<Sda_Gpio>]
z
Command Syntax for parallel
The parameters depend on ChipSelect configuration :
if CS is Gpio 5 :
AT+WBM=<BusId>,<Mode>,[<Chip_Select>],[<Order>],[<Gpio_NbWaitS tate>]
if CS is LCD_EN
AT+WBM=<BusId>,<Mode>,[<Chip_Select>],[<Order>],
[<LCDEN_AddressSetupTime>],
[<LCDEN_SignalPulseDuration>],
[<LCDEN_PolarityControl>]
Command
Possible responses
AT+WBM=0,1,1,3,1,0,1
OK
Open SPI bus with configuration :
Clock Speed : 812 kHz
Clock Mode : 3
ChipSelect : LCDEN
ChipSelectPolarity : LOW
LsbFirst : MSB
AT+WBM=1,1,0,4
OK
Open I2C Soft bus with configuration :
Scl Gpio : 0
Sda Gpio : 4
AT+WBM=2,1,0,1,10, 31,0
Open PARALLEL bus with configuration :
(on P32X3 product)
ChipSelect : LCDEN
Order: Direct
LcdenAddressSetUpTime: 10
LcdenSignalPulseDuration : 31
PolarityControl : low
OK
AT+WBM=0,2
+WBM: 0,1,1,3,1,0,1,0,0
OK
AT+WBM=1,0
OK