用F28335 XINTF 与其他芯片交换数据,发现XINTF时钟太快,有办法改慢点么
XintfRegs.XINTCNF2.bit.XTIMCLK = 1;
// No write buffering
XintfRegs.XINTCNF2.bit.WRBUFF = 0;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF = 0;
// XCLKOUT = XTIMCLK/2
XintfRegs.XINTCNF2.bit.CLKMODE = 1;
希望能用到 XTIMCLK = 1/4 SYSCLKOUT
10#:
参考XINTF用户手册SPRUFB0D 2.2 XINTF Clocking部分框图,可以对各个区单独配置时钟。
用F28335 XINTF 与其他芯片交换数据,发现XINTF时钟太快,有办法改慢点么
XintfRegs.XINTCNF2.bit.XTIMCLK = 1;
// No write buffering
XintfRegs.XINTCNF2.bit.WRBUFF = 0;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF = 0;
// XCLKOUT = XTIMCLK/2
XintfRegs.XINTCNF2.bit.CLKMODE = 1;
希望能用到 XTIMCLK = 1/4 SYSCLKOUT
xiaolou:
将XintfRegs.XTIMING0.bit.X2TIMING = 1;;仍然无法解决问题,请问有其他方式么,谢谢!
用F28335 XINTF 与其他芯片交换数据,发现XINTF时钟太快,有办法改慢点么
XintfRegs.XINTCNF2.bit.XTIMCLK = 1;
// No write buffering
XintfRegs.XINTCNF2.bit.WRBUFF = 0;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF = 0;
// XCLKOUT = XTIMCLK/2
XintfRegs.XINTCNF2.bit.CLKMODE = 1;
希望能用到 XTIMCLK = 1/4 SYSCLKOUT
xiaolou:
补充:XintfRegs.XTIMING0.bit.XWRLEAD = 3;
XintfRegs.XTIMING0.bit.XWRACTIVE = 7;
XintfRegs.XTIMING0.bit.XWRTRAIL = 3;
// Zone read timing
XintfRegs.XTIMING0.bit.XRDLEAD = 3;
XintfRegs.XTIMING0.bit.XRDACTIVE = 7;
XintfRegs.XTIMING0.bit.XRDTRAIL = 3;
将这些配置设为最大,仍然无法解决
用F28335 XINTF 与其他芯片交换数据,发现XINTF时钟太快,有办法改慢点么
XintfRegs.XINTCNF2.bit.XTIMCLK = 1;
// No write buffering
XintfRegs.XINTCNF2.bit.WRBUFF = 0;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF = 0;
// XCLKOUT = XTIMCLK/2
XintfRegs.XINTCNF2.bit.CLKMODE = 1;
希望能用到 XTIMCLK = 1/4 SYSCLKOUT
Jones Chen:
回复 xiaolou:
1. 请阅读TI F28335 XINTF的User Guide。
2. 请根据上述User Guide中的第2.2章节 XINTF Clock, Figure 3 进行XINTF时钟的配置。
用F28335 XINTF 与其他芯片交换数据,发现XINTF时钟太快,有办法改慢点么
XintfRegs.XINTCNF2.bit.XTIMCLK = 1;
// No write buffering
XintfRegs.XINTCNF2.bit.WRBUFF = 0;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF = 0;
// XCLKOUT = XTIMCLK/2
XintfRegs.XINTCNF2.bit.CLKMODE = 1;
希望能用到 XTIMCLK = 1/4 SYSCLKOUT
10#:
回复 Jones Chen:
All XINTF registers are EALLOW protected.
确认EALLOW保护已打开。
用F28335 XINTF 与其他芯片交换数据,发现XINTF时钟太快,有办法改慢点么
XintfRegs.XINTCNF2.bit.XTIMCLK = 1;
// No write buffering
XintfRegs.XINTCNF2.bit.WRBUFF = 0;
// XCLKOUT is enabled
XintfRegs.XINTCNF2.bit.CLKOFF = 0;
// XCLKOUT = XTIMCLK/2
XintfRegs.XINTCNF2.bit.CLKMODE = 1;
希望能用到 XTIMCLK = 1/4 SYSCLKOUT
xiaolou:
参考XINTF用户手册SPRUFB0D 2.2 XINTF Clocking部分框图,可以对各个区单独配置时钟。
尝试过,不见效果阿,有其他方式么,请教了