Not working SPI .

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

Moderator: Benj

Post Reply
kylibin18
Posts: 3
Joined: Tue May 21, 2019 11:15 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Not working SPI .

Post by kylibin18 »

Good day! Tell me why spi is not working ? Does not work on output B5 -sck.
Attachments
ypok12.rar
(43.66 KiB) Downloaded 158 times

User avatar
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: Not working SPI .

Post by Benj »

Hello,

You have not called the initialise function. This is required to setup the SPI peripheral ready for communications.

kylibin18
Posts: 3
Joined: Tue May 21, 2019 11:15 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Not working SPI .

Post by kylibin18 »

Tell me how can I do initialise ?

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Not working SPI .

Post by medelec35 »

Hi, there is an initialise component to select:
Initialise.png
(139.39 KiB) Downloaded 897 times
Same applies to the SPI slave.
Martin

kylibin18
Posts: 3
Joined: Tue May 21, 2019 11:15 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Not working SPI .

Post by kylibin18 »

It's all good ! Thank you!

Post Reply