Real-time control HDL Coder and Zedboard
2 ビュー (過去 30 日間)
古いコメントを表示
Hi everybody; I'm a beginner with HDL Coder and FPGA. I want to design a real-time control based on FPGA using the Simulink coder for HDL; the first step is to interface the Zedboard with the real world throught AD/DA converters (PmodAD1 and PmodDA2). I need to: - Serialize the data for PmodDA2 input; - Deserialize the data from PmodAD1 output; Do you have suggestion?
I tried to use the Serializer1 and Deserializer1D but it doesn't work like I expected... I mean, the simulation works but in practice it doesn't. At the output pin of the board I don't have the serial data.
More precisely (looking at the help of SerializerD1): I did a test setting the Input Vector (parallel data) come from the 8 Switches on the Board, when signal ValidIn is high (I settled to a physical button on the board), it starts the conversion, but it doesn't. When I push the button (ValidIn = 1), ValidOut and StartOut become high and it's not correct because StartOut should be just a pulse. The Output reflect the status of the first switch (if switch0 = 1, Output = 1 if switch0 = 0, Output = 0).
In attach the Simulink model and as you can see, the Serializer1D works in the simulation.
Thank you. Paolo
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!