@shuaige 确认下linkup的速率是多少?你用的GMAC网口还是wifi?dmesg|grep eth看下log
Jingyan 发布的帖子
-
回复: 全志v85x spi通信速率稍微高点,spi clk就没输出,硬件BUG?用imx6ul就没有这种问题
@sofia 没太明白,为什么软件32K频率读,控制器会是33M频率输出?你可以试下spidev_test测试是否正常
-
回复: 新 SDK 平台下载 D1-H/D1s SDK
@gharibi From the log i see the dl folder cannot download, cloud you please try clone it alone such as
git clone https://sdk.aw-ol.com/git_repo/D1_Tina_Open/tina-d1-h/product/tina/dl
to see what happend.
Again, I think is still network or your git configuretion issue.
Try the search early EOF or TLS packet keywords on google -
回复: t113主频问题
@wyljkl dts里面有频点表吗?试试
# 查看当前各个核频率 more /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq | cat # 查看当前设置频点 cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq # 查看系统当前可用频点 cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies # 查看当前调度策略 cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
-
回复: 新 SDK 平台下载 D1-H/D1s SDK
@gharibi Hi, where is your location? we didn't try it out of china Maybe you need VPN...
-
回复: 全志v85x spi通信速率稍微高点,spi clk就没输出,硬件BUG?用imx6ul就没有这种问题
- dmesg|grep spi看下spi的打印信息
- cat /sys/kernel/debug/clk/clk_summary 看下时钟树是怎么分配的
- dump ccu中对应spi的寄存器,看下实际的分频系数是多少
-
回复: T507 twi 加密芯片atsha204
@z15242116489 dts节点要放对应的i2c下面,你放dtsi是没法识别到设备的。
最新社区内核代码github有
https://github.com/torvalds/linux -
回复: T507 twi 加密芯片atsha204
@z15242116489 看上去不是这么简单使用的,需要先写配置命令,在进行响应操作。
可以参考下
https://blog.csdn.net/weixin_41263510/article/details/105263052
https://github.com/Tvirus/atsha204a_driver -
回复: MQ 卡在VCC_Pc not found这里
@wd15365693548 不用,在uboot命令行改启动参数就可以
setenv initcall_debug 1 boot
-
回复: R128 SPI 问题 : 高于20MHZ CS控制出现异常, 导致无法传输数据, 且某些频率无法正常使用
- CS翻转问题请检查下逻辑分析仪的触发电平是否设置的太低?
- CLK不匹配问题,请看下CCU中SPI相关的寄存器与软件设置的值是否有差异?或者用hal_ccmu打印当前时钟源信息看看SPI是哪个时钟源,频率是多少?
-
回复: V851S I2C/TWI 损坏(xfer 错误)
@kanken6174 不建议修改引脚驱动能力,因为i2c协议要求总线为弱上拉,提高IO驱动能力会使之变成强上拉
当VCC为1.8V时,上拉电阻应选用2K
当VCC为3.3V时,上拉电阻应选用4.7K若无法正常使用,应排查走线质量与信号干扰。
-
回复: 请问D1怎么才能通过命令行动态给SPI调速?
使用spidev-test测试命令的-s参数可以调整spi速率
Usage: ./spidev_test [-DsbdlHOLC3vpNR24SI] -D --device device to use (default /dev/spidev1.1) -s --speed max speed (Hz) -d --delay delay (usec) -b --bpw bits per word -i --input input data from a file (e.g. "test.bin") -o --output output data to a file (e.g. "results.bin") -l --loop loopback -H --cpha clock phase -O --cpol clock polarity -L --lsb least significant bit first -C --cs-high chip select active high -3 --3wire SI/SO signals shared -v --verbose Verbose (show tx buffer) -p Send data (e.g. "1234\xde\xad") -N --no-cs no chip select -R --ready slave pulls low to pause -2 --dual dual transfer -4 --quad quad transfer -8 --octal octal transfer -S --size transfer size -I --iter iterations
-
回复: T507 twi 加密芯片atsha204
@z15242116489 这种特殊芯片可能需要特定的时序访问才能读到正确数据,请贴上datasheet或者read/write相关时序图
-
回复: R528的uart1如何开启R485自动流控
@liuqiang UART转RS485 IC的流控通过IO脚进行方向控制,控制器本身并没有这种功能,需要在代码里添加相关GPIO操作