Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Got bluetooth working on raspberry zero 2 w



> I also took the time to look at your plcom changes. I don’t quite understand why you need the changes. What is wrong with the current FIFO threshold settings? Why do you need a sc_burstlen of 4? Other comments about sc_burstlen say "Safe amount of bytes to fill when TX FIFO signals empty", so with your new FIFO threshold I’d expect 7/8*fifolen and not 4.

I set initially sc_burstlen to 4 because that's the size of the hci
reset command that is first run to initialize the controller, but it
looks like I was misunderstanding the meaning of sc_burstlen.

I've tested it with your suggested 7/8 * fifolen and it works, however
for the lvl value it has to be PL011_IFLS_1EIGHTH or the TX interrupt
will never trigger when hci reset is sent.


Home | Main Index | Thread Index | Old Index