完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
我在FPGA中使用触发功能。 FPGA的I / O引脚之一连接到GPS接收器。 在冷启动期间,GPS接收器需要时间锁定staellite。 一旦锁定,GPS接收器将每秒输出1个脉冲(1 PPS),然后通过串行端口输出NMEA流。 GPS接收器的I / O标准是LVTTL(3.3V)。 我正在使用这个1 PPS触发FPGA。我在设计中使用的状态如下 状态1(等待用户命令) 如果是,请转到州2 状态2(等待PPS触发) 如果触发,请转到状态3 Sate 3(NMEA流捕获到Block RAM) 保持这种状态的持续时间为0.9秒。 在此持续时间内,NMEA流存储在Block RAM中 如果时间> 0.9秒,请转到状态2 状态2和状态3 toggels 7次。 这样我就可以获得7种不同的NMEA流 但是我遇到了一个问题,当FPGA在开始时等待PPS时,会出现错误的触发。 我平行监视这个1 pps的范围。 我使用的范围垂直分辨率是1V。 我没有在范围内看到任何信号 我使用的触发功能如下 你好 state_PPSdetect:开始PPSQ阈值设置? 问候 费萨尔 以上来自于谷歌翻译 以下为原文 Hi I am using trigger function in FPGA . One of I/O pin of FPGA is connected to GPS receiver. GPS receiver needs time to get locked with staellite during cold start. Once it get locked , GPS receiver will output 1 pulse per second (1 PPS) followed by NMEA streams via the serial port. I/O standard of GPS receiver is LVTTL (3.3V). I am using this 1 PPS to trigger the FPGA .States I have used in the design are as follows State 1 (wait for command from user) if yes go to state 2 State 2 ( wait for PPS trigger) If triggered go to sate 3 Sate 3( NMEA stream capture into block RAM) stays in this state for a partcular duration say 0.9 seconds . Within this duration NMEA streams are stored into Block RAM If time > 0.9 seconds , go to state 2 State 2 and state 3 toggels for 7 times . So that I will get 7 different NMEA streams However I have faced a problem that , When FPGA waits for PPS at the begining , there is a false triggering . I am monitoring this 1 pps in scope parallely. Scope vertical resolution I have used is 1V. I did not see any signals in scope Trigger function I have used is as follows Hi state_PPSdetect : begin PPSQ <= onePPS_wire; // input PPSQQ <= PPSQ; if (risingedgedetection ==1'b1) begin LED_reg <=3'b111; state_next <= state_getNMEA; end else begin state_next<=state_current; LED_reg <= state_PPSdetect; end end assign risingedgedetection = PPSQ && ~PPSQQ; Also I have set the I/O of FPGA which is connected to GPS receiver to PULLDOWN in the constraint file I am wondering is what is the minimum voltage required to trigger ? Is there any way to set in FPGA , Trigger only If the voltage > threshold setting ? Regards Faisal |
|
相关推荐
14个回答
|
|
mcgett的解释可能是正确的:在启动(开机)或GPS-hunt-for-signal时,“触发”输出行为未定义。
这是一个反措施建议: 向FPGA状态机添加一个计数器,用于计算触发脉冲之间的时间延迟。 忽略落在前一触发脉冲的窄时间延迟窗口(例如0.975s至1.025s)之外的所有触发脉冲。 忽略所有触发脉冲,直到以适当的1s间隔(与延迟窗口匹配)接收到3个连续脉冲。 想法是在GPS启动或解锁条件下抑制或忽略脉冲。 使用DCM来“过滤”1pps脉冲可能不起作用。 共享通信接地是GPS和FPGA之间提供公共电压(和逻辑阈值)参考的原因。 到目前为止,你所描述的任何内容都没有表明分裂地面会影响虚假的触发问题。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 在原帖中查看解决方案 以上来自于谷歌翻译 以下为原文 mcgett's explanation is probably the correct one: on startup (power-on), or on GPS-hunt-for-signal, the "trigger" output behaviour is undefined. Here's a counter-measure suggestion:
Sharing a comon ground is what provides a common voltage (and logic threshold) reference between the GPS and the FPGA. Nothing you've described so far suggests that splitting the ground will affect the spurious trigger problem. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.View solution in original post |
|
|
|
费萨尔
听起来你有两个直接的顾虑(如果我错了请纠正我) 1.如何使用示波器捕获和显示用于状态机触发的GPS输出信号。 2.确定如何过滤GPS输出信号,使其可用作可靠的触发源。 过滤器逻辑可以采取避免响应错误触发器或从错误触发器恢复的形式 - 或两者兼而有之。 它是否正确? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Faisal, It sounds like you have two immediate concerns (please correct me if I'm wrong) 1. How to use your oscilloscope to capture and display your GPS output signal which you are using for your state machine trigger. 2. Determining how to filter the GPS output signal to make it usable as a reliable trigger source. Filter logic could take the form of either avoiding response to false triggers or recovering from false triggers -- or both. Is this correct? - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
谢谢鲍勃
1.如何使用示波器捕获和显示GPS输出 您用于状态机触发器的信号。 请参阅附带的连接图 2.确定如何过滤GPS输出信号以使其可用 一个可靠的触发源。 过滤逻辑可以采取任何一种形式 避免对错误触发器的响应或从错误触发器中恢复 - 或两者。 过滤逻辑? 你的意思是一些状态机逻辑 鲍勃,我想讲述这个故事 案例(1)GPS正在等待3D修复 我正在地下实验室测试我的设计。 我需要等待GPS才能获得近一个小时的3D修复。 在此期间,FPGA将等待1 PPS信号被触发。 正如我告诉你的那样,我的状态机在状态之间切换7次,即PPSdetect和getNMEAstream。 在这一小时内,FPGA被错误地触发了两三次,但Scope并未显示任何信号。 情况(2)GPS获得3D修复,每秒一次连续出现1 pps。 之后FPGA打开。 这次没有问题,这意味着触发是完美的。 我附上了三个数字 图1) 。 与FPGA和GPS接收器的范围连接 图(2)。 1 pps脉冲(1 pps脉冲重新着色) 图(3)。 1 pps脉冲放大。 (1 pps脉冲重新着色) 亲切的问候 费萨尔 以上来自于谷歌翻译 以下为原文 Thanks Bob 1. How to use your oscilloscope to capture and display your GPS output signal which you are using for your state machine trigger. Please see the connection diagram attached 2. Determining how to filter the GPS output signal to make it usable as a reliable trigger source. Filter logic could take the form of either avoiding response to false triggers or recovering from false triggers -- or both. Filter logic ? Do you mean some state machine logic Bob, I wish to tell the story Case (1) GPS is waiting for 3D fix I am testing my design in the lab which is in underground. I need to wait for GPS to get 3D fix nearly an hour. During this hour FPGA will be waiting for 1 PPS signal to get triggered. As I told you , my state machine toggles 7 times between the states namely PPSdetect and getNMEAstream . During this hour FPGA get triggered two or three times falsely , But Scope doesnot show any signal. Case (2) GPS get 3D fix and 1 pps is coming out continuously every one second. After that FPGA is turned on. This time there is no problem which means triggering is perfect. I have attached three figures figure (1) . Scope connection with FPGA and GPS receiver figure (2). 1 pps pulses ( 1 pps pulse is in re colour) figure (3). 1 pps pulse zoomed. ( 1 pps pulse is in re colour) Kind Regards Faisal |
|
|
|
|
|
|
|
|
|
|
|
在这一小时内,FPGA被错误地触发了两到三次,但Scope没有显示任何信号。
两个一般问题: 1.哪个是对的,哪个是错的,GPS输出脉冲或FPGA状态机。 您认为FPGA状态机的触发速度超过1PPS吗? 如果是,这意味着您的触发逻辑不可靠。 或者您认为触发器是否符合预期? 如果是,那么在示波器上捕获触发事件的方法是不合适的。 2. GPS触发脉冲的真实情况如下: 您对GPS输出信号的脉冲宽度和频率有多确定? 这个脉冲是在规范或数据表文件中明确定义的吗? 您知道如何使用数字存储示波器捕获不均匀的脉冲吗? 我不知道如何在不完全了解GPS输出脉冲特性的情况下设计一个完全可靠的状态机。 似乎这种理解是 - 不完整的。 你同意吗? 很可能是你的触发系统唯一不可靠的时候是GPS正在努力获得GPS“锁定”。 您的设计是否需要在缺少GPS锁定时检测条件,并忽略触发脉冲,直到“锁定”为止? 或者只有当GPS具有稳固锁定时,设计才能可靠地工作,并且当GPS信号条件不利时,行为不能得到“保证”。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 During this hour FPGA get triggered two or three times falsely , But Scope does not show any signal.Two general questions: 1. Which is right and which is wrong, GPS output pulse or FPGA state machine. Do you think the FPGA state machine is being triggered more than 1PPS? If yes, this means your trigger logic is unreliable. Or do you think the triggers are as expected? If yes, then your method of capturing trigger events on your oscilloscope is inadequate. 2. What does the GPS trigger pulse really look like: How certain are you of the pulse width and frequency of the GPS output signal? Is this pulse well defined in a specification or datasheet document? Do you know how to use a digital storage oscilloscope to capture pulses which are not uniform? I don't know how you could design a completely reliable state machine without a complete understanding of the GPS output pulse characteristics. It seems that this understanding is -- incomplete. Would you agree? It could well be that the only time your triggering system is unreliable is when the GPS is struggling to acquire GPS "lock". Does your design need to detect the condition when GPS lock is missing, and ignore trigger pulses until "lock" is solid? Or is it OK that the design works reliably only when GPS has solid lock, and behaviour is not 'guaranteed' when GPS signal conditions are not favourable. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
费萨尔
我累了,此刻我的耐心有点紧张。 你的范围图不是很有用。 将来,请包括电压标度和时标。 我怀疑你的触发脉冲不均匀。 您的示波器是否具有“无限持久性”模式? 如果是这样,您需要找到它并学习如何使用它。 将示波器触发器定位在波形显示的左边缘,并将时间刻度调整为几乎不适合“屏幕”中的脉冲宽度。 将触发电压设置为大约1.2V,不高。 让系统运行几个小时。 如果存在“欠幅”脉冲 - 太窄或太短 - 无限持久性显示应捕获它们。 3.如果您认为每秒接收的脉冲数超过1脉冲,那么您真的应该找出这种情况发生的原因并弄清楚这是否是一个可以避免的问题。 如果无法避免,你需要提出一个聪明的方案来忽略你应该忽略的脉冲,并识别你应该识别的脉冲。 这是一个用于忽略虚假脉冲的“滤波器”: 添加0.9秒计数器。 一旦收到触发脉冲,重置计数器并启动计数器运行。 忽略所有进一步的脉冲,直到0.9秒计数器“完成”。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Faisal, I'm tired, and my patience is running a bit thin at the moment. 1. Your scope plots are not very useful. In the future, please include both voltage scale and time scale. 2. I suspect your trigger pulses are not uniform. Does your scope have an "infinite persistence" mode? If so, you need to find it and learn how to use this. Position the scope trigger at the left edge of the waveform display, and adjust the timescale to just barely fit the pulse width in the "screen". Set the trigger voltage to around 1.2V, no higher. Let the system run for several hours. If there are "runt" pulses -- too narrow or too short -- the infinite persistence display should capture them. 3. If you think you are receiving more than 1 pulse per second, you really should find out why this happens and figure out if this is a problem which can be avoided. If it cannot be avoided, you'll need to come up with a clever scheme to ignore the pulses you should ignore, and recognise the pulses you should recognise. Here is one such "filter" for ignoring spurious pulses:
SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
1.哪个是对的,哪个是错的,GPS输出脉冲或FPGA状态机。
这很难解决。 这将是答案 您认为FPGA状态机的触发速度超过1PPS吗? 是的情况(1) 如果是,这意味着您的触发逻辑不可靠。 在情况(ii)中逻辑正常工作 或者您认为触发器是否符合预期? 绝对没有 如果是,那么在示波器上捕获触发事件的方法是不合适的。 我在正边沿触发模式下降低了0.1伏的触发电平。 示波器仍然没有接收任何东西。 我需要检查负边沿触发 2. GPS触发脉冲的真实情况如下: 鲍勃,我在之前的帖子中附加了1个PPS脉冲。这是我从范围中捕获的脉冲。 您对GPS输出信号的脉冲宽度和频率有多确定? 脉冲重复率:1 HZ 脉冲宽度:100微秒 然而,它们是两个连续脉冲之间的最大时间间隔误差。 我认为这与误触发无关。 请参阅我附上的图表 这个脉冲是在规范或数据表文件中明确定义的吗? 是的。 另外,我附上了一个显示1PPS脉冲规格的文件 您知道如何使用数字存储示波器捕获不均匀的脉冲吗? 我在正常模式下使用示波器和正边沿触发器。 这是错的吗 ? 考试结束等待结果:smileysad: 问候 费萨尔 ppsdetails.doc 115 KB 以上来自于谷歌翻译 以下为原文 1. Which is right and which is wrong, GPS output pulse or FPGA state machine. That is the difficult thing to figure it out. That will be the answer Do you think the FPGA state machine is being triggered more than 1PPS? Yes in case (1) If yes, this means your trigger logic is unreliable. Logic works fine in case (ii) Or do you think the triggers are as expected? No Definitely not If yes, then your method of capturing trigger events on your oscilloscope is inadequate. I have reduced the trigger level 0.1 volt in positive edge triggered mode. Still oscilloscope doesnot pick up anything. I need to check for negative edge trigger 2. What does the GPS trigger pulse really look like: Bob, I have attached the 1 PPS pulse in previous post .This is the one I have captured from the scope. How certain are you of the pulse width and frequency of the GPS output signal? Pulse repetition rate : 1 HZ Pulse width : 100 micro seconds However thers is a maximum time interval error between two consecutive pulses. I think that has nothing to do with false triggering. Please see the graph I have attached Is this pulse well defined in a specification or datasheet document? Yes it is. Also I have attached a word document which shows the 1PPS pulse specification Do you know how to use a digital storage oscilloscope to capture pulses which are not uniform? I use oscilloscope in normal mode with positve edge trigger . Is it wrong ? Exam finished waiting for the result :smileysad: Regards Faisal ppsdetails.doc 115 KB |
|
|
|
1.如何使用示波器捕获和显示GPS输出
您用于状态机触发器的信号。 请参阅附带的连接图 我更多地考虑了触发模式,时间刻度,持久模式,触发电平等。除此之外,您的图表绘制得非常好。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 1. How to use your oscilloscope to capture and display your GPS output signal which you are using for your state machine trigger.I was thinking more of trigger mode, timescale, persistence mode, trigger level, etc. Other than that, your diagram is very nicely drawn. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
1.哪个是对的,哪个是错的,GPS输出脉冲或FPGA状态机。
这很难解决。 这将是答案 您认为FPGA状态机的触发速度超过1PPS吗? 是的情况(1) 如果是,这意味着您的触发逻辑不可靠。 在情况(ii)中逻辑正常工作 你是说可以忽略案例(1),还是案例(1)必须解决的问题? 这个脉冲是在规范或数据表文件中明确定义的吗? 是的。 另外,我附上了一个显示1PPS脉冲规格的文件 你注意到了异常声明吗? case(1)是否符合异常条件? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 1. Which is right and which is wrong, GPS output pulse or FPGA state machine.Are you saying that case(1) can be ignored, or is case(1) a problem which must be solved? Is this pulse well defined in a specification or datasheet document?Did you notice the exception statement? Does case(1) match the exception condition? - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
您知道如何使用数字存储示波器捕获不均匀的脉冲吗?
我在正常模式下使用示波器和正边沿触发器。 这是错的吗 ? 你认为你在'范围内'缺少触发脉冲吗? 如果是,则需要设置范围以捕获并显示“丢失”脉冲。 示波器有很多旋钮,表盘和按钮。 是时候再使用它们了。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Do you know how to use a digital storage oscilloscope to capture pulses which are not uniform?Do you think you're missing trigger pulses on the 'scope? If yes, then scope needs to be set up to capture and display the "missing" pulses. The scope has lots of knobs and dials and buttons. It's time to use some more of them. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
谢谢鲍勃
你注意到了异常声明吗? case(1)是否符合异常条件? 我已经配置了GPS接收器,一旦它获得有效的定位,那么它只输出1pps脉冲。 我发现触发逻辑是问题的创造者。 因为 首先我打开FPGA,等待1 PPS脉冲。 然后我打开GPS接收器模块。 在切换时,FPGA被触发。 然后我做了5次切换,它被触发了5次。 它只是接收开关噪声,因为GPS和FPGA都是共用接地(我是对的吗?)。 不是直接从I / O处理1PPS脉冲,首先通过另一个DCM(延迟元件)传递脉冲并在DCM输出处理脉冲是否明智? 问候 费萨尔 以上来自于谷歌翻译 以下为原文 Thanks Bob Did you notice the exception statement? Does case(1) match the exception condition? I have configured the GPS receiver such that , once it got the valid position fix , then only it will output the 1pps pulse. I found that triggering logic is the problem creator. because First I turned on the FPGA , and will wait for 1 PPS pulse. Then I switch on the GPS receiver module. At the time of switching , FPGA got triggered. Then I did the switching 5 times , it got triggerd 5 times. It just picks up the switching noise , since both GPS and FPGA are sharing common ground ( Am i right ?). Instead of processing the 1PPS pulse directly from I/O , Would it be sensible to pass the pulse ,first through another DCM (delay element ) , and process the pulse at the DCM output ? Regards Faisal |
|
|
|
它只是接收开关噪声,因为GPS和FPGA都是共用接地(我是对的吗?)。
您是否在示波器上捕获此事件以查看发生了什么? 我的猜测是,这可能是GPS模块在开机时的默认行为,因为它每次都会发生。 ------您是否尝试在Google中输入问题? 如果没有,你应该在发布之前。太多结果? 尝试添加网站:www.xilinx.com 以上来自于谷歌翻译 以下为原文 It just picks up the switching noise , since both GPS and FPGA are sharing common ground ( Am i right ?). Did you capture this event on the oscilloscope to see what happened? My guess is that this is probably the default behavior of the GPS module during power-on since it happens every time. ------Have you tried typing your question into Google? If not you should before posting. Too many results? Try adding site:www.xilinx.com |
|
|
|
mcgett的解释可能是正确的:在启动(开机)或GPS-hunt-for-signal时,“触发”输出行为未定义。
这是一个反措施建议: 向FPGA状态机添加一个计数器,用于计算触发脉冲之间的时间延迟。 忽略落在前一触发脉冲的窄时间延迟窗口(例如0.975s至1.025s)之外的所有触发脉冲。 忽略所有触发脉冲,直到以适当的1s间隔(与延迟窗口匹配)接收到3个连续脉冲。 想法是在GPS启动或解锁条件下抑制或忽略脉冲。 使用DCM来“过滤”1pps脉冲可能不起作用。 共享通信接地是GPS和FPGA之间提供公共电压(和逻辑阈值)参考的原因。 到目前为止,你所描述的任何内容都没有表明分裂地面会影响虚假的触发问题。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 mcgett's explanation is probably the correct one: on startup (power-on), or on GPS-hunt-for-signal, the "trigger" output behaviour is undefined. Here's a counter-measure suggestion:
Sharing a comon ground is what provides a common voltage (and logic threshold) reference between the GPS and the FPGA. Nothing you've described so far suggests that splitting the ground will affect the spurious trigger problem. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
只有小组成员才能发言,加入小组>>
2379 浏览 7 评论
2794 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2261 浏览 9 评论
3335 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2427 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
755浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
543浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
364浏览 1评论
1960浏览 0评论
681浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-21 23:33 , Processed in 1.472446 second(s), Total 103, Slave 86 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号