The invention discloses a method of data, obtained from the digital image sensor device and main control system, the method comprises a main control device preset clock signal sent to the digital image sensor, digital image sensor to the default clock signal as the clock rise; master preset clock signals on the edge receiving a digital image sensor in the preset rising edge of the clock signal transmitted data. In the invention, the digital image sensor to obtain the clock itself after the digital image sensor will work according to the clock to send data, so, even if the master device no data integration digital image sensor for reading interface is also able to obtain the required data by setting the clock for the digital image sensor, realize the main control device without data integration digital image sensor for reading interface to obtain data from the digital image sensor.
【技术实现步骤摘要】
本专利技术涉及数据处理
,特别是涉及一种从数字图像传感器读取数据的方法、主控设备与系统。
技术介绍
在实际应用中,需要采用camerainterface(camera专用接口)来获取DigitalImageSensor(数字图像传感器)中的数据,简单来说,摄像头就可以看作是一种数字图像传感器。camerainterface的信号线和DigitalImageSensor的信号线是匹配的,参考图1所示,为现有技术中camerainterface跟DigitalImageSensor的信号线之间的连接关系图,由图1可以看出,DigitalImageSensor的信号线很多,主控设备需要有相应的匹配信号线才能从DigitalImageSensor中获取完整的数据,在实际环境中,主控设备有时只需从DigitalImageSensor中获取部分数据即可,比如对于一幅完整的图像,其主要包含两类信息:尺寸信息和色彩信息,在某些条件下主控设备只需获取所述图像的尺寸信息即可,并不需要获取这幅图像的所有数据。在这种情况下,如果主控设备集成camera专用接口,则所述匹配信号线中的很多信号线就被闲置,造成了资源的浪费,而且主控设备集成camera专用接口的费用较高,提高了主控设备的成本。
技术实现思路
本专利技术提供一种从数字图像传感器获取数据的方法、主控设备与系统,为没有集成camera专用接口的主控设备从DigitalIm ...
【技术保护点】
一种从数字图像传感器获取数据的方法,其特征在于,所述方法包括:主控设备向数字图像传感器发送预设时钟信号,以便数字图像传感器将所述预设时钟信号作为工作时钟;主控设备在所述预设时钟信号的上升沿或下降沿接收数字图像传感器根据预设时钟信号发送的数据。
【技术特征摘要】
1.一种从数字图像传感器获取数据的方法,其特征在于,所述方法包
括:
主控设备向数字图像传感器发送预设时钟信号,以便数字图像传感器
将所述预设时钟信号作为工作时钟;
主控设备在所述预设时钟信号的上升沿或下降沿接收数字图像传感器
根据预设时钟信号发送的数据。
2.根据权利要求1所述的方法,其特征在于,主控设备向数字图像传
感器发送预设时钟信号之后,还包括:
数字图像传感器根据预设时钟信号对像素时钟同步信号作降阶运算。
3.根据权利要求1所述的方法,其特征在于,所述主控设备在所述预
设时钟信号的上升沿接收数字图像传感器根据预设时钟信号发送的数据,
具体为:
所述主控设备在所述预设时钟信号的上升沿接收所述数字图像传感器
通过数据输出线的最高位向所述主控设备发送的数据。
4.根据权利要求1所述的方法,其特征在于,主控设备在所述预设时
钟信号的上升沿或下降沿接收数字图像传感器根据预设时钟信号发送的数
据,具体为:
主控设备通过SPI接口的串行数据输入线在所述预设时钟信号的上升
沿或下降沿接收数字图像传感器根据预设时钟信号发送的数据。
5.根据权利要求1所述的方法,其特征在于,所述主控设备向数字图
像传感器发送预设时钟信号,具体为:
所述主控设备通过SPI接口的串行数据输出线向所述数字图像传感器
发送所述预设时钟信号。
6.根据权利要求1所述的方...
【专利技术属性】
技术研发人员:王国添,胡胜发,
申请(专利权)人:安凯广州微电子技术有限公司,
类型:发明
国别省市:广东;44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。