6 SoftConsole

The softconsole project included with the Libero design, uses the APIs for AD9371 and AD9528 from analog devices which are used to initialize and configure the clock generator AD9528. The RF transceiver AD9371 which has a built in ARM processor that runs calibration and other power up sequences required to initialize AD9371. The ARM binary byte file required for the built in ARM processor is loaded by the soft Mi-V processor in the FPGA power up sequence, which indeed communicates with AD9371 and AD9528 by Serial Peripheral Interface (SPI). The Mi-V processor reads the status of AD9528 and AD9371 through SPI during initialization and displays the status on UART terminal.

The following listed messages are displayed on the Receive Data window:

  • SPI AD9371: Before the SPI communication in the Mi-V processor with AD9371 (and AD9528) is initiated, it is displayed on the screen only after the appropriate UART initialization. If this message is not displayed or some random data is displayed on the GUI, then check the UART baudrate value in the GUI.
  • PLL Locked: The Mi-V processor checks the status of the CLKPLLL bit and when CLKPLL is locked, this message is displayed. If not locked, then PLL not locked is displayed.
  • Multi Chip Sync Successful: After performing Multi Chip Sync, the Mi-V processor verifies if the Multi Chip Sync is successful or not. This message is displayed if it is successful. If not, then Multi Chip Sync Failed is displayed.
  • AD9371 ARM Version 4.0.6: After loading an ARM binary byte file, the Mi-V processor reads back the version of the binary just loaded by it. This message is displayed if binary byte array is properly loaded and the version is read back. If not loaded properly, then an arbitrary number is displayed.
  • (CLK, RX, TX, SNIFFER) PLLs Locked: This message is displayed when the Mi-V processor checks for the PLL locks for CLK, RX, TX, and sniffer. If not locked, it displays the message (CLK, RX, TX, SNIFFER) PLLs not locked along with PLL lock status. For more information about PLL status bits, see the UG992 AD9371 user guide for analog devices.
  • Calibrations Completed Successfully: The Mi-V processor queries the calibration status of AD9371. This message is displayed if the ARM processor (in the AD9371) successfully completes calibrations. Otherwise, this message is not displayed.
  • Successfully Initialised AD9371: This is the final message. It is displayed when AD9371 is initialized and configured correctly. If AD9371 is not configured correctly or it fails to initialize, then the message Initialization Failed, Status =XXXX, is displayed along with the status bits (indicated as XXXX). The status bits are used to debug failures during initialization.