TI论坛
直播中

费加罗

8年用户 817经验值
私信 关注
[问答]

LMK04828-EP为什么没有时钟信号输出?


  • lmk04828_SPI_WriteReg (0x000080); data = lmk04828_SPI_readReg(0x000080);
    lmk04828_SPI_WriteReg (0x000000); data = lmk04828_SPI_readReg(0x000000);
    lmk04828_SPI_WriteReg (0x000200); data = lmk04828_SPI_readReg(0x000200);
    lmk04828_SPI_WriteReg (0x000306); data = lmk04828_SPI_readReg(0x000306);
    lmk04828_SPI_WriteReg (0x1FFD00); data = lmk04828_SPI_readReg(0x1FFD00);
    lmk04828_SPI_WriteReg (0x1FFE00); data = lmk04828_SPI_readReg(0x1FFE00);
    lmk04828_SPI_WriteReg (0x1FFF53); data = lmk04828_SPI_readReg(0x1FFF53);
    lmk04828_SPI_WriteReg (0x000306); data = lmk04828_SPI_readReg(0x000306);
    lmk04828_SPI_WriteReg (0x0004D0); data = lmk04828_SPI_readReg(0x0004D0);
    lmk04828_SPI_WriteReg (0x00055B); data = lmk04828_SPI_readReg(0x00055B);
    lmk04828_SPI_WriteReg (0x000600); data = lmk04828_SPI_readReg(0x000600);
    lmk04828_SPI_WriteReg (0x000C51); data = lmk04828_SPI_readReg(0x000C51);
    lmk04828_SPI_WriteReg (0x000D04); data = lmk04828_SPI_readReg(0x000D04);
    lmk04828_SPI_WriteReg (0x010003); data = lmk04828_SPI_readReg(0x010003);
    lmk04828_SPI_WriteReg (0x010155); data = lmk04828_SPI_readReg(0x010155);
    lmk04828_SPI_WriteReg (0x010255); data = lmk04828_SPI_readReg(0x010255);
    lmk04828_SPI_WriteReg (0x010301); data = lmk04828_SPI_readReg(0x010301);
    lmk04828_SPI_WriteReg (0x010402); data = lmk04828_SPI_readReg(0x010402);
    lmk04828_SPI_WriteReg (0x010500); data = lmk04828_SPI_readReg(0x010500);
    lmk04828_SPI_WriteReg (0x0106F1); data = lmk04828_SPI_readReg(0x0106F1);
    lmk04828_SPI_WriteReg (0x010755); data = lmk04828_SPI_readReg(0x010755);
    lmk04828_SPI_WriteReg (0x01080C); data = lmk04828_SPI_readReg(0x01080C);
    lmk04828_SPI_WriteReg (0x010955); data = lmk04828_SPI_readReg(0x010955);
    lmk04828_SPI_WriteReg (0x010A55); data = lmk04828_SPI_readReg(0x010A55);
    lmk04828_SPI_WriteReg (0x010B00); data = lmk04828_SPI_readReg(0x010B00);
    lmk04828_SPI_WriteReg (0x010C02); data = lmk04828_SPI_readReg(0x010C02);
    lmk04828_SPI_WriteReg (0x010D00); data = lmk04828_SPI_readReg(0x010D00);
    lmk04828_SPI_WriteReg (0x010EF1); data = lmk04828_SPI_readReg(0x010EF1);
    lmk04828_SPI_WriteReg (0x010F05); data = lmk04828_SPI_readReg(0x010F05);
    lmk04828_SPI_WriteReg (0x011008); data = lmk04828_SPI_readReg(0x011008);
    lmk04828_SPI_WriteReg (0x011155); data = lmk04828_SPI_readReg(0x011155);
    lmk04828_SPI_WriteReg (0x011255); data = lmk04828_SPI_readReg(0x011255);
    lmk04828_SPI_WriteReg (0x011300); data = lmk04828_SPI_readReg(0x011300);
    lmk04828_SPI_WriteReg (0x011402); data = lmk04828_SPI_readReg(0x011402);
    lmk04828_SPI_WriteReg (0x011500); data = lmk04828_SPI_readReg(0x011500);
    lmk04828_SPI_WriteReg (0x0116F9); data = lmk04828_SPI_readReg(0x0116F9);
    lmk04828_SPI_WriteReg (0x011700); data = lmk04828_SPI_readReg(0x011700);
    lmk04828_SPI_WriteReg (0x011818); data = lmk04828_SPI_readReg(0x011818);
    lmk04828_SPI_WriteReg (0x011955); data = lmk04828_SPI_readReg(0x011955);
    lmk04828_SPI_WriteReg (0x011A55); data = lmk04828_SPI_readReg(0x011A55);
    lmk04828_SPI_WriteReg (0x011B00); data = lmk04828_SPI_readReg(0x011B00);
    lmk04828_SPI_WriteReg (0x011C02); data = lmk04828_SPI_readReg(0x011C02);
    lmk04828_SPI_WriteReg (0x011D00); data = lmk04828_SPI_readReg(0x011D00);
    lmk04828_SPI_WriteReg (0x011EF1); data = lmk04828_SPI_readReg(0x011EF1);
    lmk04828_SPI_WriteReg (0x011F33); data = lmk04828_SPI_readReg(0x011F33);
    lmk04828_SPI_WriteReg (0x012000); data = lmk04828_SPI_readReg(0x012000);
    lmk04828_SPI_WriteReg (0x012155); data = lmk04828_SPI_readReg(0x012155);
    lmk04828_SPI_WriteReg (0x012255); data = lmk04828_SPI_readReg(0x012255);
    lmk04828_SPI_WriteReg (0x012300); data = lmk04828_SPI_readReg(0x012300);
    lmk04828_SPI_WriteReg (0x012402); data = lmk04828_SPI_readReg(0x012402);
    lmk04828_SPI_WriteReg (0x012500); data = lmk04828_SPI_readReg(0x012500);
    lmk04828_SPI_WriteReg (0x0126F1); data = lmk04828_SPI_readReg(0x0126F1);
    lmk04828_SPI_WriteReg (0x012701); data = lmk04828_SPI_readReg(0x012701);
    lmk04828_SPI_WriteReg (0x012808); data = lmk04828_SPI_readReg(0x012808);
    lmk04828_SPI_WriteReg (0x012955); data = lmk04828_SPI_readReg(0x012955);
    lmk04828_SPI_WriteReg (0x012A55); data = lmk04828_SPI_readReg(0x012A55);
    lmk04828_SPI_WriteReg (0x012B00); data = lmk04828_SPI_readReg(0x012B00);
    lmk04828_SPI_WriteReg (0x012C02); data = lmk04828_SPI_readReg(0x012C02);
    lmk04828_SPI_WriteReg (0x012D00); data = lmk04828_SPI_readReg(0x012D00);
    lmk04828_SPI_WriteReg (0x012EF9); data = lmk04828_SPI_readReg(0x012EF9);
    lmk04828_SPI_WriteReg (0x012F00); data = lmk04828_SPI_readReg(0x012F00);
    lmk04828_SPI_WriteReg (0x013006); data = lmk04828_SPI_readReg(0x013006);
    lmk04828_SPI_WriteReg (0x013155); data = lmk04828_SPI_readReg(0x013155);
    lmk04828_SPI_WriteReg (0x013255); data = lmk04828_SPI_readReg(0x013255);
    lmk04828_SPI_WriteReg (0x013300); data = lmk04828_SPI_readReg(0x013300);
    lmk04828_SPI_WriteReg (0x013402); data = lmk04828_SPI_readReg(0x013402);
    lmk04828_SPI_WriteReg (0x013500); data = lmk04828_SPI_readReg(0x013500);
    lmk04828_SPI_WriteReg (0x0136F1); data = lmk04828_SPI_readReg(0x0136F1);
    lmk04828_SPI_WriteReg (0x013733); data = lmk04828_SPI_readReg(0x013733);
    lmk04828_SPI_WriteReg (0x013821); data = lmk04828_SPI_readReg(0x013821);
    lmk04828_SPI_WriteReg (0x013900); data = lmk04828_SPI_readReg(0x013900);
    lmk04828_SPI_WriteReg (0x013A0C); data = lmk04828_SPI_readReg(0x013A0C);
    lmk04828_SPI_WriteReg (0x013B00); data = lmk04828_SPI_readReg(0x013B00);
    lmk04828_SPI_WriteReg (0x013C00); data = lmk04828_SPI_readReg(0x013C00);
    lmk04828_SPI_WriteReg (0x013D08); data = lmk04828_SPI_readReg(0x013D08);
    lmk04828_SPI_WriteReg (0x013E03); data = lmk04828_SPI_readReg(0x013E03);
    lmk04828_SPI_WriteReg (0x013F00); data = lmk04828_SPI_readReg(0x013F00);
    lmk04828_SPI_WriteReg (0x01401F); data = lmk04828_SPI_readReg(0x01401F);
    lmk04828_SPI_WriteReg (0x014100); data = lmk04828_SPI_readReg(0x014100);
    lmk04828_SPI_WriteReg (0x014200); data = lmk04828_SPI_readReg(0x014200);
    lmk04828_SPI_WriteReg (0x014311); data = lmk04828_SPI_readReg(0x014311);
    lmk04828_SPI_WriteReg (0x014400); data = lmk04828_SPI_readReg(0x014400);
    lmk04828_SPI_WriteReg (0x01457F); data = lmk04828_SPI_readReg(0x01457F);
    lmk04828_SPI_WriteReg (0x014618); data = lmk04828_SPI_readReg(0x014618);
    lmk04828_SPI_WriteReg (0x01471A); data = lmk04828_SPI_readReg(0x01471A);
    lmk04828_SPI_WriteReg (0x014802); data = lmk04828_SPI_readReg(0x014802);
    lmk04828_SPI_WriteReg (0x014942); data = lmk04828_SPI_readReg(0x014942);
    lmk04828_SPI_WriteReg (0x014A02); data = lmk04828_SPI_readReg(0x014A02);
    lmk04828_SPI_WriteReg (0x014B16); data = lmk04828_SPI_readReg(0x014B16);
    lmk04828_SPI_WriteReg (0x014C00); data = lmk04828_SPI_readReg(0x014C00);
    lmk04828_SPI_WriteReg (0x014D00); data = lmk04828_SPI_readReg(0x014D00);
    lmk04828_SPI_WriteReg (0x014EC0); data = lmk04828_SPI_readReg(0x014EC0);
    lmk04828_SPI_WriteReg (0x014F7F); data = lmk04828_SPI_readReg(0x014F7F);
    lmk04828_SPI_WriteReg (0x015003); data = lmk04828_SPI_readReg(0x015003);
    lmk04828_SPI_WriteReg (0x015102); data = lmk04828_SPI_readReg(0x015102);
    lmk04828_SPI_WriteReg (0x015200); data = lmk04828_SPI_readReg(0x015200);
    lmk04828_SPI_WriteReg (0x015300); data = lmk04828_SPI_readReg(0x015300);
    lmk04828_SPI_WriteReg (0x015478); data = lmk04828_SPI_readReg(0x015478);
    lmk04828_SPI_WriteReg (0x015500); data = lmk04828_SPI_readReg(0x015500);
    lmk04828_SPI_WriteReg (0x015678); data = lmk04828_SPI_readReg(0x015678);
    lmk04828_SPI_WriteReg (0x015700); data = lmk04828_SPI_readReg(0x015700);
    lmk04828_SPI_WriteReg (0x015896); data = lmk04828_SPI_readReg(0x015896);
    lmk04828_SPI_WriteReg (0x015900); data = lmk04828_SPI_readReg(0x015900);
    lmk04828_SPI_WriteReg (0x015A78); data = lmk04828_SPI_readReg(0x015A78);
    lmk04828_SPI_WriteReg (0x015BD4); data = lmk04828_SPI_readReg(0x015BD4);
    lmk04828_SPI_WriteReg (0x015C20); data = lmk04828_SPI_readReg(0x015C20);
    lmk04828_SPI_WriteReg (0x015D00); data = lmk04828_SPI_readReg(0x015D00);
    lmk04828_SPI_WriteReg (0x015E00); data = lmk04828_SPI_readReg(0x015E00);
    lmk04828_SPI_WriteReg (0x015F0B); data = lmk04828_SPI_readReg(0x015F0B);
    lmk04828_SPI_WriteReg (0x016000); data = lmk04828_SPI_readReg(0x016000);
    lmk04828_SPI_WriteReg (0x016101); data = lmk04828_SPI_readReg(0x016101);
    lmk04828_SPI_WriteReg (0x016244); data = lmk04828_SPI_readReg(0x016244);
    lmk04828_SPI_WriteReg (0x016300); data = lmk04828_SPI_readReg(0x016300);
    lmk04828_SPI_WriteReg (0x016400); data = lmk04828_SPI_readReg(0x016400);
    lmk04828_SPI_WriteReg (0x01650C); data = lmk04828_SPI_readReg(0x01650C);
    lmk04828_SPI_WriteReg (0x0171AA); data = lmk04828_SPI_readReg(0x0171AA);
    lmk04828_SPI_WriteReg (0x017202); data = lmk04828_SPI_readReg(0x017202);
    lmk04828_SPI_WriteReg (0x017C15); data = lmk04828_SPI_readReg(0x017C15);
    lmk04828_SPI_WriteReg (0x017D33); data = lmk04828_SPI_readReg(0x017D33);
    lmk04828_SPI_WriteReg (0x016600); data = lmk04828_SPI_readReg(0x016600);
    lmk04828_SPI_WriteReg (0x016700); data = lmk04828_SPI_readReg(0x016700);
    lmk04828_SPI_WriteReg (0x01680C); data = lmk04828_SPI_readReg(0x01680C);
    lmk04828_SPI_WriteReg (0x016959); data = lmk04828_SPI_readReg(0x016959);
    lmk04828_SPI_WriteReg (0x016A20); data = lmk04828_SPI_readReg(0x016A20);
    lmk04828_SPI_WriteReg (0x016B00); data = lmk04828_SPI_readReg(0x016B00);
    lmk04828_SPI_WriteReg (0x016C00); data = lmk04828_SPI_readReg(0x016C00);
    lmk04828_SPI_WriteReg (0x016D00); data = lmk04828_SPI_readReg(0x016D00);
    lmk04828_SPI_WriteReg (0x016E13); data = lmk04828_SPI_readReg(0x016E13);
    lmk04828_SPI_WriteReg (0x017300); data = lmk04828_SPI_readReg(0x017300);
    lmk04828_SPI_WriteReg (0x018200); data = lmk04828_SPI_readReg(0x018200);
    lmk04828_SPI_WriteReg (0x018300); data = lmk04828_SPI_readReg(0x018300);
    lmk04828_SPI_WriteReg (0x018400); data = lmk04828_SPI_readReg(0x018400);
    lmk04828_SPI_WriteReg (0x018500); data = lmk04828_SPI_readReg(0x018500);
    lmk04828_SPI_WriteReg (0x018800); data = lmk04828_SPI_readReg(0x018800);
    lmk04828_SPI_WriteReg (0x018900); data = lmk04828_SPI_readReg(0x018900);
    lmk04828_SPI_WriteReg (0x018A00); data = lmk04828_SPI_readReg(0x018A00);
    lmk04828_SPI_WriteReg (0x018B00); data = lmk04828_SPI_readReg(0x018B00);
    lmk04828_SPI_WriteReg (0x1FFD00); data = lmk04828_SPI_readReg(0x1FFD00);
    lmk04828_SPI_WriteReg (0x1FFE00); data = lmk04828_SPI_readReg(0x1FFE00);
    lmk04828_SPI_WriteReg (0x1FFF53); data = lmk04828_SPI_readReg(0x1FFF53);
    lmk04828_SPI_WriteReg (0x000306); data = lmk04828_SPI_readReg(0x000306);
      

    我按照如上寄存器配置对芯片进行配置,芯片没有时钟信号输出

