CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Jan 19, 2019 8:18 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SPI not working
PostPosted: Thu Jan 03, 2019 10:49 pm 
Offline

Joined: Sat Dec 22, 2018 5:21 pm
Posts: 5
Hello

I want to connect a MCP23S17 device with SPI.
The CSL0 pin is working but the SCLK stays on LOW level
At the Raspberry Board the SPI is enabled,

Any idead what I do wrong?

Regards

Guenter


Top
   
 Post subject: Re: SPI not working
PostPosted: Fri Jan 04, 2019 8:58 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3093
Hi,
a known issue on RASBIAN is:
You need to reduce the max SPI Speed see screenshot

BR
Edwin


You do not have the required permissions to view the files attached to this post.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited