This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

pc based signal simulator

hello sir, This is my first project in ARM7.e design a vb software in which we generate many different waveform with its many(depending on amplitude) different hex value.we are using UART for serial communication.we have to generate analog ouput which shows the same waveform as generated in vb software window.For that we are using DAC.Hex value generated in vb we have to access that value serially and send that value to DAC.How I can access these HEX value.please help me for same.

thank you.

  • Have you considered a course in embedded development?

    There are lots of examplees how to access the serial port and receive data. Then it is standard programming skills to decode the received data and decide what to do with it. Then back to embeddded programming to control that PWM device - yet more examples available.

    What have _you_ done, to read up on the processor and what it is capable of? And what information that is available as manuals, datasheets, application notes, code bundles etc?

  • What do you mean by that:

    How to send them from VB to the PC's serial port?

    How to receive stuff on the ARM from its UART?

    How to process the received stuff in the ARM?

    Or what??

  • This should not be your first project!

    As you have described, this project needs both UART and DAC - so your first project(s) should be something simple using just one of those.
    Then do a simple project (or, probably better, some projects) using the other.
    Then you should have gained enough experience to bring the two together...

    I would suggest that you start with the UART:

    First, a simple "hello world" project to send stuff out of the UART;

    Then extend the project to send different strings based, say, on pressing buttons;

    Then extend the project to also receive from the UART;

    Then extend the project to do something simple (eg, light an LED) based on the received data;

    etc, etc,...

  • i mean How to send them from VB to the PC's serial port? how to access it.and provide it to DAC?

  • How to send them from VB to the PC's serial port?
    You are asking this question on the wrong forum. Ask it on a VB forum. (searching on Google is also an option often ignored by people)

    how to access it.and provide it to DAC?
    For this you need to study the User manual of the ARM Chip you are using. And also refer to the example codes which you can find easily on Google.
    All the Best.

  • It still isn't clear what you mean by "it".

    On the ARM, you will need to:

    1. Receive data from the UART;

    2. Interpret what you receive as values for the DAC;

    3. Use those values to control the DAC.

    As already noted, the processor documentation (datasheet, user manual, application notes, examples, etc) will tell you how to configure & use the UART and DAC.

    Again, don't try to do it all in big blob - take small steps:


    I would suggest that you start with the UART:

    First, a simple "hello world" project to send stuff out of the UART;

    Then extend the project to send different strings based, say, on pressing buttons;

    Then extend the project to also receive from the UART;

    Then extend the project to do something simple (eg, light an LED) based on the received data;

    etc, etc,...