I am having trouble getting a response from the nrf chip back to the MSP430F4xx2. I have a UART set up and running at 4800 baud (same as selected on nrf chip). I have gotten some odd response from the chip after I reset it using RESET# line.
Example:
char ANT_AssignChannel(UCHAR ucChannel, UCHAR ucChannelType, UCHAR ucNetworkNumber)
{
UCHAR send_data[5];
send_data[0] = 3; //data transmit length
send_data[1] = ANT_ASSIGNCHANNEL;
send_data[2] = ucChannel;
send_data[3] = ucChannelType;
send_data[4] = ucNetworkNumber;
UART_MCUSend(send_data,5);
rxWait(); //wait to receive response from ANT
return SUCCESS;
}//end ANT_AssignChannel
What would be most helpful is a sample project that uses UART. I found the samples using synchronous serial but haven't seen anything using a UART.
Thanks!
Andy