Re: [Mspgcc-users] USART in SPI Mode Double Send Problem

2005-10-06 Thread Delbert Martin IV
I've Tried it both ways, I used objdump to check to see if it was calling spiReadWriteByte twice, It wasn't so I'm not quite sure what would cause this. It used to work, Though it does act as if the processor knows its sending both bytes cause I will get an OE error on U0RCTL, So it knows its r

Re: [Mspgcc-users] USART in SPI Mode Double Send Problem

2005-10-05 Thread Chris Liechti
Delbert Martin IV wrote: I have done some more work with this and found that if the device is freshly programmed, it will work until I restart the board. Once I restart it, it begins to send 2 bytes instead of 1, I will Post some Code. #define waitSPI_RXTX() while((IFG1 & URXIFG0) == 0) in

Re: [Mspgcc-users] USART in SPI Mode Double Send Problem

2005-10-05 Thread Delbert Martin IV
I have done some more work with this and found that if the device is freshly programmed, it will work until I restart the board. Once I restart it, it begins to send 2 bytes instead of 1, I will Post some Code. #define waitSPI_RXTX() while((IFG1 & URXIFG0) == 0) void setupSPI() { U0CTL = 1; /

Re: [Mspgcc-users] USART in SPI Mode Double Send Problem

2005-10-04 Thread Chris Liechti
Delbert Martin IV wrote: When I Send a byte with USART1 on an MSP430F149 It double Sends the byte, which causes CHAOS to anything I am working with. I'm probably not doing something right, anyone know what might cause this phenomenon. i'm using the USART1 without problems It sends the second

[Mspgcc-users] USART in SPI Mode Double Send Problem

2005-10-03 Thread Delbert Martin IV
When I Send a byte with USART1 on an MSP430F149 It double Sends the byte, which causes CHAOS to anything I am working with. I'm probably not doing something right, anyone know what might cause this phenomenon. It sends the second byte about 1 uS after the first, which is faster than my program