简体   繁体   English

mipi dsi和spi有什么区别?

[英]What is the difference between mipi dsi and spi?

In terms of working on microcontrollers and microprocessors, I have been said to work with SPI Interface instead of using USB.在处理微控制器和微处理器方面,据说我使用 SPI 接口而不是使用 USB。 When I was going to deeper on my hardware selection, I have noticed that there are many other Interface like MIPI Dsi, Csi or so on.当我更深入地选择硬件时,我注意到还有许多其他接口,如 MIPI Dsi、Csi 等。 So what are differences?那么有什么区别呢? Can I choose something with mipi dsi interface and use it on my system which will be a sensor system?我可以选择带有 mipi dsi 接口的东西并在我的系统上使用它,这将是一个传感器系统?

Your question is rather broad for Stack Overflow and has a really wide scope;您的问题对于 Stack Overflow 来说相当广泛,并且具有非常广泛的 scope; but fundamentally, all the interfaces you've lists, SPI, USB, MIPI DSI, MIPI CSI, etc, are all just communication interfaces, or ways for external components like sensors, cameras, displays, input devices, storage units, etc to talk to a processor;但是从根本上讲,您列出的所有接口,SPI,USB,MIPI DSI,MIPI CSI等,都只是通信接口,或者是传感器,摄像头,显示器,输入设备,存储单元等外部组件的通信接口到处理器; each usually being designed with specific goals in mind.每个通常在设计时都考虑到特定的目标。 USB for example was designed to be generic and used to connect peripherals to desktop/laptop consumer systems from keyboads and mice to webcams to other devices;例如,USB 被设计为通用型,用于将外围设备连接到台式机/笔记本电脑消费系统,从键盘和鼠标到网络摄像头再到其他设备; while MIPI DSI was specifically designed to interface mobile/embedded displays to the host processor.而 MIPI DSI 专门设计用于将移动/嵌入式显示器连接到主机处理器。 Due to these design goals for each interface, they all have quite different physical and link-layer implementations (ie, the actual number of wires and the way the signals on those wires are sent and received).由于每个接口的这些设计目标,它们都具有完全不同的物理层和链路层实现(即,实际的线路数量以及这些线路上的信号发送和接收方式)。

When looking to which interface is right for your system, you need to look at what the processor supports and what interfaces the device you wish to hook up to it supports.在寻找适合您的系统的接口时,您需要查看处理器支持什么以及您希望连接到它的设备支持哪些接口。 If say, you have a simple accelerometer and a simple microprocessors, its likely both with use either a SPI or I2C interface.如果说,你有一个简单的加速度计和一个简单的微处理器,它可能都使用 SPI 或 I2C 接口。 If its a larger processor and a camera, then either USB or MIPI CSI might be good options.如果它的处理器和摄像头更大,那么 USB 或 MIPI CSI 可能是不错的选择。 Also recognize that depending on software support, writing code to interface with a USB sensor can be quite a bit more complex than one for a SPI interface (thus the widespread use of SPI and I2C in embedded systems).还要认识到,根据软件支持,编写与 USB 传感器接口的代码可能比 SPI 接口复杂得多(因此在嵌入式系统中广泛使用 SPI 和 I2C)。 Without more details, I cant say whats a good way to hook things up (and that type of question might better fit on electronics stackexchange: https://electronics.stackexchange.com/ ).如果没有更多细节,我不能说什么是连接事物的好方法(这种类型的问题可能更适合电子堆栈交换: https://electronics.stackexchange.com/ )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM