Jump to content
43oh

Aditya

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by Aditya

  1. I am sorry. To answer your question in short, yes I would like to be able to have the microcontroller respond to pulses that are separated < 10ms in time as well as when they are separated by seconds. (that's because they are repeated after usually a delay of 1 or 2 seconds). Basically the pulse pair is generated from an MR scanner which repeats the sequence after a set amount of time (TR). Within this TR (usually in seconds), I would be receiving the pair of pulses which are generally separated by a time delay in the order of ms. (usually <10ms). So the general sequence goes...
  2. Hello all, Thank you very much for your insights. I think for the most part I have been able to work with the 9600 baud rate which basically mains outputting a character approximately every 1ms. This so far I believe is sufficient for my needs, though eventually I might need a higher baud rate chip (like the MSP430F5529 that was suggested.) I am currently trying to fix the Matlab aspects of the problem and when will test out this setup. I will keep you updated on my progress. Thank you very much again. P.S: Oh...and yes, I will need to detect the falling edges for each of the p
  3. Thank you very much. Yes, I am using a voltage divider circuit to prevent the pins from frying. :-) It basically isn't a continuous square wave, the generator will be outputting two squares with a 10ms interval or less and then this pair of squares will be repeated after a couple of seconds. So do you think that would be fine? I will try out the "attachinterrupt" now. Thank you very much to the both of you for your help.
  4. Hello, Problem Statement: I am trying to read in a square waveform from a function generator using the MSP430G2553 and whenever there is a falling edge the chip has to send out a ping to my laptop (I am using serial communication here for lack of knowledge on a better way). I then have to use MATLAB to read this "ping" coming from the MSP430G2553 and trigger another device. By reviewing some basics on serial communication and examples on the Energia documentation, I am able to generate a ping solely from the MSP430 chip (without any input from the function generator) and cause MATLAB
×
×
  • Create New...