SMB bus emulator

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello All,

an actual work related question this time, well it had to happen at some stage.

Has anyone written a SMB bus emulator ? Ideally for the TINY but any uProc would probably be OK.

The latest circuit it powered from an intelligent battery, that reports it's status via SMB. The IC onboard the battery is a BQ20Z95 - it's 44 pin !(that's more than most of the uProc I've been using recently). We would like to emulate this so we can test our software.

Any thoughts/ideas - always welcome

<º))))><

I am only one lab accident away from becoming a super villain.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SMB is almost I²C is TWI, isn't it? AVR in slave TWI mode?

Stealing Proteus doesn't make you an engineer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes I believe it's I2C @ 100KHz with standard commands to report status such as voltage, temperature, etc and control things like gas valves. It's been around for a long time and used in PCs to turn the power on and off, so I was hoping someone had written a full implementation. We only need to use a few of the commands, but if I have to get someone to write it I'll prob get them to do it in full and post it up.

<º))))><

I am only one lab accident away from becoming a super villain.