Jump to content
43oh

Fath

Members
  • Content Count

    11
  • Joined

  • Last visited

  1. I resarched Arduino RF24 library yesterday and i found some different parameters yours code. Channel num: 76 Pipe: 0xE8E8F0F0E1 Wide Band: True Payload Size: 32 Dynamic Payloads enable: False I modified transceiver these parameters. Finally,MSP430f247 communicated to an Arduino Leonardo board by nRF24L01 modules over air. I achieve 1byte data send now. Thanks for your interest and answer!
  2. Arduino module works this project Recieve module. http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo I changed transceiver group module( MSP 430f247 with nRF24l01) address to recieve module Pipe adress. Now both are same.
  3. Yes, i saw SPI lines. This imagine CE line, This imagine CSN line, This imagine SCK, SMCLK running 8 MHZ ( we can calculate on SCK signals). WDTCTL = WDTHOLD | WDTPW; DCOCTL = CALDCO_8MHZ; BCSCTL1 = CALBC1_8MHZ; BCSCTL2 = DIVS_1; // SMCLK = DCOCLK/4 // DIVS_2 default BCSCTL3 = LFXT1S_2; // ACLK = VLOCLK/1 BCSCTL3 &= ~(XT2OF|LFXT1OF);
  4. Hi Spirilis, I'll communicate MSP430f247 with an Arduino leonardo board by nRF24L01 modules. I achieved Arduino to Arduino communication with nRF24l01+ module but, don't work when MSP430f247 transceiver .I use your share msprf24 project,but your " msp430_spi.c" library hasn't got for MSP430f247 USCI_B0 in serial interfaces supported. thank you for your reply.
  5. I changed "sp?_init() "function to USCI_B's code. #endif #if defined(__MSP430_HAS_USCI__) && defined(SPI_DRIVER_USCI_ && !defined(__MSP430_HAS_TB3__) void spi_init() { /* Configure ports on MSP430 device for USCI_B */ P1SEL |= BIT5 | BIT6 | BIT7; P1SEL2 |= BIT5 | BIT6 | BIT7; /* USCI-B specific SPI setup */ UCB0CTL1 |= UCSWRST; UCB0CTL0 = UCCKPH | UCMSB | UCMST | UCMODE_0 | UCSYNC; // SPI mode 0, master UCB0BR0 = 0x01; // SPI clocked at same speed as SMCLK UCB0BR1 = 0x00; UCB0CTL1 = UCSSEL_2; // Clock = SMCLK, clear UCSWRST and enables USCI_B module. } I repl
  6. Yes, i saw CE , CSN and SCK pins. CE pin goes to logic level low- high - low , CSN pin goes to logic level high- low - high and SCK pin is high . I tried debugging with Code Composer Studio. When i debugging code in function "msprf24_init()" step "spi_transfer(uint8_t inb)" to run, restart to program. I hope, if i modified the SPI library from what is up on github and #define's, it will work.What's wrong, i'm not understand. Can you share on a F5529 library?
  7. Yes,i have set the USCI_B0 to SPI mode, P3SEL |= 0x0E; // P3.3,2,1 option select UCB0CTL0 |= UCMST+UCSYNC+UCCKPL+UCMSB; //3-pin, 8-bit SPI master UCB0CTL1 |= UCSSEL_2; // SMCLK UCB0BR0 = 0x02; // /2 UCB0BR1 = 0; // UCB0CTL1 &= ~UCSWRST; // **Initialize USCI state machine** MSP430f247 pins to, P3.1 - SIMO, P3.2 - SOMI, P3.3 - CLK, P3.4 - CE, P2.0 -IRQ, I unhook my nRF module and watched SPI line with oscilloscope, th
  8. I want to use nRF24l01 RF wireless modules with MSP 430f247 processor. There is a project done on MSP430G2553 with the same wireless module; https://github.com/spirilis/msprf24/wiki#library-usage I want to use USCIB_0 part for communication interface. I replaced output pins in the program. When I debug the program step by step I have seen no signal at SPI line. Do you have any suggestion?
  9. Hi, i want to change microprocessor to MSP430f247. What kind settings i for the nRF24L01 and MSP430f247 with work?
×
×
  • Create New...