How to transfer data of SPI bus and I2C bus over Serial bus - Raspberry Pi Forums


is possible use uart , spi bus on raspberry pi?

how can data spi , i2c buses on uart?

there software called "radio skypipe 2" windows accepts data either through serial bus or through tcp.

want try on serial bus , on tcp.

if got feeling bit confused, here bit of info may clear mind.
  1. i2c, spi, , usart specific hardware interfaces of pi, independent of each other.
  2. only usart, used communicate other systems, used serial interface, uses 3.3v digital levels, can add chip converts txd , rxd signal rs232 levels, long distance connections.
  3. i2c, "ic ic communications bus", used pi "talk" specific "i/o expansion ic's", such i/o expanders (for gpio's) or adc's , serial eeprom store small amounts of data permanently
  4. spi mean special peripheral interface, has similar function i2c, i2c provides "bus" pi can talk multiple devices, spi used talk 1 other device, small lcd screen, faster i2c


yes, can read data i2c device (like adc), , send on usart serial line system, i2c isn't communications bus in sense usart serial communication port is, question asking bit strange.

pi can read data i2c, or spi device, , sent on serial channel yes, no i2c device "sends" data pi forwarded usart.

hope helps.


raspberrypi



Comments

Popular posts from this blog

How do I add a forum to my site? - Joomla! Forum - community, help and support

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

List Control