Skip to main content
Associate II
May 11, 2025
Question

STM32H745 parallel transmission

Hi, I have Interface (type MASTER) 10-bit + CLK, FCLK=~9MHz

Can I use DCMI to read 10-bit without VSYNC and HSYNC?

Or some other method? The usual assembler software method "ldr r1, [port, #....]" is too slow and despite many attempts it has not been possible to do it this way.

Cpu CLK ~400MHz, AHB4 ~200MHz, ARB4 ~100MHz

This topic has been closed for replies.

5 replies

AScha.3
Super User
May 11, 2025

Hi,

first: what you do with the data ? (You get about 20MB/sec , cpu has ~ 1M RAM , so 1/20 sec to "full" .)

Or how much data to receive?

+

>DCMI to read 10-bit

Should work, VSYNC and HSYNC together to a pin : hi->lo starts capture (= "frame" for video)

AScha3_0-1746972920916.png

 

If you feel a post has answered your question, please click on " Best Answer ".
EsKiAuthor
Associate II
May 12, 2025

My data has frames that are easy to catch and are not long (around 1kB) and are easy to process from assemble.

Normally I could connect something to DCMI_HSYNC, but I use LCD_VSYNC on pin PA4 (I have VGA output) and I don't have an alternative to DCMI_HSYNC on another pin.

My data is similar to the DCMI interface - 8 bit + clk + hsync + vsync and it would be possible to process it using all pins, if not PA4. Unless there is a way to move LCD_VSYNC or DCMI_HSYNC to a different pin than PA4

AScha.3
Super User
May 12, 2025

So you cannot enable the DCMI at all, because PA4 used for LCD and no more avail for DCMI .

If you feel a post has answered your question, please click on " Best Answer ".
EsKiAuthor
Associate II
May 12, 2025

I can not configure the pin alternatively for one of the functions, but it will not help.

So how to do fast read (9MHz) 10-bit + external CLK?

Theoretically, it should be trivially simple even in software, because data processing comes down to 2-3 AND, 2-3 SHIFT, write