Hi,
Is there any recommended microcontroller with microwire to control the LMX2541?
Also, do TI have any quick start development code to that recommended microcontroller?
Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Is there any recommended microcontroller with microwire to control the LMX2541?
Also, do TI have any quick start development code to that recommended microcontroller?
Thanks.
Wilson,
We do not have a recommended microcontroller for this device, although I am sure that TI might make something. I am just not a Microcontroller person.
The one thing that I would say is to take heed of what it says in the electrical specifications programming diagram regarding the fact that the LE pin must be brought low after programming. If LE is left high after programming, this interfers with the VCO digital calibration.
Wilson,
MICROWIRE is a subset of SPI. As such, any microcontroller which supports SPI can be used with the LMX2541. Often the Latch Enable or Slave Select is a user programmed GPIO. This way, many devices can share the bus with CLK and DATA. As Dean mentioned, the LE should be taken high and then low again when programming.
As an example microcontroller you may use, consider an MSP430. It has a USI (Universal Serial Interface) which can be used to program the LMX2541. The LMX2541 has 32 bit wide registers (4 address + 28 data). The MSP430 appears to send out 16 bits at a time using the USI. As such you could send out two 16 bit words of data, then toggle the LE pin.
From the MSP430x2xx Family User Guide:
"The USI module provides the basic functionality to support synchronous serial communication. In its
simplest form, it is an 8- or 16-bit shift register that can be used to output data streams, or when combined
with minimal software, can implement serial communication. In addition, the USI includes built-in hardware
functionality to ease the implementation of SPI and I2C communication. The USI module also includes
interrupts to further reduce the necessary software overhead for serial communication and to maintain the
ultra-low-power capabilities of the MSP430."
To know what values you would like to program into the LMX2541. Using CodeLoader software, you can configure the device as desired, goto the "Registers" tab, click the "Export register values in hex to text file" button. Copy these values into your code and program the device.
Hope this helps.
73,
Timothy