Jump to content
43oh

abecedarian

Members
  • Content Count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

Posts posted by abecedarian

  1. I was reading http://www.ti.com/lit/an/slaa204/slaa204.pdf so I was thinking about using  MSP430F1121:[/size]

     

     

    Do you think there'll be enough RAM?[/size]

     

    This is the circuit provided - Is it right that TX and RX are audio signals?

     

    ...> snipped image <...

    Thanks

    That circuit is an emulation of a V.21 modem and its RX and TX would connect to a telephone line and UART on a PC or similar.

     

    The MSP430 has no intrinsic ability to "hear" audio. What it does have are analog to digital converters. So what you'd need to do is connect the output from the PI to an ADC on the MSP, sample the ADC and apply some filtering such as a Fast Fourier Transform, so you can convert the audio signal to a digital one based on the frequencies of the audio. That is essentially what a modem does, on the demodulation side, which is what you're trying to accomplish since you said "unidirectional".

     

    You didn't mention what the MSP430 is going to do with the data, but if it's to offload data to a computer, that would need worked out separately.

  2. // stuff here like global variables and constants

    const int analogInputPin = 28;

    // PE2 on the chip, A1 in Energia, Pin 28 on the headers

    // defined here to make it easier to re-assign the pin if

    // needed later

     

    int a = 0;

     

    void setup()

    {

    // more stuff here

    }

     

    void loop()

    {

    // do things

    a = analogRead(analogInputPin);

    // do other things

    }

  3. A timer is a counter. It counts up or down based on its frequency and how it is configured. It might "roll over" or "overflow" if it exceeds its bit depth.

     

    You can configure the counter to reset when some event happens or do something when its value exceeds some other value.

     

    So, what it seems like is you want to wait for something to happen, then start counting and do something else if that first something is still happening and the counter has counted past 200.

     

    I think the answer is in your question. ;)

     

    Maybe search for button debounce techniques.

  4. AH ! I was afraid of that. The PDF printout of the msp430 circuit here has nothing connected to reset . . . So, I get to chastise wulf when he gets back because he's been insisting its my code but . . . the code right now is very minimal, and only meant to toggle the GPIOs( P1.6 isnt needed by us, just used to test an unused / unconnected pin ). BUT the processor does not seem to be coming up, and if reset high is a requirement, then that probably explains why.

    It's a bit of a kludge but male DuPont jumpers will fit into a DIP socket. So maybe you could use your G2 LP like... female-female jumper from the appropriate BoosterPack pins on the LP connected to a male-male jumper connected to your board's MCU socket for each relevant pin. Since you have only 4-5 GPIO/ADC pins on the 2553 on your board used, the LP would be a surrogate for the reset circuit.

     

    If it works, you know what the problem was.

  5. @@tushar19

     

    I just opened the serial monitor on my Energia install and all of those characters are missing... even the ones you posted. I tried it with a G2 LP, 3 different TM4C LP's, two Hercules LP's, an F6989 LP and an Arduino Uno.

     

    I must not have the same hardware and firmware as you.

     

    What are you using?

  6. If you back up to the "tools" TI provides, their evaluation kits, they provide a board that supports the chip, and the FET tool is separate.

     

    Anyhow, the reverse of what I said is likely true, too. Put the 2553 in the LP and run jumpers over to your board. Biggest difference is that with the clip as I mentioned, they'd be female>female jumpers, but to work your board you'd need female to connect to the BP pins on the LP and male to drop into the socket on your board.

  7. On the chip program / debugging end, there are 20 pin DIP IC chip clips that can clip onto a chip and bring out male pins suitable for DuPont jumpers.

     

    Provided voltages and grounds do not provide any issues, this might be a solution. Put the 2553 chip in your board, clip on and run jumpers to a G2 LP which doesn't have the chip installed.

×
×
  • Create New...