T527有tina linux吧? 这片子还是全志老朋友有点热情,3566 3568太火了
HQEmbed 发布的帖子
-
回复: T113-s3 适配EMMC(THGBMJG6C1LBAIL等)持续更新!!!
贴主,做板验证了吗? 查了下T113-s3的SDC2的引脚PC2~PC7内部是参考VCC-IO的,一般是接了3.3V,eMMC的VCCQ接1.8V会起效?
-
T113的LEDC怎么控制超过32个的灯
大家好,LEDC FIFO是32个深度,如果超出32个灯,像100个这样,怎么编程呢?现在产品上要用它来做,效果比3个PWM或者IO来好用多了,就是32个灯的突破要怎么编程还不知道怎么搞
-
回复: R528LVDS接口输出怎么配置,在设备树里面配置了,感觉没有效果呀?
对的,改default_lcd就行了,我贴几个验证过的lvds屏你参考下
/* lvds 1280x400 &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <255>; //166mA*255/166mA = 255 lcd_if = <3>; lcd_x = <1280>; lcd_y = <400>; lcd_width = <179>; lcd_height = <56>; lcd_dclk_freq = <38>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <21>; lcd_ht = <1364>; lcd_hspw = <1>; lcd_vbp = <46>; lcd_vt = <469>; lcd_vspw = <1>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; //0:8bit 1:6bit
/* lvds 1024x600 8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <255>; //166mA*255/166mA = 255 lcd_if = <3>; lcd_x = <1024>; lcd_y = <600>; lcd_width = <176>; lcd_height = <99>; lcd_dclk_freq = <51>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <164>; lcd_ht = <1344>; lcd_hspw = <4>; lcd_vbp = <15>; lcd_vt = <635>; lcd_vspw = <4>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; //0:8bit 1:6bit
/* lvds 1024x768 8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <0>; //130mA*255/166mA = 200 lcd_if = <3>; lcd_x = <1024>; lcd_y = <768>; lcd_width = <162>; lcd_height = <121>; lcd_dclk_freq = <65>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <162>; lcd_ht = <1344>; lcd_hspw = <4>; lcd_vbp = <26>; lcd_vt = <806>; lcd_vspw = <4>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; //0:8bit 1:6bit
/* lvds 800x1280 8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <135>; //88mA*255*166mA = 135 lcd_if = <3>; lcd_x = <800>; lcd_y = <1280>; lcd_width = <135>; lcd_height = <216>; lcd_dclk_freq = <68>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <40>; lcd_ht = <860>; lcd_hspw = <20>; lcd_vbp = <24>; lcd_vt = <1330>; lcd_vspw = <4>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; //0:8bit 1:6bit
/* LVDS 1280x800 8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <135>; //88mA*255*166mA = 135 lcd_if = <3>; lcd_x = <1280>; lcd_y = <800>; lcd_width = <150>; lcd_height = <94>; lcd_dclk_freq = <71>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <20>; lcd_ht = <1418>; lcd_hspw = <10>; lcd_vbp = <10>; lcd_vt = <814>; lcd_vspw = <5>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; //0:8bit 1:6bit /* LVDS 1280x720 8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <255>; //166mA*255*166mA = 255 lcd_if = <3>; lcd_x = <1280>; lcd_y = <720>; lcd_width = <176>; lcd_height = <99>; lcd_dclk_freq = <64>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <32>; lcd_ht = <1340>; lcd_hspw = <5>; lcd_vbp = <38>; lcd_vt = <792>; lcd_vspw = <5>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; //0:8bit 1:6bit
/* lvds 1366x768 6bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <135>; //88mA*255*166mA = 135 lcd_if = <3>; lcd_x = <1366>; lcd_y = <768>; lcd_width = <344>; lcd_height = <193>; lcd_dclk_freq = <69>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <80>; lcd_ht = <1478>; lcd_hspw = <32>; lcd_vbp = <12>; lcd_vt = <782>; lcd_vspw = <4>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <1>; //0:8bit 1:6bit lcd_lvds_mode = <0>; lcd_frm = <1>; //1:enable rgb666 dither
/* lvds 1920x360 2x8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <135>; //88mA*255*166mA = 135 lcd_if = <3>; lcd_x = <1920>; lcd_y = <360>; lcd_width = <597>; lcd_height = <112>; lcd_dclk_freq = <148>; //Double lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <40>; lcd_ht = <2200>; lcd_hspw = <20>; lcd_vbp = <15>; lcd_vt = <1125>; lcd_vspw = <5>; lcd_lvds_if = <1>; //0:single lvds 1:dual lvds lcd_lvds_colordepth = <0>; //0:8bit 1:6bit /* lvds 1920x720 2x8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <135>; //88mA*255*166mA = 135 lcd_if = <3>; lcd_x = <1920>; lcd_y = <720>; lcd_width = <292>; lcd_height = <109>; lcd_dclk_freq = <90>; //Double lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <40>; lcd_ht = <1980>; lcd_hspw = <20>; lcd_vbp = <15>; lcd_vt = <745>; lcd_vspw = <5>; lcd_lvds_if = <1>; //0:single lvds 1:dual lvds lcd_lvds_colordepth = <0>; //0:8bit 1:6bit lcd_lvds_mode = <1>; //0:NS mode; 1:JEIDA mode 1 for C123HAX02.2
/* lvds 1920x1080 2x6bit 2x8bit &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <135>; //88mA*255*166mA = 135 lcd_if = <3>; lcd_x = <1920>; lcd_y = <1080>; lcd_width = <344>; lcd_height = <193>; lcd_dclk_freq = <142>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <20000>; lcd_pwm_pol = <1>; //1:negative lcd_pwm_max_limit = <255>; lcd_bl_en = <&pio PE 17 GPIO_ACTIVE_HIGH>; lcd_hbp = <142>; lcd_ht = <2142>; lcd_hspw = <32>; lcd_vbp = <11>; lcd_vt = <1100>; lcd_vspw = <6>; lcd_lvds_if = <1>; //0:single lvds 1:dual lvds lcd_lvds_colordepth = <0>; //0:8bit 1:6bit lcd_lvds_mode = <0>; lcd_frm = <0>; //1:enable rgb666 dither
-
回复: R528-s3点7.84" MIPI屏
GT911 接45P普通平板电容触摸屏的小板,大量便宜外屏可用了,一般45P的都是14x26的,如台电P20HD的。我这有3种类似外屏都是一样的45P.参数都能用一个。
网盘先上,里面有打版gerber和原理图, asc是可导入pads成PCB,也可用AD导入成PCB。HQ_R528资料
链接:https://pan.baidu.com/s/1SKZaQ8Vn89dKK-XICLH4nA
提取码:79oi -
回复: R528LVDS接口输出怎么配置,在设备树里面配置了,感觉没有效果呀?
R528跟T113差不多,基本参考它就行。
LVDS好搞,如果参数不行,把分辨率改了后,直接用以前OK的时序先顶上调调看。 -
回复: R528-s3点7.84" MIPI屏
更新下动态,类似板型已经在产了,这个板基本引出了所有功能并经过了验证。准备上架核心板。
做了7.4" 1280x400和 10.1" 1280x800两种竖屏,使用G2D旋转后Framebuffer就是横屏操作,这点真的很棒。
外壳原型打印回来,喷上漆挺好看的,5个按键通过硅胶帽接触按压,很柔软舒服。下面是10.1的,使用了G+G的普通平板外屏,做了GT911的电容屏小板,用产测工具固化好参数,就能使用便宜量大的平板G+G了。
10.1的竖屏真便宜现在, G+G也只要18,
-
回复: R528-s3点7.84" MIPI屏
@xiaowenge 暂时没用上它, 先预研下, 现在在用7.36" 1280x400和8" 1600x480的,这2货是LVDS横屏,但市场不多了。
刚好G2D有旋转功能,可以直接当横屏用了。 用过S3点6.86那时候还是得CPU去做旋转,有动态效果时CPU都到90%了。 -
回复: R528-s3点7.84" MIPI屏
画PCB, 画外壳,PCB上的接口有以下:
千兆RJ45 无POE
USBx2
TF Card
2.4G/5G Wifi, IPX/SMA接口的两种天线插座选装一种
5xKey (LRADC), 5个按键在侧边,要装外壳有硅胶按键帽配合,非常舒服
2xGPADC, 4P XH2.54 单排针, 1.8V电压范围, PIN1准备了个1/2的分压来测试下。
2xMIC 1.25MM 2P插座, 配带线的MIC。
2x3W喇叭,贴板安装
3x全彩LED WS2812B , 第3个LED的DO输出到 GPIO插座,可以再串接5V的WS2812B灯条。 据说1024个最大,但FIFO只有32个, 具体要突破这个32的编程还没Demo。
电阻触摸 4P 1.0mm插座
电容触摸 6P 插座
30P MIPI液晶插座
40P MIPI液晶插座 (此口配了个转10.1" 800x1280 液晶的转接板)
再GPIO简牛插座,PB2~PB12, PC0~PC1, PG8~PG11, PG16(LEDC应用,已经串接了 3个WS2812B)
CR2032 RTC电池插座,使用R528自身RTC, 精工晶振+村田电容, 精度室温10.x ppm左右。就是5V停电时电流有点大11uA了。一般够用。
Debug 3.3V TTL UART0 3P XH2.54插座, (PB0,PB1)
Type-C 5V电源插座
-
回复: 【FAQ】全志F133(D1s)芯片 如何在Tina下进行显示旋转?
g2d_rotate_degree = 90是绿屏, 音频有,视频就是绿屏。
如果是1 是不旋转,这时正常。 是不是G2D旋转出了问题? -
R528-s3喇叭咔嗒声
R528-s3外接喇叭, 从HPOUTL HPOUTR引出信号到PA,使用PG17做为MUTE信号。 用aplay播放wav提示音时,会先有咔嗒声, msleep_time也调整过,都还是有,这个要从哪里着手解决呢?这个已经导产,是一个影响产品体验的bug.
pa_level = <0x00>; pa_pwr_level = <0x01>; pa_msleep_time = <500>; //0x78 gpio-spk = <&pio PG 17 GPIO_ACTIVE_LOW>;
-
R528-s3点7.84" MIPI屏
7.84最常见的量最大的应该是维泰的,但型号和生产日期太多了。于是点起来了,这不重要,
重要的是手上有3个规格,如WTL078401G05-24M, WTL078401G04-24M, WTL078401G01-18M
每个都有不同的生产日期,拿WTL078401G05-24M来说,我手上就有2017,2018, 2022,开始是LT6911C点的, 除了04-24M外都正常。
放到R528上,只有05-24M的2017, 2018正常, 用逻辑分析仪抓包看,在初始化时最开始果然多了一个0x05写,这有坛友知道怎么来的么?
之前10.1 800x1280竖屏和1920x1200横屏挺正常,就没抓包看。这个是多次抓包都会有这个0x05写命令在,所以可以排除逻辑分析仪测量错误,不过上百个初始化数据里面可能会有2,3个抓错的,多次抓对比一下就行。
-
回复: R528-S3接RTL8211F,插百兆网线显示千兆而且无法udhcpc
好吧,功能基本调完,千兆的在genphy_read_status里面判断下phy状态,改下link speed就行了,千百兆都可以了。结贴。、
操蛋的是用的 南方硅谷的双频wifi竞然芯片停产了,特定搞了点库存,导产都不够。 -
回复: R528-S3接RTL8211F,插百兆网线显示千兆而且无法udhcpc
补充一下,插千兆网线时是千兆link灯亮, 插百兆网线时百兆link灯会亮,这样看芯片自动协商是正确的。
-
R528-S3接RTL8211F,插百兆网线显示千兆而且无法udhcpc
R528-S3接的RTL8211F,千兆网线正常, 接百兆网线还是显示千兆,而且无法udhcpc,这个要改gmac.c 吗?
-
回复: R528-S3 内核崩溃__invoke_psci_fn_smc
@whycanservice 感谢,我试试,刚好功能全测完,只剩下这个问题。
是OPTEE打包后直接挂,所以去掉了OPTEE,结果又遇到SMP问题。 -
回复: T113-S3的单路LVDS可以输出1920x720 @60Hz分辨率图像吗?
@barrng 不少啊,10.3寸,12.3寸的一些屏有单1920x720的。最新的16寸之类的条屏也是数据率上去了好多。
-
R528-S3 内核崩溃__invoke_psci_fn_smc
R528-S3上手,直接买芯片做的板,内核中配置PSCI会导致内核挂掉,报错__invoke_psci_fn_smc,而T113不会报这个错。
去掉PSCI选项呢,跑起来又只看到单核, 3个板都如此,难道买到次品芯片了?
各位大神有遇到这啥情况不?
-
回复: T113-S3的单路LVDS可以输出1920x720 @60Hz分辨率图像吗?
我观文档写是1366x768, 有个单路的1920x720的屏要点, 如果输出不了就只能加MIPI转LVDS芯片了, 或者寻找双LVDS转单LVDS的方案转一下
-
T113-S3的单路LVDS可以输出1920x720 @60Hz分辨率图像吗?
向群友请教个问题,T113的LVDS单路能输出1920x720 @60Hz的时序吗? 一些HDMI转LVDS, MIPI转LVDS的芯片单LVDS输出的分辨率可以达到1920x720。