3 defined values, 45 flyfot bus write +wbw, 1 description – Rainbow Electronics 900 User Manual

Page 218: 2 syntax, 45 flyfot, Write

Advertising
background image

FLYFOT-M260-MODULE

Page: 218 / 239

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

Command

Possible responses

AT+WBR=0,9,”ABFF”,”C9” Note : Read 9 bytes
from the SPI bus, after having sent the 0xC9 Opcode
byte and ABFF Address.

+WBR: 0A5F98231012345678 OK

AT+WBR=1,5,”2A”

+WBR: 0102030405

Note : Read 5 bytes from the I2C Soft bus,

OK

at the 0x2A slave address.

AT+WBR=2,2,0

+WBR: A000

Read 2 bytes from the Parallel bus with the

OK

A2 pin set to 0.

18.44.3 Defined values

< BusId >

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

<Size>
Size of data to read, in bytes (max 256 bytes).

18.45 FLYFOT Bus Write +WBW

18.45.1 Description

This specific command allows to write a buffer on a specific bus (SPI, I2C soft or parallel).
Note : Bus configuration is set by the +WBM command.

18.45.2 Syntax

Command syntax: AT+WBW=<BusId>,<Size>[,<Address>]<CR>

<Data Buffer> <ctrl-Z >

Command

Possible responses

AT+WBW=0,10<CR>

OK

0123456789ABCDEF0123<ctrl-Z>

Note : Data buffer is written on SPI bus.

Note : Write 10 bytes on the SPI bus.

AT+WBW=1,5<CR>

OK

0246801234<ctrl-Z>

Note : Data buffer is written on I2C Soft

Note : Write 5 bytes on the I2C Soft bus.

bus.

Advertising