usart configuration and TRF-2.4G

Hi everyone , I’m trying to do a wireless comunication between two RF’s (TRF-2.4G exactly)

The first step is the configuration of the RF, but also i have to configurate the usart on the MCU.

I have to connect the RF to the pic with 4 pins to CE,CS,DATA,CLK1 and in case of reception mode DR1.

The MCU have RC6 and RC7 how pins for RX and TX… and i didnt use them (i use the port A RA0, RA1, RA2, RA3, RA4).

The normal configuration of the usart still works? I say, Can i do the configuration normaly without any changes?

Sorry, I’m new on this.I have this doubt for a long time, and i have to move on with my proyect. :cry:

Thanks for any help you can give me…

PD: i configure or i trying to configure the usart with the library usart.h of c18 compiler.

      OpenUSART( USART_TX_INT_ON &   //transmit interrupt on
                          USART_RX_INT_ON &  //receive interrupt on
                          USART_ASYNCH_MODE &  //Asynchronous mode
                          USART_EIGHT_BIT &   //8-bit data
                          USART_BRGH_HIGH, 129)    //Baud rate high and spbrg

You want to use SPI with the Nordic chips, not a UART. They have an appnote on their website that describes how to connect their 1-wire interface to a two wire SPI interface.