Hello,
I'm trying to get a 12 bit DAC (Microchip MCP 4921) to work with
MSP430F2274 SPI. The DAC needs a 16 bit data sending in one burst. The
MSP430F2274 SPI (USCB0) seems working ONLY with 8 bit data. When I put
a 16 bit data, it just doesn't send out any data on the MOSI pin.
Before I go putting a piece of code for doing bit-banged SPI, I just
want to check if anyone has any idea how to solve this issue.
My hardware is the MSP430RF2500 kit. I'm using the same SPI pins that
the CC2500 is using (the DAC CSn pin is P2.1)
Thanks very much
-Thanh
MCP4921 12 bit DAC communicating with MSPF2274 using SPI?
Started by ●August 28, 2008
Reply by ●August 28, 20082008-08-28
I break the 16 bit to 2 8 bits and send it 2 times without clearing the CSn pin.
It seems working! :)
Thanks for reading
-Thanh
----- Original Message ----
From: thanhtranhd
To: m...
Sent: Thursday, August 28, 2008 2:43:38 AM
Subject: [msp430] MCP4921 12 bit DAC communicating with MSPF2274 using SPI?
Hello,
I'm trying to get a 12 bit DAC (Microchip MCP 4921) to work with
MSP430F2274 SPI. The DAC needs a 16 bit data sending in one burst. The
MSP430F2274 SPI (USCB0) seems working ONLY with 8 bit data. When I put
a 16 bit data, it just doesn't send out any data on the MOSI pin.
Before I go putting a piece of code for doing bit-banged SPI, I just
want to check if anyone has any idea how to solve this issue.
My hardware is the MSP430RF2500 kit. I'm using the same SPI pins that
the CC2500 is using (the DAC CSn pin is P2.1)
Thanks very much
-Thanh
Thanks for reading
-Thanh
----- Original Message ----
From: thanhtranhd
To: m...
Sent: Thursday, August 28, 2008 2:43:38 AM
Subject: [msp430] MCP4921 12 bit DAC communicating with MSPF2274 using SPI?
Hello,
I'm trying to get a 12 bit DAC (Microchip MCP 4921) to work with
MSP430F2274 SPI. The DAC needs a 16 bit data sending in one burst. The
MSP430F2274 SPI (USCB0) seems working ONLY with 8 bit data. When I put
a 16 bit data, it just doesn't send out any data on the MOSI pin.
Before I go putting a piece of code for doing bit-banged SPI, I just
want to check if anyone has any idea how to solve this issue.
My hardware is the MSP430RF2500 kit. I'm using the same SPI pins that
the CC2500 is using (the DAC CSn pin is P2.1)
Thanks very much
-Thanh