Posted on May 17, 2011 at 13:34If the SDA gets stuck low try to clock the SCL line until the SDA line goes high. This needs bitbanging. Or you can insert a I2C monitor IC on the bus that unlocks the bus if it gets stuck. http://www.embeddedrelated.c...
Posted on May 17, 2011 at 13:32I need to make a delay of 5 seconds. I have tried to initialize TIM4 but it fails the first time, second time it works. My test code: Code: <BR>// Initiate TIM4 <BR>TIM4->CR1 = 0; // Disable timer <BR>TIM4->ARR = 18000...
Posted on May 17, 2011 at 13:20I have an application in FLASH. I want it to be able to download a program to SRAM and then execute it. What traps or pitfalls do I have to think about? I have previously made a bootloader that calls a main program in ...
Posted on May 17, 2011 at 13:10How do I abort a CAN transmission the right way using the firmware library? If I call the CAN_CancelTransmit function how do I check if the message was aborted correctly or if it were transmitted? The message could be ...