Anthony Williams

MC9S08QG8 Demo Board/IIC issues...

Discussion created by Anthony Williams on Mar 7, 2008
Latest reply on Mar 18, 2008 by Anthony Williams
Newbe question regarding the IIC controller on a QG8.

Background: I am developing on the MC9S08QG8 Demo Board using CodeWarrior 5.7.0. The QG8's IIC controller is setup as a slave device only and another device is master. I'm able to successfully send one transaction but all subsequent transactions do not work. Both IIC lines are connected to a scope and I'm able to see the first address/data transaction. After the first transaction, I notice that the SCL line stays low instead of going high.

What's interesting is that when I attach the debugger to the QG8 and send the byte transaction again, I'm able to continuously send transactions to the slave and get data back from the slave even though the SCL line is still staying low.

The SCL/SDA lines are connected from the PIN connector of the demo board to the IIC on the master.

I checked the data sheet for the QG8 and the DEMO board but I don't see anything that explains this issue.

Thanks for your help.

Outcomes