Communication interfaces

For Texas Instruments C2000 and ARM Cortex M3 devices, and STMicroelectronics STM32 devices, Embed uses a JTAG HotLink to communicate data between the host and the target device. For Arduino devices, Embed uses a serial HotLink. For Linux devices, Embed uses an Ethernet or Wi-Fi HotLink.

The HotLinks support both normal and high-speed data collection. In normal mode, commands are sent from the host to the target and data is collected from the target for the host. The signal transfer rate is limited to approximately 200 words/sec.

During the PIL and HIL phases, data must be acquired at a much faster rate. For example, you will have to record data at the frequency that the control algorithm is running at, which could be 10 kHz or greater. Embed provides the Monitor Buffer Read and Monitor Buffer Write blocks (for all targets except Arduino, Linux, and MSP430) that execute over the HotLink specifically for this purpose. The monitor buffer provides a mechanism for a debug diagram to buffer a large volume of data acquired on the target at the target’s native sample rate, transmit the data periodically over the slower HotLink from the target to the host, and then make the buffer contents available as a vector of data on the host application. The monitor buffer shown below uses the buffer mechanism to capture and transmit a buffer of 1001 elements collected at 10000 Hz from the target. The host, running at 100 Hz, then plots the sample values like a triggered oscilloscope trace.