Page 1 of 1

SPI Slave component

Posted: Fri Oct 12, 2018 6:03 pm
by Benj
Hello,

I have just put together and finished testing a new SPI slave component. Currently I've only added support for the 16F188xx family mainly because these have a lot of the tricky features such as remappable pins.

If you would like to see support for other devices then please let us know.

You can get the component by using the update tool and performing a full database update.
https://www.matrixtsl.com/wiki/index.ph ... _all_files

If you try the component then let us know how you get on.

Here are some simple examples of master slave comms in action. Note I've yet to test with injectors such as vNet but this is on my to do list for next week.
SPI_Master.fcfx
(8.49 KiB) Downloaded 253 times
SPI_Slave.fcfx
(9.46 KiB) Downloaded 235 times

Re: SPI Slave component

Posted: Wed Oct 17, 2018 10:34 am
by Benj
Right most if not all 8-bit PICs should now be supported. Just looking at the 16-bit PICs.

Here is another example showing how to buffer incoming bytes using a circular buffer component to send to a LCD.
SPI_Slave2.fcfx
(11.36 KiB) Downloaded 282 times

Re: SPI Slave component

Posted: Thu Oct 25, 2018 8:09 am
by karthickefy
Hi Ben,
Can you please help to add SPI Slave Component for AVR and ST32 ARM devices? It will be more helpful for me. Here in my company I'm using only AVR and STARM based processors for our projects.

Karthick.