回帖(3)

李娟

4 天前
 芯片需要复位
举报

徐胤

4 天前
您是想输出多大频率的时钟信号? 或者输入是多少频率,想配置多少频率的输出?
附上的寄存器配置是使用TICSpro 配置的吗?
举报

康大争

4 天前
LMK04828-EP是一款由德州仪器(Texas Instruments)生产的精密时钟发生器,用于生成稳定的时钟信号。根据您的代码片段,您正在尝试通过SPI接口与LMK04828-EP进行通信,并配置其寄存器。以下是您提供的代码片段的逐步解释:

1. lmk04828_SPI_WriteReg(0x000080); data = lmk04828_SPI_readReg(0x000080);
   - 将0x000080寄存器写入,然后读取该寄存器的值。

2. lmk04828_SPI_WriteReg(0x000000); data = lmk04828_SPI_readReg(0x000000);
   - 将0x000000寄存器写入,然后读取该寄存器的值。

3. lmk04828_SPI_WriteReg(0x000200); data = lmk04828_SPI_readReg(0x000200);
   - 将0x000200寄存器写入,然后读取该寄存器的值。

4. lmk04828_SPI_WriteReg(0x000306); data = lmk04828_SPI_readReg(0x000306);
   - 将0x000306寄存器写入,然后读取该寄存器的值。

