Untronix Posted Tuesday at 05:12 PM Share Posted Tuesday at 05:12 PM Hello! I have orange pi one, and i need to connect 2-ch rs232 hat from waveshare, i tried to do something similar to instruction for raspberry only with replacement to armbianEnv.txt, but it’s not worked. I’m newbie, can anyone describe how i can connect this hat? 0 Quote Link to comment Share on other sites More sharing options...
going Posted Tuesday at 05:44 PM Share Posted Tuesday at 05:44 PM 30 минут назад, Untronix сказал: i need to connect 2-ch rs232 hat from waveshare Question. Can you publish any technical documentation for this device? 0 Quote Link to comment Share on other sites More sharing options...
Untronix Posted Tuesday at 06:18 PM Author Share Posted Tuesday at 06:18 PM (edited) 41 minutes ago, going said: Question. Can you publish any technical documentation for this device? Here is all source files https://www.waveshare.com/wiki/2-CH_RS232_HAT SC16IS752_datasheet.pdf 2-CH_RS232_HAT_SchDoc.pdf Edited Tuesday at 06:26 PM by Untronix 0 Quote Link to comment Share on other sites More sharing options...
going Posted Tuesday at 07:38 PM Share Posted Tuesday at 07:38 PM 1 час назад, Untronix сказал: Here is all source files https://www.waveshare.com/wiki/2-CH_RS232_HAT First, you need to connect the pins correctly. They will be different for your board: Hardware Connection 232 PIN Raspberry Pi (BCM) Description VCC 5V 3.3/5V Power Input GND GND Ground SCLK P21 (SPI1 SCLK) SPI Clock Signal Input MOSI P20 (SPI1 MOSI) SPI Data Input MISO P19 (SPI1 MISO) SPI Data Output CS P18 (SPI1 CS) SPI Chip Select IRQ P24 Interrupt Output . Цитата Software setup Open the terminal and modify the config.txt file by commands: sudo nano /boot/config.txt Add the line below to the file, the int_pin should be set according to the actual welding: dtoverlay=sc16is752-spi1,int_pin=24 You need to write the correct overlay file and compile it. Then this instruction. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.