页次: 1
1921096212 说:@IThaozi
发个照片看看https://whycan.com/files/members/15392/IMG20241015224033.jpg
ttl转lvds接口的芯片
发个完整的图片看看和之前那版有啥区别。
上传一个逻辑分析仪抓的SPI初始化数据,金沙滩逻辑分析仪软件可以打开。
ssd2828.rar
数据如下,24bit,三线SPI:
/*CS 28.345us*/
/*CLK 25MHz*/
write_hw_register(0x70,0x00,0xB0);
read_hw_register(0x73,0x00,0x00);//返回0x28,0x28
delay_us(10000);//10ms
write_hw_register(0x70,0x00,0xB1);
write_hw_register(0x72,0x06,0x14);
write_hw_register(0x70,0x00,0xB2);
write_hw_register(0x72,0x16,0x46);
write_hw_register(0x70,0x00,0xB3);
write_hw_register(0x72,0x10,0x46);
write_hw_register(0x70,0x00,0xB4);
write_hw_register(0x72,0x03,0x20);
write_hw_register(0x70,0x00,0xB5);
write_hw_register(0x72,0x05,0x00);
write_hw_register(0x70,0x00,0xB6);
write_hw_register(0x72,0xA0,0x09);
write_hw_register(0x70,0x00,0xDB);
write_hw_register(0x72,0x00,0x98);
write_hw_register(0x70,0x00,0xDE);
write_hw_register(0x72,0x00,0x03);
write_hw_register(0x70,0x00,0xB7);
write_hw_register(0x72,0x03,0x02);
write_hw_register(0x70,0x00,0xBA);
write_hw_register(0x72,0xC4,0x5E);
write_hw_register(0x70,0x00,0xB8);
write_hw_register(0x72,0x00,0x00);
write_hw_register(0x70,0x00,0xBB);
write_hw_register(0x72,0x00,0x07);
write_hw_register(0x70,0x00,0xB9);
write_hw_register(0x72,0x00,0x01);
delay_us(500);//500us
write_hw_register(0x70,0x00,0xBC);
write_hw_register(0x72,0x00,0x01);
write_hw_register(0x70,0x00,0xBF);
write_hw_register(0x72,0x00,0x11);
delay_us(150000);//150ms
write_hw_register(0x70,0x00,0xBC);
write_hw_register(0x72,0x00,0x01);
write_hw_register(0x70,0x00,0xBF);
write_hw_register(0x72,0x00,0x29);
delay_us(200000);//200ms
write_hw_register(0x70,0x00,0xB7);
write_hw_register(0x72,0x07,0x02);
write_hw_register(0x70,0x00,0xC0);
write_hw_register(0x72,0x00,0x00);
write_hw_register(0x70,0x00,0xBC);
write_hw_register(0x72,0x00,0x04);
write_hw_register(0x70,0x00,0xBF);
write_hw_register(0x72,0x98,0xFF);
write_hw_register(0x72,0x01,0x81);
write_hw_register(0x70,0x00,0xB7);
write_hw_register(0x72,0x03,0x02);
write_hw_register(0x70,0x00,0xC0);
write_hw_register(0x72,0x00,0x00);
write_hw_register(0x70,0x00,0xBC);
write_hw_register(0x72,0x00,0x02);
write_hw_register(0x70,0x00,0xBF);
write_hw_register(0x72,0x0A,0x22);
delay_us(1000);//1ms
write_hw_register(0x70,0x00,0xB7);
write_hw_register(0x72,0x03,0x0B);
期待有大佬可以裸奔点亮。
这个其实在去年中秋就在别的论坛开源了,那时还不知道@晕哥的这个论坛,
刚才看帖看到晕哥发过:https://whycan.cn/t_1520.html
所以转发下之前的开源到这里。
首先来张镇楼图!
之前我发过一个帖子:开源目前为止STM32绝无仅有的PCE游戏模拟器,F7流畅40帧!
当时这个模拟器就是在镇楼图上的那个STM32F7+ndsl外壳的大掌机上跑的。
今天的开源主角不是STM32F7+ndsl外壳的大掌机,而是更强悍的STM32H7的小掌机。
正面图是这样的
背面电路板是这样的,主控是STM32H743IIT6.
整机的设计依然是我朋友feisheng168,下面这位大佬
顺便介绍下我的角色,下面就是我干的事
好了,以上都是废话,下面来看下这个开源的小掌机,
这个是列表的样子,当然,本次开源只做了第一个NES和第二个PCE,
下面的三个模拟器是空的,只是为了UI的美观加上去的,
也希望有愿意DIY的朋友添加进来。
NES的列表及经典游戏超级玛丽
PCE的列表及经典游戏雷电
讲了这么多,不如上干货
========================================
原理图+PCB,是PCB哦,不是PDF,是PCB:
game_boy-Sch-PCB.rar
========================================
Keil5程序工程:
game_boy_open_V1_0_1_part1.rar
game_boy_open_V1_0_1_part2.rar
========================================
TF卡文件,解压后放TF卡根目录
tf_part1.rar
tf_part2.rar
最后一点补充:这里不谈成本,我们只是STM32和掌机的FANS,我们只谈情怀。
如果对你有用,还希望你们向这些愿意开源的朋友给予肯定!
如果有需要以此为商业获利的(比如开发板),
还请能申明感谢下:feisheng168或小小草DIY工作室,
当然,顺便感谢下我这个非专业美工motoedy更好。
可以转载,但是不能转载到别的网站而牟利(比如转载后付费下载),开源本来就是免费的。
当然,这个只是个人DIY的东西,并不完美,也希望各位愿意DIY的DIYer一起来完善。
欢迎支持下,谢谢。
motoedy 说:大佬能分享下你裁剪后的工程么?
这是我的工程,删了一些不用的文件和第三方库。如果你需要,再对照原始的工程添加回来。
编译出来的bin文件133kB。
xboot-size-opt.zip
感谢大佬分享!
页次: 1