Jump to content

One last BMP085 Project...

Recommended Posts

@@supamas The TX and RX ISR functions are both included in the main.c file.  The grace file is just a configuration for the hardware.  It directs the IV to iic_RX_isr() and iic_TX_isr().


Can you be more specific with the error you are getting?

I must have been doing something wrong because it is working for me now.  The TX and RX interrupts were what I was looking for.  You commented:


// interrupt pragma is defined in grace


If grace only sets up hardware, what is the interrupt handling that is defined in grace? (line 329 of the mian.c file)


I appreciate you answering!  This is great!  I'm so excited to wrap my head around this stuff!!

Link to post
Share on other sites
  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Ok, so the MSP-EXP430F5529 dev board may not provide me with optimal hardware I/O for my greenhouse controller. Basically, I'd want the power/speed of the F5529 without the accelerometer. If I were re

GWD,   Thanks for the post and files.   I am a noob and tried to do something similar with the BMP085 and MSP430G2231 when the launchpad was released and never could get I2C to work correctly. Gi

Not sure what's going on. I created that project in v4 a while back. It's already imported and working in v5.1 for me but it was imported quite a while ago. Not sure if I changed anything to get it go

@@supamas Grace is just a simple GUI for setting up selected msp430 devices.  In the case of the ISR, it's just letting you type in a common function name for your interrupt function and then it adjusts the IV table.


Essentially, it just does this:

#pragma vector=USCIAB0TX_VECTOR
__interrupt void USCI0TX_ISR_HOOK(void)

    if (IFG2 & UCB0TXIFG) {
		/* USCI_B0 Transmit Interrupt Handler */


		/* Enter active mode on exit */
    else {
		/* USCI_B0 Receive Interrupt Handler */


		/* Enter active mode on exit */
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...