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.

LAUNCHXL-F28379D: Reading Text Files on F28379D MCU

Part Number: LAUNCHXL-F28379D


Tool/software:

Hi Team

I am currently working with the F28379D microcontroller using Code Composer Studio (CCS) and I need to read a text file in my project. I have some questions regarding how the MCU can read text files and the format required for such files to be processed correctly by the system

Best regards,

Tasmiya

  • Hello,

    I need to read a text file in my project. I have some questions regarding how the MCU can read text files and the format required for such files to be processed correctly by the system

    I'm not sure I understand the question. Do you wish to read in a text file while the target is running using C I/O? Can you provide more details on your exact use case?

    Thanks

    ki

  • Hi,

    I hope this email finds you well. I am currently working on a project using the F28379D MCU and have created a UI that allows users to input values for frequency and duty cycle. When the user fills in the fields and clicks the submit button, the application generates a text file containing the input data.

    I am seeking guidance on how to read this text file from the F28379D MCU and use the data to update the frequency and duty cycle in the system. The values should be applied to the relevant components, and the GUI should reflect the changes accordingly.

    Could you kindly assist me in understanding the best approach to integrate this functionality? Specifically, I would appreciate any advice on how to interface the F28379D MCU with the text file and update the corresponding values in real-time.

    Thanks

    Tasmiya

  • Instead of having an intermediate text file to feed to the running application, have you considered using something like GUI Composer to create a GUI to interact directly with the target?

    https://dev.ti.com/about#default/gui-composer

    https://dev.ti.com/tirex/explore/node?node=A__ACuj7Q0odqsz7xV.GhI98w__sdtoutilities__FUz-xrs__LATEST

  • Hi, can you suggest an alternate method for reading a text file using the F28379D LaunchPad? Also, in what format should the text file be, and how do I read it?

  • Hi, can you suggest an alternate method for reading a text file using the F28379D LaunchPad?

    I am going to bring this thread to the attention of the device experts. They can provide more optimal suggestions.

  • Hi, Can you provide more information about the format of the information you are attempting to read from your text file. Is it binary details that would want to load into memory? Are you looking for simple file processing where you would parse information as part of a text file? If so, I would think it would be similar to reading a file in standard C, but you'll need to use the C2000-specific libraries for file I/O.

    It is helpful to know the nature as that would determine what type of example or reference we can provide.

    Regards,

    Ozino