Posted on May 17, 2011 at 13:37Thanks Guys, it turns out it was a problem in the Chip Select code. As per your suggestion I triggered CS externally and it worked and than it was easy to find the problem... Should have bought a 4 channel DSO, then I ...
Posted on May 17, 2011 at 13:37Hi, I have progressed past my issues with I2C and Timers to interface with my SPI serial flash module. The module is based on the Atmel AT45DB161B 2MB flash and produced by ETT (see schematic below). I've set all jumpe...
Posted on May 17, 2011 at 13:37Hi, I have had heaps of trouble getting single byte read to work over I2C, in the end the thing that worked is following the code from the AN2824 application note to the letter: Code:/** * @brief Read a byte from the ...
Posted on May 17, 2011 at 13:36Hi, I have managed to solve it by following the code from the Application Note, not the text. Here is my -now working- code: Code:uint8_t I2C_HMC_ReadByte(uint8_t ReadAddr) { // define a local byte variable for the da...
Posted on May 17, 2011 at 13:36Thanks ArmNewbie. I looked at the Application Note. My case relates to the single byte read: Quote:Case of a single byte to be received: – In the ADDR event, clear the ACK bit – Clear ADDR – Program the STOP/START bit....