I have posted an issue here, but I am doubting it is a library issue. I will copy the contents here.
Problem: I am receiving a constant HIGH signal on the MISO line of the SC16IS760 regardless of input on the RX line of the SC16IS760.
- SPI1 (D2 = SCLK; D3 = MOSI; D4 = MISO; D5 = Reset; D6 = CS)
- 14.7456 MHz oscillator
- SPI1 is dedicated to only the SC16IS760 chip.
On a previous revision of the board I was able to use I2C successfully with the '740 chip. We have switched to SPI on the '760 to try to achieve a baud rate of 921600.
I want to rule out that this is not a library issue, however the hardware seems correct. Has anyone had success using the '760 chip with SPI so far? I’ve spent a couple days looking for solutions, or if other people have come across this issue, but have found nothing.
So far I have attempted: resetting the SC16IS760 upon B402 boot, trying multiple baud rates, hard-coding the 14.7456 MHz frequency into the library (
int oscillatorHz = 14745600), changing the
uint8_t spiClockSpeedMHz value, and some other things.