Jump to content

Fred

Members
  • Content count

    884
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Fred

  1. MSP432E4

    I just spotted these and couldn't find any other thread about them. Headline is it an MSP432 with Ethernet, USB and CAN. http://www.ti.com/microcontrollers/simplelink-mcus/msp432/overview/msp432e4.html http://www.ti.com/product/msp432e401y http://www.ti.com/product/msp432e411y Launchpad: http://www.ti.com/tool/msp-exp432e401y
  2. Help with serial on custom board please

    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.
  3. Help with serial on custom board please

    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...
  4. Help with serial on custom board please

    Ditch Energia, use CCS and debug your code properly using JTAG, breakpoints, monitoring your variables, etc.
  5. Netiquette for Newbies

    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.
  6. 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.
  7. 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...
  8. CCS 7.0 beta available

    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
  9. CCS 7.0 beta available

    Now updated to Release Candidate (version 7.0.0.00020).
  10. CCS for $9.99

    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.
  11. CCS 7.0 beta available

    @@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.
  12. CCS 7.0 beta available

    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.
  13. Basic MSP430 GPIO Macros

    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.
  14. Basic MSP430 GPIO Macros

    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.
  15. Industrial / commercial sensors

    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/
  16. Logic Analyzers

    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.
  17. Logic Analyzers

    You'll find a use for it soon enough.
  18. Basic MSP430 GPIO Macros

    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.
  19. Logic Analyzers

    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.)
  20. Logic Analyzers

    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.
  21. I spotted it here: http://www.eevblog.com/forum/index.php?topic=73683.0
  22. It seems there is another free shipping deal. Spotted this over on EEVBlog.
  23. 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.
  24. 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
  25. It's Halloween Again

    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. :-)
×