Hello.. I am quite new to CCES Platform and using of ADSP BF-707 BLIP2 Board for image capturing. Can anyone please help me out how to export the frames captured and stored in the board to PC and send it to a local server using GSM SIM900A Module??
We do not have any support for SIM900A to send from PC to local server and we haven’t used it.
For saving frames on to PC, please see the following example FrameCapture_ClassDriver_ASX340 or OV7692 which is available in BLIP2 BSP examples. Refer to the SPI_Communication_Protocol.pdf which will be available when you install the following product:Video Occupancy Sensor, Blackfin | Analog Devices . You have to modify the SPI code which is already available in Video Occupancy Sensor product as per SIM900A requirements.
The other approach is following:
Video Occupancy Sensor 3.3.0 product provides examples like sending frame data over USB to Host PC application. The host PC application product is ADVision Sensor Controller which is available from following URL:ADZS-BF707-BLIP2 Evaluation Board | Analog Devices , use this to get frames on to Host PC, run the GUI in capture mode alone.
The SIM900A module can be interfaced using SPI interface. Current SPI example protocol that is being implemented in Video Occupancy Sensor 3.3.0 is available under the document SPI_Communication_Protocol.pdf which will be available inside docs folder of the Video Occupancy Sensor product.
You have to modify the SPI related code for SIM900A module to be functional and for sending image data via SPI.
I will try to work on it and will seek your help if required. And thanks a lot for your valuable time and guidance.
Thanks a lot. Really delighted to receive a reply from you.
I have successfully implemented and executed the sample example FrameCapture_ClassDriver_OV7692 and got the desired output in the GUI.
But still, I am having some trouble in extracting the image on to the PC.
Moreover thanks for sharing the information regarding the SIM900A module, and it will be a great help if you can kindly share some reference links or documentation to use SPI / UART interfaces with SIM900A for interfacing the module.
Thanks and Regards
I am sorry, there is no document which covers specifically interface between SIM900A and BLIP2.
However, you can download the Video Occupancy Sensor 3.3.0 product for which links are Video Occupancy Sensor, Blackfin | Analog Devicesfollowing. The installed folder contains a docs folder inside that please refer SPI_Communication_Protocol.pdf
Thank You & Regards,
I tried to follow your guidance and refer to the SPI_Communication_Protocol.pdf. But I have not been able to find the desired pdf in the docs folder, as I try to download the Video Occupancy Sensor 3.3.0 product, it downloads the application.
It will be really helpful if u can kindly share the pdf of SPI_Communication_Protocol and help me proceed.
Please see the following URL: https://ez.analog.com/message/280694
Thanks for sharing. Will work on it and will be back to you if I have any more doubts.
Well I am still working on the SPI_Communication_Protocol for transferring of data, could you please share any document for guidance on the UART_Communication_protocol for transferring of data, as I am looking for alternatives to build the framework to send the image to a local server.
Just a clarification from my end: SPI Communication Protocol command formats defined in the SPI Communication Protocol document are custom commands. It will provide some idea on how to interface and how the data get transferred on the SPI bus. When you use SIM900 module, frame the commands / packet as per the document suggested by SIM900 module specs.
If you need an example on how to use UART APIs, please have a look at the UART ECHO example where you can get from the browse examples of the BLIP2 BSP.
For sending 320 x 240 x 2 image over UART at 115200 baud rate it will take at least 13 seconds. Is that acceptable for your application. For transferring such high data rates please use SPI.
For data rates where you have a requirement of sending few hundreds of bytes please use UART.
Thanks for your valuable suggestion and guidance. But being new to the platform and tools, I am learning SPI as well as UART communication procedures.
It will be a great favour if you could kindly help me out with some sample code or suggestion to read image status using UART.
Also to understand the functional architecture of capturing image and the processing of the captured frames and calculating the occupancy.
Please have a look at the Video Occupancy Sensor 3.3.0 product. It can be downloaded from following URL:Video Occupancy Sensor, Blackfin | Analog Devices
After installation of the product have a look at the document: KT-1644_VOS_UsersGuide.pdf. It contains a high level system overview block diagram.
You can also go through the source code of the same.
For "read image status using UART", could you please let us know what is needed for you.
What is the application you are targeting here ? Will BLIP capture an image and send it over SPI to GSM module which will take care of the transmission. In that case I would suggest that you run the ADI JPEG encoder on the captured image, and send the compressed bit stream over SPI running at 8/16 MHz.
Thanks for your valuable suggestion. I am new to using the platform so trying to learn the desired possibilities of how the image data can be transferred from the BLIP2 board either by UART or SPI.
If you could share some sample example or documentation how it can be done, it would be really helpful to work it out.
Also, kindly help me out in understanding the functional architecture how the image capturing through the sensor leading to the video analytics (VOS) and showing the output in the ADVisionSensorController GUI.
Retrieving data ...