My raspberry pi has now 3 HATs, RaspberryPi 4B + MCC172 + MCC172 + RS485 HAT.
At the first, I just activated NXP chip driver in /boot/config.txt and seems work.
But when starts MCC 172 data acquisition during tty capture, tty displayed garbage data (guess binary data from MCC172).
I searched interface specifications of MCC 172 and found from datasheet,
Unfortunately, I got error, below is dmesg results,
Quote
spi-bcm2835aux fe215080.spi: cs1 >= max 1
spi_master spi1: spi_device register error /soc/spi@7e215080/sc16is752@1
spi_master spi1: Failed to create SPI device for /soc/spi@7e215080/sc16is752@1
spi-bcm2835aux fe215080.spi: cs1 >= max 1
spi_master spi1: spi_device register error /soc/spi@7e215080/spidev@1
spi_master spi1: Failed to create SPI device for /soc/spi@7e215080/spidev@1
I'm not good at kernel, message seems raspberrypi-side problem, but I cannot find MCC172 overlay in boot folder.
Also hard to find reference on web, can I get any help?
Question
skycraper3
Hello, I'm using 2 x MCC172 HAT currently, and want to use additional HAT for RS-485 serial communication.
So, purchased https://www.waveshare.com/wiki/2-CH_RS485_HAT this one that using NXP SC16IS752 chip.
My raspberry pi has now 3 HATs, RaspberryPi 4B + MCC172 + MCC172 + RS485 HAT.
At the first, I just activated NXP chip driver in /boot/config.txt and seems work.
But when starts MCC 172 data acquisition during tty capture, tty displayed garbage data (guess binary data from MCC172).
I searched interface specifications of MCC 172 and found from datasheet,
SO I tried added lines on /boot/config.txt
and changed device tree overlay to CE1 chip select likes below,
Unfortunately, I got error, below is dmesg results,
I'm not good at kernel, message seems raspberrypi-side problem, but I cannot find MCC172 overlay in boot folder.
Also hard to find reference on web, can I get any help?
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now