Please please please implement hardware I2C for devices that support it! The I2CWrtite I'm using is sucking up TONS of code space, is slow as death, and is making me nuts!
Andy
Please please please implement hardware I2C for devices that support it! The I2CWrtite I'm using is sucking up TONS of code space, is slow as death, and is making me nuts!
Andy
.... oops sorry....
Which device you need to talk to?
Last edited by mister_e; - 9th April 2008 at 16:22.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
What do you think of "@ hi2cwrite / hi2cread" type command?
Is that even possible? Can't pass many variables that way. They'd have to be preset. You'd have to have a number of different versions to handle the different 'item' possibilities...
Unless...you hijacked the original i2cread/i2cwrite commands with a flag set somewhere...hmmmmm
In theory it's possible... on the down side, i'm not sure Microchip always use the same naming convention between all their PICs... not surprised at all if not. But yes ... possible.
Some "HiJack" method? Possible too... 'till now the user will need to manually modify the PBP library![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
HI2CREAD and HI2CWRITE? Why stop there? What about ...
SPI Master
SPI Slave
I2C Master
I2C Multi-Master
I2C Slave
If you want to support the SSP modules, you should support the Whole Module.
And both kinds ... SSP/MSSP.
<br>
DT
Yup, i agree, AND for ALL supported PIC in the list. Here comes the fun to check with >500 datasheets![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I'm among the group that wants HI2CREAD/HI2WRITE. The WRITE isn't so important, but the HI2CREAD would certainly make an interrupt-driven slave much easier.
Charles Linquist
I should add that my previous statement assumes that SLAVE modes were added to the HI2CREAD/HI2CWRITE commands.
And to make things easier - why not just concentrate on 18F parts? There isn't much of a cost differential anymore.
Charles Linquist
Bookmarks