This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Setting up clock on nRF24le1 for I2C

I used the following code to verify the working of the clock (at P04) of nRF24le1. I used a 4.7K pull up resistor with a VDD of 3.3V, which was output from the nRF. Note that this setup was in isolation, without the slave.

However, when I measure the clock signal using an oscilloscope, all I see is a constant high logic of 3.3V. I do not see any toggling and I don't understand why.

Can you please tell me if you see any mistakes with this?

void main() {

P0DIR = 0x00;											// Initiating IO pins 
hal_w2_configure_master(HAL_W2_400KHZ);

}

Parents Reply Children
Related