PreviousNext
Prebonded memory compare
Help > Peripherals > FRC > Embedded FRC Commands > Prebonded memory compare

FRC_PrebondedMemoryCompare2B = 0x05

 

Collects bits. It returns information whether 2 bytes read from the specified memory address of the prebonded [N] after a provided DPA Request is executed satisfy the specified condition. Similarly to Prebonded memory read plus 1 this command must be also run after Prebonded alive was executed.

 

Returned FRC value bits:

bit.0

bit.1

Description

0

0

The [N] device did not respond to the FRC command at all.

1

0

The condition was not met.

0

1

The condition was met.

1

1

The FRC command is not supported because of the older DPA version.


Make sure to always execute
Prebonded alive FRC just before this FRC command in case the network might contain [Ns] with the older DPA version to ensure the returned FRC bits is 0b11. Otherwise, the return value is not defined.

 

FRC user data has the following format:

0

1

3

4 … 5

6 … n

NodeSeed

0

Flags

Value

MemoryRead

 

NodeSeed      Please see the same field at Prebonded memory read plus 1.

Flags              bit.0        Specifies the condition between 2 bytes provided by DPA Request at the specified address and Value field.

  0: 2 bytes must equal the 2 bytes of the Value field.

1: 2 bytes (unsigned integer) must be greater than or equal to the 2 bytes of the Value field.

bits.1-7   Reserved.

Value              Specify 2 bytes value that is compared with the 2 bytes provided by the DPA Request.

MemoryRead  Please see the same field at Prebonded memory read plus 1.