This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EM1402EVM: When is the EN pin of emb1428 going high?

Part Number: EM1402EVM
Other Parts Discussed in Thread: EMB1428Q,

Hi,

1) In which case ,the EN pin of EMB1428 is going high? I never measure the EN pin goes high even if the data return from EMB1428 is 0xA1.

2)When the MCU is sending 0x00 to EMB1428 ,the code return from EMB1428  is what? May 0xb0 be  right?

best regards,

  • Hi User,

    1. EN pin should go high after the command is sent to the EMB1428Q if there is no fault.  See the data sheet figure 12 for the device flowchart, EN high is at the right side.  Waveform captures included in documents  for the device do not show EN going high.  An example of EN going low from fault is shown in the TIDA-00239 test report in section 4.2.  This is a different design using the same EMB1428Q.

    2. When the MCU starts to send a command, the code returned starts as the new command is sent.  The data sheet fault reporting section indicates "The fault code should always be interpreted as a problem completing the prior command."  Code 0xb0 might be a normal resonse, its description from table 3 appears in the "Previous Command Not Completed" section

  • HI,
    Now, I operate EMB1428 alone,normal power supply .The EN pin go through 74HC14D to the DONE pin ,The DIR pin go through 74HC14D to the DIR_RT pin , FAULT[0:2] connect to GND(BAT0).
    I don't understand why i send 0x10 to the EMB1428 ,the code return from EMB1428 is still 0xa1?
  • Hi User,
    The protocol of the SPI transaction requires the EMB1428 to return something. As shown in figure 9 of the data sheet, a fault code is sent as the command starts from the master. The last row in table 3 shows "A" as the no-fault condition although it indicates FAULT_INT is triggered which does not make sense for a no fault condition. A fault-triggered condition would appear to be the first row of the table with the "A" coming from the concatenation of the error bit with the FAULT[2:0]. Since you have FAULT[2:0] tied low the "A" can't originate from the external fault.
    In the 0xA1 response to command 0x10, the "A" would be the "no fault" indication and the "1" is the command received.
  • Hi,
    I feel frustrated about the illustration of the table3/P22 in EMB1428 datasheet . Maybe my unstanding of the faults of EMB1428 and EMB1499 is different from yours.

    The EMB1428 provides fault[3:0] on SDO followed by 4-bit command that it just received.
    If EMB1428 had something wrong the falut[3:0] may fault[3] = 1,then fault[3:0] may 4'b1100,4'b1101,4'b1110,4'b1000,4'b1001,4'b1011,4'b1010.
    If EMB1499 had something wrong the falut[3:0] may fault[3] = 0,then fault[3:0] may 4'b0001,4'b0010,4'b0011,4'b0100,4'b0101,4'b0110.

    Is the first row and the second row of table3 show that when EMB1428 and EMB1499 had fault meanwhile ,the priority of EMB1499 is higher than EMB1428?


    best regards
  • Hi User,
    It can be difficult to determine what a data sheet author intended. I misinterpreted the Verilog notation for values in the document, sorry for the confusion. The 1'b0 in table 3 first row indicates 1 bit with value 0. Your codes look correct.
    The upper or higher rows in the table are higher priority.
    The first, top or highest row in the table would be EMB1499 errors and would be 4'b0xxx as you indicate.
    The second row could be a EMB1499 error or disruption of the DONE line.
    The third through 9th row could be considered communication errors recognized by internal errors of the EMB1428
    The 10th row 1010 is the no error response.
    Note that there are 3 undefined codes, these should be considered communication faults, 0000 or 1111 possibly being stuck-at faults.
    Your priority assumption is correct, for example if there were a secondary current limit fault from the EM1499 and an extra SCLK edge the only reported code would be 0010.
  • Hi,
    Those codes 0000,0111,1111,don't refer to in the EMB1428 and EMB1499 datasheet.But according to my understanding the code 0000 indicates there are no faluts in EMB1428 and EMB1499.
    So,if I send 0x10 to the EMB1428 ,the code return from EMB1428 is 0x01 will be right and the switch ( the cell switch and polarity switch)will operate;the code return from EMB1428 is 0xA1 will be wrong and the switch (the cell switch and polarity switch) will not operate.
    In fact, if the code return from EMB1428 was 0xA1,EMB1428 and EMB1499 aren't work.
    Using the DEMO board EM1402 from official (we are applied for),If I send code 0x10,return 0x01,charge operation and discharge operation work normal.If I send code 0x10,return 0xA1,charge operation and discharge operation work abnormal.
    But when I use DEMO board EM1402 welded myself , if I send code 0x10,it still return 0xA1.I was trapped in here for several weeks and there is no progress.I don't why?

    best regards
  • Hi User,
    The data sheets do not document the missing codes. If you have the working example in the EM1402EVM, confirm that the supplies on your new board are correct. Then match the data sent and control signals to the circuit between the working board and the new one. If the signals, data and timing to the parts match but the response does not, either the inputs don't really match or the part must have been damaged.