Rainbow Electronics MG260 User Manual

Page 224

Advertising
background image

FLYFOT-MG260-MODULE

Page: 224 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

Close I2C bus.

AT+WBM=1,2

+WBM: 0,0,0,4

OK

AT+WBM=1,1

OK

Open I2C Soft bus with the last

configuration :

Scl Gpio : 0

Sda Gpio : 4

AT+WBM = 1,2

+WBM: 1,1,0,4

OK

Defined values

<BusId>

0 : SPI bus.
1 : I2C bus.
2 : Parallel bus.

<Mode>

0 : close bus.
1 : open bus.
2 : get bus status.

<Clock Mode>

0 : rest state is 0, the data is valid on rising edge (default value).
1 : rest state is 0, the data is valid on falling edge.
2 : rest state is 1, the data is valid on rising edge.
3 : rest state is 1, the data is valid on falling edge.

<ChipSelect> (default 0)

<ChipSelectPolarity>

0 : LOW (Chip select signal is valid on low state). (Default value).
1 : HIGH (Chip select signal is valid on high state)

<LsbFirst>

Advertising