Kolar wrote:I have updated the BusPirate with the Firmware you linked in the first post.
Just to be safe, what exactly is the firmware you are using?
You must use 12112016_1.hex which is optimized, not 12112016_s.hex which is not optimized.
Otherwise in some situations you might have timing issues.
So use 12112016_1.hex, not 12112016_s.hex!
I built 12112016_s.hex only for testing, it is better do not use it but rather 12112016_1 in its place.
Kolar wrote:1) when i connect to the BusPirate via Terminal and go into I2C Mode i can run a scan for all devices that reply with ACK, which is a neat feature. [m 4 x (1)]. Changing the I2C frequency does not seem to change anything for this scan. If i change the frequency to 100kHz i still find devices that are only build for 400kHz and so on.
I guess that is the expected behaviour.
I am not aware that the command is selective based on the I2C bus speed.
I2C devices which support high speed can they work also at low speed.
The problem might be for those of them which work at low speed when they are used at high speed.
However the perception of speed is evident only when scanning on a I2C bus where there are many devices.
If the devices on the I2C bus are few, then it is hard to notice differences.
Kolar wrote:2) When I send a random command and take a look at it on my external oscilloscope, I see that the real frequency is only haf the frequency I have configured. E.g. I set I2C to 400kHz and see a clock frequency with a period of only 5us (200kHz).
I do not know if this is normal or not, in that regard there are investigations in progress.
What I know is that is the normal behavior saw until today. https://github.com/BusPirate/Bus_Pirate/issues/23https://github.com/BusPirate/Bus_Pirate/issues/39
Kolar wrote:Maybe this is my problem
If it is a problem, it is not yours alone but of all.
I repeat that about it there are investigations in progress and that is the behavior until now accepted.
It is so also with the previous releases of the firmware.
It always has been, so.
Happy new year!
Be seeing you.