[Oberon] FPGA - nRF24L01 `RPI Net' server
Tomas Kral
thomas.kral at email.cz
Sun May 27 11:01:48 CEST 2018
On Fri, 25 May 2018 22:05:46 +0200
Tomas Kral <thomas.kral at email.cz> wrote:
> I will look in the Ch.10 and try to time some of the
> protocol parts, as suggested.
I really need to reread Ch.10, but as `happy go lucky', I changed a few
loop timings, and now I got:
NRF.Mod sending 6158 6
NRF.Mod receiving 6158 6
Which is 1KB/s transfer rate, is it good? Can we in theory get
even better?
In SCC.Mod, I added these timings,
Wait = 50; Wait0 = 5; Wait1 = 1000;
SubSnd uses Wait0,
ReceiveHead uses Wait1,
SendPacket uses Wait.
Conversely on RPI,
I use delay(WAIT/*=50*/) for subsnd();
I have also extended delay/retry Oberon side
WriteReg1(4, 0*010H + 15); (*SETUP_RETR delay + retry count*)
While on RPI, best I got for
radio.setRetries(10,15);
On RPI side, I use for file access
k = fread(&buf, 1, PAK_SIZE, f);
k = fwrite(&rx.dat, 1, head1.len, f);
as I initially thought that fputc(), fgetc() perform slower in loops.
--
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon
mailing list