« first day (13 days earlier)      last day (49 days later) » 

1:58 AM
Yes, even the nRF24 block diagram is hard to understand. But at least you must be not too lazy enough not to search the datasheet for meanings of terms like "PA", "LNA", GFSK" and so on, otherwise you will never catch up. Anyway, for now, you can just as I suggested earlier, sit back and watch how I am building a minimal nRF24 driver and library, ... No hurry though, take your time. Cheers.
 
 
2 hours later…
3:33 AM
Now I am looking at the init method of the nRF24 library (full listing at nRF Learning Notes V0.6) penzu.com/p/303513ed The init method is basically doing two things: (1) Init SPI and GPIO assignment, (2) Configuration using 9 statements. So now I need to check out what those 9 statements are doing, and which registers, beside the Config register, need to be written:
 
3:47 AM
Now I move on reading the "begin" method of the nrf24 class. I think the transmit.py is doing something like below: (1) create/instantiate an object of the nrf24 class. This newly created object is called "radio". Then "radio.init" and "radio.begin" methods are called to do the initiation/setup job. Now I need to study the "begin" method and see how to do it using the functions (yes, no longer objects, all functions now) to do the corresponding "init" and "begin" tasks.
 
 
3 hours later…
7:06 AM
Now I read the nRF24 begin method and found it not that complicated, calling 6 functions and writing 3 registers. I guess the minimal driver must at least entertain these 3 registers. So I go check out these three registers.
The three register to write are : "setup", "dynamic playload", and "current status". I was confused why there is a "setup" register and not using the "config" register.
 
7:59 AM
Alright I understand this
 
8:57 AM
Good. Now I quickly read the datasheet again, and picked a couple more registers to do the preliminary testing. I am thinking of using these basic registers to do config, command, and status control. I now appreciate the use of the state diagram, without that you might get lost during transitions from Tx mode ot Rx mode etc. The config register help to set up maximum power, the status register can check output. I am hoping to use the scope to check the output waveform.
 

« first day (13 days earlier)      last day (49 days later) »