Fred

Members
  • Content count

    883
  • Joined

  • Last visited

  • Days Won

    41

Fred last won the day on November 9 2016

Fred had the most liked content!

About Fred

  • Rank
    Level 4
  • Birthday 05/01/1968

Contact Methods

  • Website URL
    http://0xfred.wordpress.com

Profile Information

  • Gender
    Male
  • Location
    UK
  • Interests
    Kitesurfing, growing chillies.
  1. You got friendly and helpful. Three different people gave you well informed advice within hours of asking a question. You just complained that it would be too hard. In fact, I just checked and every one of your posts has been asking for help. You haven't once said thanks or even acknowledged the replies you got.
  2. Well, if the right way is too much effort then we'd better all work harder at finding a way to make it easier for you...
  3. Ditch Energia, use CCS and debug your code properly using JTAG, breakpoints, monitoring your variables, etc.
  4. I find that 43oh has pretty much become just Energia support. The useful, informative and helpful community has gone and it's mostly just the stuff you described above. I don't check on here as often as I used to and may well stop completely.
  5. If you're a C# coder, I'd say you can consider Energia/Arduino to be the equivalent of VB.NET. Try CCS. If you have problems with peripheral setup (often the trickiest bit) you can use the grace tool to help generate code for you that you.
  6. Good point. I just had a look and stumbled over the CC3220, CC3220S and CC3220SF. I found a single reference to the CC3220 on E2E which concluded with "you discuss unannounced product on public forum". https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/t/548741 There is also reference to the CC3220S(F)-LAUNCHXL on Mouser and Octopart but nothing there. I'm sure this happened with the MSP432 Launchpad too. http://www.mouser.co.uk/ProductDetail/Texas-Instruments/CC3220SF-LAUNCHXL http://www.mouser.co.uk/search/ProductDetail.aspx?R=0virtualkey0virtualkeyCC3220S-LAUNCHXL
  7. Now updated to Release Candidate (version 7.0.0.00020).
  8. I had the opposite. Licence sent immediately but launchpad took 4 weeks to ship. If anything, it looks like CCS7 might not need a licence at all. That might explain why they're being given away so readily.
  9. @@carlb My licence was for a very early version (3 or 4) and has remained valid for v6. I doubt v7 will require a licence upgrade, I'm just wondering whether a licence will be required at all. It is beta though, so who knows.
  10. The only thing I've noticed so far is that there's nothing about licensing. I was wondering whether my current CCS licences would work - one from a couple of years ago with a Piccolo ControlStick, and one in the current "free with a Launchpad" promotion. Are they about to ditch licencing altogether and ran a quick promo to sell a few Launchpads? Is it just missing from the beta - which also didn't need the usual approval step? A few weeks should reveal all.
  11. Available from the main CCS download page. Final version due in December. http://processors.wiki.ti.com/index.php/Download_CCS Downloading now. It'll let you know how it goes...
  12. Ah - Just after I posted I managed to find an answer myself although it's not elegant. It seems that to expand again you need another level of redirection. http://stackoverflow.com/questions/12630548/c-expand-macro-with-token-pasting This works because of the first rather pointless looking line: #define PxOUT(port) PxOUT_(port) #define PxOUT_(port) P##port##OUT #define LED_PORT 1 PxOUT ( LED_PORT ) ^= 0x01; If anyone knows a slightly neater solution then let me know, but this will do.
  13. Anyone know what I'm doing wrong here? #define LED_PORT 1 #define PxOUT(port) P##port##OUT PxOUT(LED_PORT) ^= 0x01;I get a compilation error - identifier "PLED_PORTOUT" is undefined. I can see that the value that I pass to the parameterized macro is taken literally rather than being itself defined as 1. How do I tell the preprocessor to make the substitution? My code looks similar to that above. I've tried changing the ordering, whitespace, throwing in brackets. I can't seem to get it to work.
  14. Olimex make a PIR sensor with a MSP430F2013 and based on a TI reference design. Might be worth taking a look at if you get to the "roll your own" stage. I once added a LDR to it and changed the code a bit to turn a light on in the bathroom at night when I went for a pee. https://www.olimex.com/Products/MSP430/Starter/MSP430-PIR/
  15. I wasn't implying it was necessarily for this project. I think a logic analyser is pretty much essential for debugging anything when doing microcontroller work. Once it's too complex to use an LED - e.g. any serial protocols, timing, clocks - it'll likely be the first tool you turn to.