EmbeddedRelated.com

problems while mixing C with asm

Started by leo in comp.arch.embedded16 years ago 4 replies

Hi, I'm newbie on the msp430 and I need to embed some asm in my C code. I'm working w/ the msp430F2418 and using the IAR Workbench as...

Hi, I'm newbie on the msp430 and I need to embed some asm in my C code. I'm working w/ the msp430F2418 and using the IAR Workbench as a developing environment. I've spent some time googling and looking at some forum discussions. Currently, I've already tried some ideas that i saw on the web: e.g. to break my code into multiples as("instr") lines, to use the #pragma asm #pragma endasm,.....


internet capable PIC

Started by 2Penny in comp.arch.embedded16 years ago 1 reply

Hey Folks - I thought I saw a PIC 18 processor that had been particularly groomed for a role providing internet capability...

Hey Folks - I thought I saw a PIC 18 processor that had been particularly groomed for a role providing internet capability for small home appliances and embedded systems. Is this a real processor ? If it's just some software I can put onto any given processor then I imagine that a flavor of the MSP430 might work well. Any thoughts? 2Pe...


msp430 for low power application

Started by cellmania in comp.arch.embedded16 years ago 12 replies

i am working on a project on wireless sensors....i need a processor where the clock frequency can be varied during RUN-TIME so as use in...

i am working on a project on wireless sensors....i need a processor where the clock frequency can be varied during RUN-TIME so as use in low-power applications....but it must not be as low as is the case in the sleep mode. i found that the option of variable frequency is not available in avr controllers on which i have worked on till now...i was thinking about msp430 series but i cannot find a ...


Disadvantages of MSP430 relative to AVR and PIC?

Started by MC in comp.arch.embedded16 years ago 44 replies

At risk of starting a religious war... Why should I *not* prefer the MSP430 to the AVR and PIC? Tell me its weak points.

At risk of starting a religious war... Why should I *not* prefer the MSP430 to the AVR and PIC? Tell me its weak points.


ekg using ti app slaa280a

Started by deckatina in comp.arch.embedded15 years ago

has anyone tried TI application slaa280a? (heart rate/ekg). I had a vendor build this board from the spec. - but i can not get the...

has anyone tried TI application slaa280a? (heart rate/ekg). I had a vendor build this board from the spec. - but i can not get the app to display the heart rate or display the ekg wave form. I'm new to the msp430. 1. the software has c and assember code (software from the TI app.) 2. I see no error when the program loads ("project", "debug", "go") 3. With voltmeter I can see the voltage chan...


The average power consumption of the MSP430

Started by pasha in comp.arch.embedded15 years ago 7 replies

Hi all, I hope that you'll be fine. I am pretty new to the embedded systems. We are planning to use MSP430 for our prototype SoC for WSN. I...

Hi all, I hope that you'll be fine. I am pretty new to the embedded systems. We are planning to use MSP430 for our prototype SoC for WSN. I am not sure about its average power consumption. Does someone has any figures regarding the power consumption of MSP430 or know how to calculate/estimate it? Thanks in advance, Adeel Pasha


RTOS scheduler development

Started by brOS in comp.arch.embedded15 years ago 5 replies

Dear all, I am new here, and I would like to ask something about implementing fixed-priority preemptive scheduling(rate monotonic aproach) on...

Dear all, I am new here, and I would like to ask something about implementing fixed-priority preemptive scheduling(rate monotonic aproach) on MSP430 family. Can anyone tell me what is usual way to implement call of scheduler's dispatcher? For example if there are two tasks, high priority HPTask and low LPTask. Assume that LPTask is active and in the middle of its execution HPTask becomes r...


switching context on MSP430

Started by brOS in comp.arch.embedded15 years ago 18 replies

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I...

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I have system tick ISR which is handling ticks. And here is the thing...When I take a look in disassembly, it says that before msp430 enters system tick ISR it pushes registers R15,R14,R13 and R12(and of course PC and SR) on stack. So I used that for context...


switching context on MSP430

Started by brOS in comp.arch.embedded15 years ago 1 reply

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I...

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I have system tick ISR which is handling ticks. And here is the thing...When I take a look in disassembly, it says that before msp430 enters system tick ISR it pushes registers R15,R14,R13 and R12(and of course PC and SR) on stack. So I used that for context...


MSP430 info memory vs Rowley

Started by larwe in comp.arch.embedded15 years ago 9 replies

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is...

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is there a pragma or other directive similar to IAR's that will directly place my structure in info memory without having to play with custom segment names and special linker control info? ISTR having done this in the past but cannot remember how to do i...


Micro SD card / MSP430 interface: write problem

Started by Christophe Braillon in comp.arch.embedded13 years ago 8 replies

Hi everyone, I have interfaced a Micro SD card to a MSP430 microcontroller using the SPI mode. Everything worked perfectly fine but I...

