Communication issues??

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
407charles
Posts: 122
Joined: Thu Jun 26, 2014 12:01 pm
Has thanked: 41 times
Been thanked: 19 times
Contact:

Communication issues??

Post by 407charles »

It is possible to run a program using I2C and SPI communication components simultaneously?

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Communication issues??

Post by kersing »

Yes/it depends/no.

There is no generic answer to this question as it depends on the controller being used. So if you want an answer you need to be more specific. Also, do you require hardware I2C & SPI or would software implementations work?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

407charles
Posts: 122
Joined: Thu Jun 26, 2014 12:01 pm
Has thanked: 41 times
Been thanked: 19 times
Contact:

Re: Communication issues??

Post by 407charles »

I'm using the arduino mega for my project. The issue is that I got a program which uses the I2C clock and also The SPI max 6675 in another section of my program. Even when I got both programs working individually, after merging both of them into a single one, the SPI does not seem to work. I'm not saying that I did not make a mistake but I can't see it. That's why I'm trying to find out if is possible or not.

407charles
Posts: 122
Joined: Thu Jun 26, 2014 12:01 pm
Has thanked: 41 times
Been thanked: 19 times
Contact:

Re: Communication issues??

Post by 407charles »

I found my mistake. Yes it is possible to have this two communications working. I don't know if at the same time but in my program they are separate.

Post Reply