Re: Using ChibiOS's I2C driver standalone
Posted: Fri May 05, 2017 5:30 am
Actually it seems that I spoke too soon. I am using the following spinlock to wait for the hardware to do its job, but the loop simply goes on forever. Any ideas on why this might be?
Code: Select all
while (TWCR & 1 << TWIE)
;