T113-S3 SPI clk 波形异常
-

&spi1 {
clock-frequency = <100000000>;
pinctrl-0 = <&spi1_pins_a &spi1_pins_b>;
// pinctrl-1 = <&spi1_pins_c>;
// pinctrl-names = "default", "sleep";
pinctrl-names = "default";
spi_slave_mode = <0>;
spi1_cs_number = <1>;
spi1_cs_bitmap = <1>;status = "okay"; debug=<0xFFFFFFFF>; spi_oled@0 { // device_type = "spi_oled"; compatible = "solomon,ssd1322"; spi-max-frequency = <10000000>; reg = <0x0>; spi-cpha; spi-cpol; reset-gpios = <&pio PD 3 GPIO_ACTIVE_LOW>; dc-gpios = <&pio PD 4 GPIO_ACTIVE_HIGH>; width = <256>; height = <64>; buswidth = <8>; fps = <30>; rotate = <0>; status = "okay"; debug=<0xFFFFFFFF>; };};
-
我对 Keysight 示波器不太熟悉,但我理解的没错吧,信号是用 1 倍探头而不是 10 倍探头探测的?
这一点很重要,因为使用 1 倍探头会大幅降低带宽。
你的 SPI 时钟频率设置为 100MHz,需要一台性能良好的示波器才能正确显示信号。构成方波的谐波是奇次谐波,因此示波器的带宽需要远大于 100MHz,并且采样率也要与之匹配。
所以在我看来,你示波器上的波形看起来并不算异常,尤其考虑到 3.3V 的信号经过截止频率约为 6MHz 的一阶探头滤波器衰减后,其幅度会远小于 3.3V 的输出电压。
Translated from English:
I'm not familiar with keysight scopes, but am I right when saying that the signal is probed with a 1x probe instead of 10x.
Why this is important, is that with a 1x probe the bandwidth is reduced quite a bit.
With your SPI clock set to 100MHz one needs a good scope to see a proper representation of the signal. The harmonics that make up the square wave are the odd ones, so the scope needs to have a bandwidth of way more than 100MHz and a sampling rate to go with it.
So to me the trace on your scope does not look that abnormal, also considering that a 3.3V signal reduced by a first order probe filter with a cutoff point around 6MHz will be far less than the 3.3V output.
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号