[En-Nut-Discussion] RFC: New driver interface for TWI, I2C and others

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue May 3 16:15:51 CEST 2011


Hi all,

> IMHO, almost any Nut/OS driver has its design flaws. Even the SPI bus 
> driver, on which I spent a great deal of time for the design and of 
> which I'm a little bit proud.
> 
> There had been several discussion threads in this list about new driver 
> structures. Specifically Ole never got tired to promote new solutions. 
> Or has he become fed up now? ;-) I really wish and hope, that all these 
> discussion and proposals will finally in more real code.

No I'm not yet fed up :)

I'm still the same opinion like Ulrich, but unfortunately this is quite
a big change. But it should be possible to handle this without big
impacts on the "normal" application code (at least for the UART
drivers).

The bus architecture you implemented for SPI on the ARM architecture is
realy a big step forward and I think we should implement TWI/I2C the
same way.

Ulrich: Perhaps we could start into a discussion by a private
conversation? I think we should work on these changes in a development
branch. Might be good to have these changes for the 5.0 release?

Bye,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list