Posted on May 17, 2011 at 09:43I try implement interface to DS1631 chip from Maxim-Dallas. According to this data sheet master (STR912) must send NASK instead of ASK after receiving last byte in Master Receiver mode. How I can force STR912 to send N...
Posted on May 17, 2011 at 09:40For sample I need to send 10000 bytes to LCD. Current send procedure: Code: for(j=0; j<sizeof(frame); j++) { while(SSP_GetFlagStatus(SSP1, SSP_FLAG_TxFifoNotFull)==RESET); SSP_SendData(SSP1, frame[j]|0x0100); //set 9...
Posted on May 17, 2011 at 09:40Error in marged >> line Time->seconds = BCD2ToBYTE(Time->seconds); >>Time->seconds = BCD3ToWORD(Time->milliseconds); Correct code is Time->seconds = BCD2ToBYTE(Time->seconds); Time->milliseconds = BCD3ToWORD(Time->mill...