SPI problem quite critical.
https://onion.freshdesk.com/support/solutions/articles/24000014450-spi-issue-resolution
Posts made by JinGyu Lee
-
RE: Omega2+ SPI problem
Thanks for your answer.
I found some people that got same problem.
link as follows.
https://community.onion.io/topic/2345/omega2-spi-first-bit-missing-wrong
https://community.onion.io/topic/2027/help-about-spi-of-omega2
SPI communication problem not fixed. -
RE: Help about SPI of Omega2+
@Max-Peng
Are you fixed this problem?? I got same problem.. -
Omega2+ SPI problem
My source code as follows.
#include <stdio.h>
#include </root/test/spi-gpio-driver/include/onion-spi.h>void SpiReadValue(int addr);
int main() {
SpiReadValue(0x40);
return 0;
}This code would be transfer a data that 0x40. but, received data is actually 0xC0.
so, I wonder that why data receive as 0xC0.
0x00~0x3F and 0xC0~0xFF data receive correctly.
but, [transfer data] [receive data]
0x40 0xC0
0x50 0xD0
0x60 0xE0
0x70 0xF0
0x80 0x00
0x90 0x10
0xA0 0x20
0xB0 0x30I can not understand. why happen this problem? I need your help.
-
I2C Communication problem in Omega2+
I have a problem in I2C communication. my development machine is Omega2+. I compared with LPC1768 to solve problem. Fig.1 can operate normally as I2C. This device is LPC1768.
but Fig.2 can not operate. This device is Omega2+. I got no Idea. I tried in C library and Python library. I'm still got same problem.
I need your help.