Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Software I2c issue

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
kwsoft

Bascom Member



Joined: 23 Jun 2015
Posts: 14

PostPosted: Sun May 03, 2020 2:40 pm    Post subject: Software I2c issue Reply with quote

There is an issue in the software I2C. Many devices ignore it, but others don't.

I think the problem is the pulse in SCL before start. The hardware-I2C doesn't have it.
I tried with an MCP23017 and MCCOG21605B6W.
The MCP ignores the pulse, the MCC doesn't answer on it.

(BASCOM-AVR version : 2.0.8.2 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Mon May 04, 2020 10:18 am    Post subject: Reply with quote

you best post some code.
for example, did you use the I2CINIT ?

there is an alternative i2c driver named i2cv2.lib
include it with the $lib directive.

_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum