mtk查看硬件原理图
2019-07-14 10:34发布
生成海报
https://blog.csdn.net/zhigouliu/article/details/73848682
地址:192.168.22.243software_HW_Resource_项目分类939-37原理图B939_MB_V5.0_20161125.sch
软件:PADS9.5_3in1中文精简破解版
1.查看tp的reset硬件是哪个GPIO
1.1 查原理图\192.168.22.243software\_HW_Resource_项目分类939-37原理图B939_MB_V5.0_20161125.sch
"14_LCM_CTP"
选中"RET_CTP"----右键_选择网络----next
找到"PCM_SYNC"
1.2 查表格\192.168.22.243software\_HW_Resource_项目分类939-37B939M10_GPIO配置表.xls
PCM_SYNC----TP复位脚----GPIO62
2.查看串口点:
2.1 查原理图\192.168.22.243software\_HW_Resource_项目分类939-37原理图B939_MB_V5.0_20161125.sch
"07_BB_2"
"UART"
"UTXD0" - 点击选中
打开\192.168.22.243software\_HW_Resource_项目分类939-37原理图B939_MB_V5.0_20161125.pcb
点击“标准工具栏”中的“PADS Layout”,与B939_MB_V5.0_20161125.pcb链接
在layout中可以看到有网络高亮。即所要找的串口测试点
注:在查看layout图中,由于太多层叠,可以在菜单栏的“设置”中修改“显示颜 {MOD}设置”
关闭一些,只保留"Top"和"Bottom" 即可
3.喇叭没有声音----硬件测喇叭是好的
3.1 硬件原理图查看喇叭gpio口
\192.168.22.243software\_HW_Resource_项目分类939-37原理图B939_MB_V5.0_20161125.sch
查看得知为GPIO59
3.2 修改驱动 - 如果是写死在驱动中
kernel-3.18soundsocmediatekmt_soc_audio_v3mt_soc_codec_63xx.c
1867 #define GPIO_SPEAKER_EN_PIN 59 //改为2
3.3 修改dts - 如果是写在dts中
/* AUdio_extal_AMP_GPIO Kernel Standardization start */
&pio {
audioss_default: audioss_default {
};
pinctrl_audioss0: pinctrl_audioss0@gpio59 {
pins_cmd_dat {
pins = ;
slew-rate = <1>;
bias-pull-up = <00>;
};
};
pinctrl_audioss0_low: pinctrl_audioss0_low@gpio59 {
pins_cmd_dat {
pins = ;
slew-rate = <1>;
output-low;
bias-pull-up = <00>;
};
};
pinctrl_audioss0_high: pinctrl_audioss0_high@gpio59 {
pins_cmd_dat {
pins = ;
slew-rate = <1>;
output-high;
bias-pull-up = <00>;
};
};
};
&audioss {
pinctrl-names = "audioss_default", "pinctrl_audioss0", "pinctrl_audioss0_low", "pinctrl_audioss0_high";
pinctrl-0 = <&audioss_default>;
pinctrl-1 = <&pinctrl_audioss0>;
pinctrl-2 = <&pinctrl_audioss0_low>;
pinctrl-3 = <&pinctrl_audioss0_high>;
status = "okay";
};
/* AUdio_extal_AMP_GPIO Kernel Standardization end */
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