Hi everyone, I have interfaced a Micro SD card to a MSP430 microcontroller using the SPI mode. Everything worked perfectly fine but I recently had problems when writing too often into my files. Here is my setup. As I said the card (SDHC 4Go) is directly connected to the microcontroller via its USCI (SPI) peripheral. I have written the basic SD access (register read / write, basically...


TI E-tech Day November 17 - Live Webcasts and Q&A on MSP430, C2000, Stellaris

Started by Anonymous in comp.arch.embedded15 years ago

eTech Day online Community & Training event on November 17, 2009 Time:10:00AM Tuesday, November 17th Location:Online Register here:...

eTech Day online Community & Training event on November 17, 2009 Time:10:00AM Tuesday, November 17th Location:Online Register here: http://bit.ly/TI_E-TechDay Register in advance to test your browsers and to participate in the forums and IRC chat channels today. Join the TI E2E online community for a full day of interactive problem solv ing: "Office Hours" with TI experts ready on-...


IAR MSP430 compiler problem

Started by brOS in comp.arch.embedded15 years ago 28 replies

Dear all, Does anybody knows how to force compiler to use call instruction instead of br(branch)for disassembling function call? It is...

Dear all, Does anybody knows how to force compiler to use call instruction instead of br(branch)for disassembling function call? It is extremely important for me to specific function is disassembled using call instead of brunch, as compiler always does. Please help..... --------------------------------------- This message was sent using the comp.arch.embedded web interface on...


MSP430 core performance

Started by elil in comp.arch.embedded15 years ago 5 replies

Dear Sirs, Has anybody here tested the MSP430 core performance ? I'm interested in DMIPS / 1 MHz . I saw TI Application Report, named MSP430...

Dear Sirs, Has anybody here tested the MSP430 core performance ? I'm interested in DMIPS / 1 MHz . I saw TI Application Report, named MSP430 Competitive Benchmarking of William Goh, but not every test that is mentioned there is clear for me. For example, what does it mean Cycle Count for Dhrystone Analysis ? It appears there on the graph that MSP430 has "100 000 cycles". 100000 Cycles fo...


Re: Commuication Protocols and RAM -criders

Started by criders in comp.arch.embedded15 years ago 2 replies

Thanks for all of the responses. I was not sure that the message posted so I think I posted another. I apologize about the lack of...

Thanks for all of the responses. I was not sure that the message posted so I think I posted another. I apologize about the lack of information.... First off, I am currently prototyping using a Z8 Encore! Development Kit from when I was is school. I am also using their C compiler. I think that I am still a novice at programming. I would like to use other micro controllers perhaps an MSP430 ...


Speaking of interesting development kits...

Started by larwe in comp.arch.embedded15 years ago 8 replies

... my weekly (?) email from TI the other day had a link to this interesting development kit, which consists of an MSP430 with integrated

... my weekly (?) email from TI the other day had a link to this interesting development kit, which consists of an MSP430 with integrated


IAR compiler & MSP430 problem

Started by halong in comp.arch.embedded15 years ago 7 replies

Hi All, Need your help, I have problem /w IAR compiler working with MSP430. I've got the project or "work space"from co-worker and I...

Hi All, Need your help, I have problem /w IAR compiler working with MSP430. I've got the project or "work space"from co-worker and I continue to develop the it. In the project we have a 2d array,... so far the it compiler and works properly. However, I've now reached the point that if I add one more row of data (128 bytes per each row), the compiler STILL compiler with no warning or ...


How to run FreeRtos on MSP430

Started by brOS in comp.arch.embedded14 years ago 7 replies

Dear all, I want to run FreeRTOS on my MSP430 platform, but I have a problem. I downloaded FreeRTOS and tried to start demo project for IAR,...

Dear all, I want to run FreeRTOS on my MSP430 platform, but I have a problem. I downloaded FreeRTOS and tried to start demo project for IAR, but it seems I have older version of IAR which can not start demo project. Than I tried to make project myself from source code files. I have added all files into my project and tried to compile it. But linker says that it can not find references to funct...


msp430 SD CARD-> DAC12 using DMA Transfer

Started by goode in comp.arch.embedded14 years ago

Dear All, I have a small problem. I am trying to play a wave file from my SD card. I am not using FAT i am just reading raw data from the...

Dear All, I have a small problem. I am trying to play a wave file from my SD card. I am not using FAT i am just reading raw data from the card. I want to do this using DMA transfer. I wrote the following code, but this does not output the wave file from the DAC. Does anyone have any idea, what i should do? Best Regards Kerem #include #include


RTOS stack overflow

Started by brOS in comp.arch.embedded14 years ago 17 replies

Dear all, I am testing my own kernel for MSP430. I am measuring highest frequency for square signal that MSP430 with my kernel can repeat on...

Dear all, I am testing my own kernel for MSP430. I am measuring highest frequency for square signal that MSP430 with my kernel can repeat on its output. Square signal is connected to one of the interrupt pins, so on every high to low or low to high signal edge port interrupt is generated. In port ISR I am releasing semaphore on which my task is blocked. After task is unblocked its job is to ...