This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 CAN HAT [RESOLVED]
#5
there are 2 versions of the HAT. the old version has two modifications.
A1. Quite old with 8MHz quartz and serial UART
A2. same but with 12 MHz quartz

and now what TO has is B Variant
The board is well documented in WIKI from manufacturer
https://www.waveshare.com/wiki/RS485_CAN_HAT_(B)
Code:
dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25,,spimaxfrequency=1000000
dtoverlay=sc16is752-spi1,int_pin=24
After reboot the serial ports /dev/ttySC0 & /dev/ttySC1 are available.
Reply


Messages In This Thread
RS485 CAN HAT [RESOLVED] - by yiannis - 2023-03-18, 08:31 PM
RE: RS485 CAN HAT - by holgerw - 2023-03-18, 10:20 PM
RE: RS485 CAN HAT - by yiannis - 2023-03-20, 12:06 AM
RE: RS485 CAN HAT - by holgerw - 2023-03-20, 12:24 AM
RE: RS485 CAN HAT - by BlackSea - 2023-03-20, 09:37 AM
RE: RS485 CAN HAT - by yiannis - 2023-03-20, 12:59 PM
RE: RS485 CAN HAT [RESOLVED] - by holgerw - 2023-03-20, 09:17 PM
RE: RS485 CAN HAT [RESOLVED] - by yiannis - 2023-03-21, 01:12 AM
RE: RS485 CAN HAT [RESOLVED] - by holgerw - 2023-03-21, 01:22 AM
RE: RS485 CAN HAT [RESOLVED] - by yiannis - 2023-03-21, 02:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)