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.

TPS65983B: The question of TPS65983B flash using

Part Number: TPS65983B
Other Parts Discussed in Thread: TPS65982

Tool/software:

What is the size of the internal flash of the TPS65983B chip? Why is an external flash required? Is it because the TPS65983 cannot be directly programmed? When updating the program, must the program code be first downloaded into the external flash, and then the TPS65983 reads the code from the external flash and loads it into its internal flash?

Best regards,

  • Hi,

    One of our team member will respond to this next week as TII and TI US will be off tomorrow.

    Regards

  • Hi Leon,

    You can refer to page 29 of data sheet for detailed description:

    Regards
    Aakash 

  • Hi Aakash,

    Thank you for your reply, but i cannot understand this paragraph.

    It doesn't figure out why need an external flash. Can the TPS65983 not be directly programmed from SWD interface?

    And in the figure 9-57, the app code is 72KB, why need a  minimum 1MB flash?

    In page 73, figure 9-58, Flash Read Flow, Read the app code from the external flash, and then store the read app code in the internal flash of the TPS65982. Do i understand correctly?

  • Hi Leon,

    The App code is stored in the external Flash, and it might be shared by other devices which might be present. Also we need to store 2 images of code in the flash to prevent errors in different cases (e.g. power loss during update).

    We require 256KB (1 Mbit) of Flash minimum in case the flash is not shared with other devices. But If it is shared we recommend using 1MB (8 Mbit) of external flash 

    On page 29: 

    Here it is mentioned that boot code in non-volatile memory reads the App Code from the external flash and moves it internal volatile memory. 
    This process is mentioned in Figure 9-54:

    The recommended ways to load App code is through SPI Flash or Uart.

    In page 73, figure 9-58, Flash Read Flow, Read the app code from the external flash, and then store the read app code in the internal flash of the TPS65982. Do i understand correctly?

    Yes, but we read from external flash and copy it to internal volatile memory.

    Regards
    Aakash

  • Hi Akash,

    I appreciate for your answer. But i still confuse that since the size of internal memory is 72KB, why require 256KB (1 Mbit) of external Flash minimum in case the flash is not shared with other devices?

  • Hi Leon,

    The figure 9-57 shows how the memory would be organized in the external flash and not the internal memory. 

    The size of Ace Code is 72KB, but we have headers (approx. 8KB) and Ace configuration data which takes additional memory. 
    Additionally, we maintain 2 copies of Ace code and Ace configuration data to avoid errors during various process. 

    So, we store 2 copies of Ace code (154 KB) + 2 copies of Ace Configuration Data (Variable) + Headers (8KB) + Misc  

    Hence, we require 256KB of external Flash.

    Hope this clarifies. 

    Regards 
    Aakash