7 - Commands
7.6
Command Group 0x05 - Auxiliary SPI (Auxiliary Ports Only, Extended
Commands Only)
The host uses the commands in this section to control its auxiliary SPI port, which enables customers to
implement solutions where an external SPI device, such as magnetic stripe reader or contactless reader,
can communicate with the host by piggybacking on the device's connection to the host.
If the device is not connected to the host using SPI, the device automatically converts between SPI and
the device/host connection type. This conversion may introduce data propagation delays and buffering
limitations. MagTek advises thoroughly testing external devices with the auxiliary port to make sure they
are completely compatible.
To configure the behavior of the auxiliary SPI port, use Property 0x6A - Auxiliary SPI Configuration
(Auxiliary Ports Only).
7.6.1 Extended Command 0x0500 - Auxiliary SPI Transmit and Receive Data
Like all extended commands, the host initiates this command by calling Command 0x49 - Send
Extended Command Packet (Extended Commands Only), and receives a response as documented
there.
The host uses this command to transmit and receive data to communicate with an external SPI device.
The host calls this command when it needs to send data to the auxiliary SPI device, and should also call
this command to read data from the auxiliary SPI port if it receives Notification 0x0500 - Auxiliary SPI
Data Change.
Table 7-46 - Request Data for Extended Command 0x0500 - Auxiliary SPI Transmit and Receive Data
Offset
Field Name
0
Port Identifier The identifier of the port to transmit on. Always set this field to zero.
1..n
Transmit Data
Table 7-47 - Response Data for Extended Command 0x0500 - Auxiliary SPI Transmit and Receive Data
Offset
Field Name
0..n
Receive Data
Result codes:
0x0000 = Success
0x0581 = Port not opened
0x0582 = Data length too large
Example Request (Hex)
Command Number
Data Length
mDynamo| OEM Secure Card Reader Authenticator | Programmer's Manual (COMMANDS)
The data to transmit. If the transmit data length exceeds 1023 bytes it must be
sent using multiple commands.
The data received. Since, for SPI, a byte is always received when a byte is
transmitted, the number of bytes received is equal to the number of bytes
transmitted.
Header
49
0A
Page 101 of 167 (D998200151-200)
Value
Value
Need help?
Do you have a question about the mDynamo and is the answer not in the manual?
Questions and answers