cancel
Showing results for 
Search instead for 
Did you mean: 

What is my SPI communication error with SPSGRFC-868 module?

EGÜRL.1
Associate

There is a problem using SPSGRFC-868. let me write my steps,

  • I generated 72Mhz/64 clock freq. for SPI
  • SPI working mode 0 (Clck idle low/ first clck edge)(I tried 4 mode extra.)
  • before loop SDN pin LOW
  • Before read-write Chipselect pin LOW, after that HIGH.
  • firstly I tried reading registers . the codes like that,

Write(0x01);

Write(0x94)  // any register

Dummy_data = Read(0);

               I run the code.(I look osilosscope and SPI signals as I wrote above.)

  • fristly Dummy_data becomes 0x52 20-30 times. after that Dummy_data becomes 0x00 finally Dummy_data becomes 0xFF

I try so much variation. Can u help me what is my fault?

0 REPLIES 0