Access to spi or I2C pins
-
- Posts: 25
- Joined: Tue Sep 29, 2009 1:07 pm
- Has thanked: 1 time
- Contact:
Access to spi or I2C pins
Is there any way to get access to the spi pins w/clocking? I need to add some hardware to the miac. How about I2C?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Access to spi or I2C pins
Hello
My suggestion would be to create an external module that is controllable via the CAN bus for using other busses such as SPI or I2C.
Otherwise the SPI and I2C Flowcode components will work to control the pins of the microcontroller inside the MIAC but you may loose the functionality of the MIAC peripherals. Exactly which peripherals you will loose I am currently unsure without looking at the schematic. Flowcode I2C can be software bit banged via the component properties so you can use this to pick and choose which pins to use.
My suggestion would be to create an external module that is controllable via the CAN bus for using other busses such as SPI or I2C.
Otherwise the SPI and I2C Flowcode components will work to control the pins of the microcontroller inside the MIAC but you may loose the functionality of the MIAC peripherals. Exactly which peripherals you will loose I am currently unsure without looking at the schematic. Flowcode I2C can be software bit banged via the component properties so you can use this to pick and choose which pins to use.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel