Looks like you're just getting a bunch of zeros decoded into your receive buffer. Are you checking CRC before calculating your values?Pi2D2 wrote:KarlS wrote:Just noticed also that the Station Id is now 0000. It was 0A54 before - another thing set to default.
There's a mode of operation (see Si4021 datasheet, page 20) that uses SDI to receive data for transmission (breaking SPI conventions). In this case, SCK must not transition while data is being sent on SDI.avago wrote:SCK should be changing state for every transition of SDI
@KarlS, I'm now sure that's wrong - I'd misunderstood part of the transmitter's datasheet. I agree, overflows would be left-shifted. Did you get to the bottom of that bit-shift issue?ksangeelee wrote:I think bits would need to be right-shifted into the FIFO so they don't end up in the wrong order.