Jump to content
43oh

leomar01

Members
  • Content Count

    42
  • Joined

  • Last visited

Everything posted by leomar01

  1. Where did you get them from? I've got a couple maxim controller chips for 7-segment displays. Put together it would be easy to get a big display
  2. After many hours of struggling with datasheets, reading code samples, getting grace to work, asking a lot in this forum and getting much help, I finally got the SW UART on Port2.0 working (TX only - for now). /*####################################### This is one more way of a software uart, but on port2.0 for the 20pdip MSP430s. I have used many parts from here and there, but most of this code is generated in grace and afterwards slightly modified to achieve the goal of a software uart on port2.0 My MSP430G2553 runs on 16MHz, if you want to use an other clockspeed, you ha
  3. Hello, it's me again Yesterday I finally had the time to finish my project of getting a software uart on pin2.0 To be honest it is embedded in a much bigger project, but I just cut out the parts nescessary to get the uart on port2.0 working. Can someone please test if this works for him? Maybe it is worth to add to the code vault. /*####################################### This is one more way of a software uart, but on port2.0 for the 20pdip MSP430s. I have used many parts from here and there, but most of this code is generated in grace and afterwards slightly modified to achieve the go
  4. seems much easier to understand - for me.I just found out that the final adresses, used in ccs4, are defined in msp430g2553.cmd.
  5. you mean for using pin 2.0? yes - that's what I'm out for. I want to do the same thing as in all the examples (the timer directly affects the output pin) with timer1 on pin 2.0. In the datasheet I can see that Pin2.0 is Timer1_A, capture: CCI0A input, compare: Out0 output So I "only" need to get my timer1 configured correctly and it should get the transmission on pin2.0 going. One other thing, just to make shure: What is meant by "counts" in the users guide? Does it mean "when the timer reaches that value" or does it mean "while the timer is counting up to that value"? And anoth
  6. Ok, I found it, so CCR0 = TACCR0 = TACCR0_ = TA0CCR0_ = TA0CCR0 but for Timer1 theres only TA1CCR0 what corresponds to these above, right? and CCTL0 = TACCTL0 = TA0CCTL0 = TACCTL0_ = TA0CCTL0_ where, like above, only TA1CCTL0 exists for timer1. with that information I can read this datasheet http://www.ti.com/lit/ds/symlink/msp430g2553.pdf On page 17, table 14 it says CCR0 and CCTL0 (and all the others) two times, but - of course - with different adresses for the two different timers. This thing puzzled me for allmost two days now - is this a bug in the datasheet, or am I still n
  7. Where can I find how CCTL0 is defined? Searching in the datasheet nor in the family users guide had any results -.-
  8. unfortunately, yes - I allready built my pcb with a HD44780 display at port1. As I ran out of ROM in developing phase I ordered the big 2553. I broke out the port2 pins "for later use" while designing the layout. Now I want to have serial communication on this port2. I know that hardware uart would be much faster and easier - but I also want to understand how this software thing works. In future I want to be able to develop my own solutions - not copy&paste examples together to get it to work somehow.
  9. That is what I understood, what I don't understand is where in the above mentioned example this digital output pin is actually altered to do the communication. And thus I don't understand where to even search for what I have to change to get pin2.0 to do what p1.1 does right now.
  10. yes, I know, I'm just not used to read and understand it right.
  11. Hello, First the essential information: I'm using a MSP430G2553 on a launchpad. I found some examples on software UART. To be precise, this one: http://www.msp430launchpad.com/2010/08/ ... chpad.html My main question is: where is the pin defined, that is used for tx, rx? (I want to change it to port 2.0) Very often in these examples, there is a statement like #define TXD BIT1 // TXD on P1.1 #define RXD BIT2 // RXD on P1.2 but it seems this is not exactly the definition of the pin. Later in the code I see P1SEL |= TXD; P1DIR |= TXD; P1SEL is the port 1 selection register - I c
  12. I'm trying to get this code running on a MSP430G2553. Unfortunately I get following error: identifier "TIMERA0_VECTOR" is undefined I don't even get where TIMERA0_VECTOR is defined when using a MSP430G2231. I see some defines in the *.h files - if I understand it right, "TIMERA0_VECTOR" is a name that will be defined as an interupt vector :eh: I know, my problem leads in a little bit offtopic direction, but could someone please point me in the right direction how to overcome such problems, please? regards, leo EDIT: ok, found out that TAIV is TA0IV in 2553-ish msp430
  13. Hello gwdeveloper, first, thank you very much for that comprehensive post - that's seldom these days. With your step by step explanation it worked right away... Man, that code is complicated for a beginner like me :/ Now I want to explain what went wrong in my first attempt - maybe someone else stumbles upon this thread who might find that useful. In the readme.txt it says code composer essentials in first place - that seems to be way outdated. Hence the following explanation may not be true for CCS4. Anyway, it says Compared to your explanation this is the wrong directory. Also
  14. The last two hours I've been trying to get a look at what makes the modules tick like they do when shipped. On ti.com I downloaded CCS4 (CCE seems to be outdated). Also, I got the eZ430-RF2500-SEH_Sensor_Monitor-v1.5 sources. As stated in the readme.txt I opened the workbench in the install folder where I've installed the sources, but no project opens. I think I've got that i have to "import" the project. At least it seems to open the project, but I can't find any main.c or something where the program logically starts O.o Can you help me to get that thing going? I don't get what I'm doing w
  15. @zborgerd In the document you linked above it says:
  16. I also ordered the eZ430-RF2500-SEH tool. I'm a little confused how J8 works. Are there any real schematics of the board? I can't find them Does anybody know the correct way how to handle the board/the batteries to not damage it when storing in a box while not in use? I read something about a brief draw of ~30mA to bring the module in a cutoff state. Otherwise the boost converter would draw something about 800nA from the batteries until they die. My problem is: I don't get what state the energy harvester is in while shipped and stored from ti, in what state it goes when removing the jumpe
  17. I also ordered this tool. I'm a little confused how J8 works. Are there any real schematics of the board? I can't find them Does anybody know the correct way how to handle the board/the batteries to not damage it when storing in a box while not in use? I read something about a brief draw of ~30mA to bring the module in a cutoff state. Otherwise the boost converter would draw something about 800nA from the batteries until they die. My problem is: I don't get what state the energy harvester is in while shipped and stored from ti, in what state it goes when removing the jumper at J8 and how
×
×
  • Create New...