hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits

UART and GPIO PZEM-004T

Yassine-Ca
Beginner
278 Views

Hi,

          I have DE1-SoC Cyclone V FPGA, I need to connect the PZEM-004T, which is a power management module working on RS232.

 

           Can I use GPIO as RS232? if the answer is yes how to configure or any examples.

           Any example or procedure to configure the USB-UART on DE1 to connect the module PZEM-004T.

            Please find attached the wiring of the PZEM-004T.

            Regards.

YassineCa_0-1739056277228.png

 

Labels (1)
0 Kudos
3 Replies
khtan
Employee
169 Views

Hi Yassine,

Sorry for the delay in replying, I'm Kian and will be supporting on this case.

 

As per your question, looking at the schematic on DE1-SoC, I dont think it is possible as most UART pins are taken up for other functionality or not connected (not exposed on any of the IO headers on the board) , and the existing HPS UART is connected to usb micro.

 

khtan_0-1739937632061.png

 

You can download some terasic examples or the schematic from here (https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=167&No=836&PartNo=4#contents) but I'm afraid doesnt have any that suits your needs.

 

Alternatively to confirm on this, you could email Terasic Support (support@terasic.com) to get their confirmation whether possible to utilize any ports for RS232 for PZEM-004T.

 

Thanks

Regards

Kian

 

 

0 Kudos
khtan
Employee
116 Views

Hi,

Just checking up on this case whether any further questions on this case, otherwise I would like to transition to community support.

 

Thanks

Regards

Kian

0 Kudos
khtan
Employee
50 Views

Hi,

 

As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.

 

Thanks

Regards

Kian

0 Kudos
Reply