Fred

Members
  • Content count

    883
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Fred

  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. 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...
  7. 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
  8. Now updated to Release Candidate (version 7.0.0.00020).
  9. 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.
  10. @@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.
  11. 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.
  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.
  16. You'll find a use for it soon enough.
  17. Interesting stuff. I was thinking about this only yesterday, primarily because I have a project that I switch between a F5529LP dev board and a F5510 final PCB. That means it's helpful to be able to switch pins and ports with some sections like this #if defined (__MSP430F5510__) #define LED_RED_PORT P2OUT #define LED_RED_PIN BIT1 #endif #if defined (__MSP430F5529__) #define LED_RED_PORT P1OUT #define LED_RED_PIN BIT0 #endif Usage: LED_RED_PORT |= LED_RED_PIN; This simple stuff is all fine, but gets messy when using interrupts and needing to define multiple PxDIR, PxIN, PxOUT, PxSELn, PxIE, etc. Then I started doing this sort of thing, but it started to feel a bit wrong #define IRQ_ON P2IE |= IRQ_PIN Usage: if (something) IRQ_ON; I might just use the parameterized macros with ## such as GPIO_SEL(x) so I only have to define the port once. I knew I'd seen something similar once, but couldn't remember where or when. Thanks for reminding me.
  18. I was thinking more of the <$10 eight channel clones. Definitely good enough for some UART debugging. I'm in the UK but found UK sellers shifting them from a UK warehouse. Obviously they're all from Shenzhen originally. (Hmmm. Just searched and there seems to be less around than there used to be, and all seem to ship from China now.)
  19. I'd say go for a Saleae clone on eBay. Software wise use Sigrok or Saleae as your moral compass dictates. I'm happy with my Scanalogic one. Another option.
  20. I spotted it here: http://www.eevblog.com/forum/index.php?topic=73683.0
  21. It seems there is another free shipping deal. Spotted this over on EEVBlog.
  22. JavaScript had no place on a microcontroller (IMHO, of course). I've been a professional web developer for the past 20 years or so, so I do know when JavaScript does have a place.
  23. Element14 has 5 F28379D LaunchPads to give away to people who are happy to road test and review them. I haven't got the time to do this justice, but perhaps someone else on here might. https://www.element14.com/community/roadTests/1678/l/C2000-Delfino-MCU-F28379D-Dual-Core-LaunchPad
  24. I like the coin in the above photo for scale - mainly because I can now estimate the size of a US quarter because I know the pitch of a TSSOP IC. :-)
  25. You'll have a lot of fun with that. Definitely try PCBs and let us know how you get on. The 5 axes might be overkill. The problem is that software to make proper use of more than 3 axes is complicated and expensive. Swapping one linear axis for a rotational one and engraving on a cylinder is easy enough.