Jump to content
43oh

aaguilar4

Members
  • Content Count

    11
  • Joined

  • Last visited

  1. aaguilar4

    ADC tips

    Hi, I'm curious to know if you had any luck with the switch idea, or the op-amp? I am also designing an ultra-low power device which will be in sleep mode for most of the time, and don't want to draw unnecessary current from the battery during these times. Thanks for any input.
  2. Thanks a lot! That is quite simple and clarifies how to use it. I was using the GRACE tool to set up all my peripherals, so I couldn't use the symbol and had to use a number (i.e. mem location 512)... But I changed it now to follow your coding shceme. I won't use continuous DCT mode, rather the scheme is as follows: WDT wakes device up ever ~.5s Start Analog conv. from 4 channels (only one conversion) using this scheme (go to LPM0 until conv. done) Interrupt handles converting the values to voltages and such (and wakes up device to transmit data) Data is transmitted, then device b
  3. Hi guys, I wanted to know if any of you had used the DTC function before. I am trying to sample 4 analog channels and save their results automatically using the DTC. This allows me to save to a memory location such as address 512, and then specify the number of values to be written (4, in my case)... The demo code shows how to set this up, however I cannot find how to pull this information out afterwards? My plan is to populate the corresponding variables once the ADC interrupt ocurrs (and all values are stored at mem location 512-516), so I want something like: ADC_Channe
  4. Depending on your clock speed and the response time required it might not matter at all. If, for example, you are keeping track of time in seconds and want to know on which second the input changed, then it certainly doesn't matter if you use TimerA capture or Pin change interrupts. However, for most applications you want to get as accurate a reading as possible, for which the capture registers are ideal. To give you an example, the interrupt latency in a recent PIC project I was working on was 11 clock cycles (depending on certain parameters this could go up significantly). Accounting fo
  5. aaguilar4

    24V input

    Thanks a lot for your answers guys! I will definetely go the Vdivider + Zener for safety! FYI, software-wise I let interrupts+timer count the time between two events continously and increment a counter every time the interrupt happens. The main loop then averages all the readings and makes necessary calculations to convert to time whenever it has the chance to do so (I am measuring other things as well in my main loop). Once again, thanks for everything!
  6. aaguilar4

    24V input

    Hi guys, I'm trying to interface my MSP to a 24V pulse signal. I want to use the Timers to keep track of the time between pulses. I was wondering what was the best way to regulate these pulses to an acceptable voltage? I have looked at: opto-iso with a big resistor in the LED side an appropiate voltage at the output side (seems like overkill) a zener diode along with a resistor to regulate the high voltage down to appropriate voltage. Any other ideas? Has anyone done something like this in the past and can give me some pointers? Thanks, Alvaro
  7. Hey guys, The new part of my project requires UART communication at 921.6kbps in order to forward images from a camera module to a BT wireless link as fast as possible. In order to achieve this speed I need to set-up my SMCLK and MCLK to reference an outside crystal in order to have a stable and precise speed. On the MSP430-Experimenter's board (which uses the MSP430F5438), this can be done to reference a 32kHz crystal. I was wondering if anyone had experience with this and could tell me what was necessary in order to reference the crystal, and achieve a desirable SMCLK speed in order to
  8. Thanks for the reply and words of confidence. My chip is marked MSP40F5438, and this is of importance because when I asked around in the TI forums, I found that this variant has a BSL pre-installed that cannot be modified. If however, I had the MSP430F5438A, then I could write my own custom-made BSL to suit my needs (communicate with a different interface rather than UART, etc.) My question is in regards to sending this sequence. I haven't had the chance to examine the TI ready script, but it seems from what I have read before that it is almost necessary to have a secondary microcon
  9. Guten Tag MystBoy, Unfortunately this is a school project, and I haven't spoken to my professor about sharing the details of the project (at least until it is finished). I will try to figure out if he's OK with us keeping an open blog about our progress and keep you guys updated. In the end, we will have to provide a User's Guide for our robot with all the hardware and software functions designed, so we are keeping that for now, just not out in the open. Cheers Alvaro
  10. Hey guys, I am working on a project on which I will try to program the MSP430F5438 microprocessor (sitting on TI's MSP430-EXP experimenter's board) wirelessly. I am using a Bluetooth module that can transmit data serially (through a UART interface) to the MSP430. Additionally, I have a USB board for the BT module as well... it is simply an FTDI chip that converts the USB to serial so that it may communicate with a computer as well. Initially, I thought I could use this in order to use the the FET debugger tool; I thought I could have wireless debugging as well. However, I am beginning to d
  11. Hey everyone! The title might be a bit misleading since I am finishing up my BS EE in San Antonio, TX; however, I was born in Guatemala and only came here for school. Unlike others, I had zero programming experience before I came to school. I have taken few programming classes, but did enjoy the microprocessors class very much. We used a Motorola HCS12 and programmed mostly in Assembly. The MSP430 is a relief in that everything can be done in C... I am working on a final year project which can be used by other students to learn microprocessors. Basically, we are creating a platform that can
×
×
  • Create New...