Problem with SPI CH1 and SPI CH2 working simultaneously
Posted: Wed May 29, 2019 9:36 am
Hi everyone
In a P16F18877 I've tried either the SPI CH1 or the SPI CH2 working as standalone with success.
Today I tried both SPI channels, with the same settings, working simultaneously. The SPI CH2 does not work. The SPI CH1 is working just fine.
I checked the SPI2 bus with the scope and there are not MOSI and SCLK signals. The MISO and CS signals are OK.
I came across the PIC datasheet and there is not any special precaution to put in operation both SPI channels.
Any idea?
Thanks for any help
In a P16F18877 I've tried either the SPI CH1 or the SPI CH2 working as standalone with success.
Today I tried both SPI channels, with the same settings, working simultaneously. The SPI CH2 does not work. The SPI CH1 is working just fine.
I checked the SPI2 bus with the scope and there are not MOSI and SCLK signals. The MISO and CS signals are OK.
I came across the PIC datasheet and there is not any special precaution to put in operation both SPI channels.
Any idea?
Thanks for any help