Hi,
I try to use SPI to communicate with TI RF chip. But the first byte(register address) of a packet is not what I expected.
For example, I send 0x40 will become 0xC0, I send 0x80 will become 0x00.
The MSB is not correct, it become the same with bit 6.
Anyone know how to solve this?
Please!
Regards,
Max.
Max Peng
@Max Peng
Best posts made by Max Peng
-
Help about SPI of Omega2+
Latest posts made by Max Peng
-
RE: Help about SPI of Omega2+
No, they just give me a link to a 6 months ago post, nothing fixed, nothing released, no updated, no comment, no reply
-
RE: When will you release new firmware fixing problem of SPI?
I read that discussion months ago.
The last message was 5 months ago.
It's only 'issue need to be fixed', 'somebody has temporary testing fixing lib'...etc.
There is no official fix or update from Onion.
I don't think it's a solution for normal users. -
When will you release new firmware fixing problem of SPI?
I sent 2 bytes, 0x7f 0x79, through SPI, using spi-tool in command line.
spi-tool -b 1 -d 32766 write 0x7f 0x79
I read values from spi bus using logic analyzer. The actual bytes sent are 0xff 0x79.
I tried to analyse why and when this happen. I found if the first byte, normally register address, equal or larger than 0x40, then the most significant bit become 1.
For example, 0x40 becomes 0xc0, 0x7f become 0xff.
I asked for a long time, waiting fix for a long time.
NO ANSWER, NO REPLY, seems there is no problem of SPI.
WHY?
This is a board for IoT, for many usages. How could you just leave this problem for such a long time? -
Help about SPI of Omega2+
Hi,
I try to use SPI to communicate with TI RF chip. But the first byte(register address) of a packet is not what I expected.
For example, I send 0x40 will become 0xC0, I send 0x80 will become 0x00.
The MSB is not correct, it become the same with bit 6.
Anyone know how to solve this?
Please!
Regards,
Max.