SNAA409 April 2024 LMX2594
This brief covers on how to interface RF synthesizers with Microcontroller. In general, USB2ANY is used for this interfacing. But USB2ANY has some limitations namely low frequency SPI write and wait-time between two SPI writes in burst mode. For some applications, this low frequency SPI and wait-time might not be acceptable. For this brief, register writes present in the script shared is applicable for LMX2594 Synthesizer. In general, same approach can be used for all RF synthesizers.
Components Required:
Test Setup:
Connect the MSP430FRxxxx EVM to the LMX2594EVM through the JTAG connection pins as per the figure below:
Figure 1 MSP430FR5969 Pins on EVMThe USB2ANY 10-pin adapter cable pinout is shown below for reference. The connections are summarized in the following table:
| MCU Pins | JTAG Adapter Pinout | LMX2594EVM Header |
|---|---|---|
| P1.4 GPIO | SPI_CS, Pin 2 | Right Row, Header 1 |
| GND | GND, Pin 6 | Right Row, Header 3 |
| P1.5 GPIO | SPI_SCLK, Pin 8 | Right Row, Header 4 |
| P2.0 GPIO | SPI_SIMO, Pin 4 | Right Row, Header 2 |
Figure 2 10-Pin Cable Pinouts| Schematic Pin Number | Cable Pin Number | Signals Available |
|---|---|---|
| J4-10 | 1 | GPIO7, PWM0, INT2, OW2, OW5 |
| J4-9 | 2 | GPIO6, PWM1, RFFE:SCLK, SPI:CS, INT1, μWIRE:CS, OW1 |
| J4-8 | 3 | GPIO5, SPI:SOMI, UART:RXD, μWIRE:SOMI |
| J4-7 | 4 | GPIO4, SPI:SIMO, UART:TXD, μWIRE:SOMI |
| J4-6 | 5 | 3.3VEXT |
| J4-5 | 6 | GND |
| J4-4 | 7 | GPIO3, PWM2, RFFE:SDATA, INT0 |
| J4-3 | 8 | GPIO2, ES:DOUT, SPI:SCLK, μWIRE:SCLK |
Procedure:
| Register Name | Corresponding Function |
|---|---|
| R36 | N Divider |
| R38 | Denominator |
| R39 | |
| R42 | Numerator |
| R43 | |
| R45 | OUT_ISET |
| R20 | VCO_SEL_FORCE |
| R19 | VCO_CAPCTRL |
| R16 | VCO_DACISET |
Figure 3 Sequence of Register Writes for Switching Between Two Frequencies.