stm32f407读取ov2640的数据格式有问题

2019-07-20 20:13发布

1、使用的ov2640模块
2、使用stm32f407的dcmi接口和dma接口,收到帧中断后将数组的数据通过串口发送
3、数据(中断一次收到如下数据,)
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
......................................................................................
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 d8 d8 ff e0 0 10 4a 46 49 46 0 1
1 1 0 0 0 0 0 0 ff db 24 43 0 c 8 9 b 9 8 c b a b e d c e 12 1e 14 12 11
11 12 25 1a 1c 16 1e 2c 26 2e 2d 2b 26 2a 29 30 36 45 3b 30 33 41 34 29 2a 3c 52 3d 41 47 4a 4d
4e 4d 2f 3a 55 5b 54 4b 5a 45 4c 4d 4a ff db db 24 43 1 d e e 12 10 12 23 14 14 4a 4a 32 2a
4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a 4a ff c4 c4 0 1f 20 0 1 5
............................................................................................................................................................
d4 62 d1 8a 96 31 69 6a 94 2d 2d 21 8b 4b 40 8c 5d 94 6d a2 e0 1b 68 c1 f4 a0 41 83 e9 4f 88 7c
e3 90 cd 1a 29 88 5a 5a 43 1b 4a 69 8c 5a 29 88 5a 5a 43 a 5a 18 e a2 8e 80 63 a7 2b 4e a9 60
18 a5 cd 31 b ba a6 86 3e 77 1a a5 a8 16 d 14 c6 3d 14 8 4a 5a 25 14 b4 fa 14 14 2d 2f 7e 95
90 82 9d 46 e3 17 bd 14 8 c5 5c 20 5 3f 23 d6 b2 18 bf 2e 2e de b4 e1 19 3c 8a 7b 64 17 ca 6f
ee d5 a8 c7 c8 29 ea 13 a9 6a 94 25 2d 20 a 2a ad a0 b 45 3 16 9c 29 8 29 c2 a8 62 d1 48 c
13 45 48 6 6a cd bd c6 c6 df 95 bf 3a 42 2e 75 14 b5 40 40 2d 14 8 28 a6 31 29 d4 c0 5a 28 18
b4 ea 50 14 ea 60 2d 2 90 1f ff d9 d9 20
(下面继续循环类似上面格式的数据)
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.................................................................................................
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 28 d8 ff e0
......................................................................................................
ff d9 d9 20
..........................................循环好几次类似的上述数据..................................
0条回答

一周热门 更多>