AMB8426-M_8626-M_MA_EN_V2_4
Page 13 of 48
Released: Nov.2013
Format:
0xFF
0x09
< nr. of bytes + 2 > < address > < nr. of bytes > < parameter > < CS >
Return:
0xFF
0x89
0x01 < status > < CS >
Status:
0x00: success
0x01: verification failed
0x02: invalid memory position or invalid number of bytes to be written
(write access to unauthorised location)
Example 1:
Change adding of block 1 (
MBUS_Bl_ADD_Disable
; according to Table 4, memory
position 0x30):
0xFF
0x09
0x03 0x30 0x01 < parameter value > < CS >
Example 2:
Setting the 3 registers for the baud rate configuration (UART_MCTL, UART_BR0, and
UART_BR1). According to Table 4, UART_BR0 has the memory position 0x02h:
0xFF
0x09
0x05 0x02 0x03 < UART_BR0 > < UART_BR1 > < UART_MCTL > < CS >
7.6 CMD_GET_REQ
This command can be used to query individual or multiple non-volatile user parameters (see
table 4). The requested number of bytes from the specified memory position are returned.
Individual or multiple consecutive parameters in the memory can be queried concurrently.
Format:
0xFF
0x0A
0x02 < address > < number of bytes > < CS >
Example (query of all parameters):
0xFF
0x0A
0x02 0x00 0x80 0x77
Return:
0xFF
0x8A
< number of bytes + 2 [0x82]> < memory position[0x00] > < number of
bytes[0x80] > < parameter > < CS >
The read access to the memory area beyond the parameters documented in Table 4 is
inhibited. The memory position and the number of bytes are limited accordingly.
7.7 CMD_SERIALNO_REQ
This command can be used to query the individual serial number of the module.
Format:
0xFF
0x0B
0x00 0xF4
Return:
0xFF
0x8B
0x04 < 4-byte serial number > < CS >