Cypress技术william hill官网
直播中

李悠冉

7年用户 252经验值
私信 关注
[问答]

如何向SCB SPI SS和SCLK引脚添加逻辑

嗨,伙计们,
我不断地用最新的问题撞砖墙。
由于我无法上传所有的文件到这个帖子,我创建了一个Dropbox文件夹与这两个项目和相应的输出测量的逻辑分析仪。
HTTPS://www. DROPBOX.COM/S/DT8D2SR44 X65 PGT/ZLYHAHPGPI
我必须为SPI和UART分时SCB。我最初的问题是如何应用我的SPI所需的逻辑(由于从在每个事务之前和之后需要两个附加的时钟周期)到SCB块。
我在P0〔6〕与P0〔5〕之间建立了物理链路,并将逻辑添加到PIN P0〔5〕。
当我手动控制SS引脚时,我用这个引脚作为逻辑威廉希尔官方网站 的第二个输入。
我不明白为什么我不能像我在SPI设计中那样从SCB设计中得到相同的响应。
请忽略这个阶段的UART部分。
如有任何帮助,将不胜感激。
-卡特琳

以上来自于百度翻译


     以下为原文
  Hi guys,
    I keep hitting a brickwall with my latest problem.
    As I cannot upload all files to this post I have created a dropbox folder with the two projects and the corresponding output measured by a logic analyser.
    https://www.dropbox.com/sh/dt8d2sr44x65pgt/ZlyAhhpgpi
    I have to timeshare an SCB for SPI and UART. My initial problem is how to apply the logic required for my SPI (due to slave requiring two added clockcycles before and after each transaction) to an SCB block.
    I created a physical link between P0[6] and P0[5] and added the logic to pin P0[5].
    As I control the SS pin manually, i used this pin as the second input to the the logic circuit.
    I don't see why i don't get the same response from the SCB design as i do in the working SPI design.
    Please ignore the UART part at this stage.
    Any help would be greatly appreciated.
    -Katrine

更多回帖

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