Skip to content

NXP RT1064 CSI implementation of OV5640 #90743

Answered by mariopaja
mariopaja asked this question in Q&A
Discussion options

You must be logged in to vote

Hi all,

I was eventually able to implement the camera, both tcpserversink and capture samples.

In the tcpserversink the issue was on the following part:
https://github.com/zephyrproject-rtos/zephyr/blob/e22ca6b132840efb23b4a00ff7718225a0dd9f29/samples/drivers/video/tcpserversink/src/main.c#L93C1-L106C3

	if (caps.min_line_count != LINE_COUNT_HEIGHT) {
		LOG_ERR("Partial framebuffers not supported by this sample");
		return 0;
	}

	/* Alloc Buffers */
	for (i = 0; i < ARRAY_SIZE(buffers); i++) {
		buffers[i] = video_buffer_alloc(fmt.pitch * fmt.height, K_FOREVER);
		if (buffers[i] == NULL) {
			LOG_ERR("Unable to alloc video buffer");
			return 0;
		}
		buffers[i]->type = type;
	}

after ch…

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mariopaja
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mariopaja
Comment options

You must be logged in to vote
1 reply
@mariopaja
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
platform: NXP NXP area: Video Video subsystem
4 participants