5. lmk04828_SPI_WriteReg(0x1FFD00); data = lmk04828_SPI_readReg(0x1FFD00);
   - 将0x1FFD00寄存器写入,然后读取该寄存器的值。

6. lmk04828_SPI_WriteReg(0x1FFE00); data = lmk04828_SPI_readReg(0x1FFE00);
   - 将0x1FFE00寄存器写入,然后读取该寄存器的值。

7. lmk04828_SPI_WriteReg(0x1FFF53); data = lmk04828_SPI_readReg(0x1FFF53);
   - 将0x1FFF53寄存器写入,然后读取该寄存器的值。

根据您的描述,LMK04828-EP没有时钟信号输出。这可能是由于以下原因:

1. 寄存器配置错误:请确保您正确配置了LMK04828-EP的寄存器。您可以查阅LMK04828-EP的数据手册,了解如何正确配置寄存器以生成所需的时钟信号。

2. 硬件连接问题:请检查您的硬件连接,确保LMK04828-EP与您的微控制器或其他设备之间的连接正确无误。

3. 电源问题:请确保LMK04828-EP的电源供应稳定且符合其规格要求。

4. 代码问题:请检查您的代码,确保您正确实现了SPI通信和寄存器配置。

建议您首先检查寄存器配置,然后检查硬件连接和电源问题。如果问题仍然存在,您可能需要进一步调试代码或寻求技术支持。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分