Problem with Arduino UNO's clock [solved]

Well, I'm using a nrf24l01 module with arduino UNO and the problem I have is that the clock (pin 13) isn't appearing in the osciloscope. actually, it appears, but only once, the first time the program runs. But when a message is sent, the clock don't pulses. Is that right?

I also want to know how should be the appearence of the clock in osciloscope.

I'm using the testing sketch of RF24's library.

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(9, 8); //CE, CSN

const byte rxAddr[6] = "00001";

void setup()
{
  SPI.begin();
  radio.begin();
  radio.setRetries(15, 15);
  radio.openWritingPipe(rxAddr);
  
  radio.stopListening();
}

void loop()
{
  const char text[] = "Hello World";
  radio.write(&text, sizeof(text));
  
  delay(1000);
}

The attachment is how the clock signal looks like.

I'm sorry about the bad English. :frowning:

Pin 13 is also the LED on the Uno, which the bootloader flashes on startup.

If the radio works, then SCK is definitely pulsing. But those pulses will be very short and momentary, only during brief SPI transmissions. You may not be looking at the correct time.

May be, I'll make a double check, but I still think that teh time base is correct.
I can verify the pulse on pins CE and CSN and they are working perfectly, but I can't see the clock working every 1000 ms.

Also, thank you for the reply.

It was the time base!

Thank you very much for the reply!

Closing topic...