• Announcements

    • bluehash

      Forum Upgrade   03/11/2017

      Hello Everyone, Thanks for being patient while the forums were being fixed and upgraded. Please see details and report issues in this thread. Thanks!

chicken

Members
  • Content count

    864
  • Joined

  • Last visited

  • Days Won

    69

chicken last won the day on January 18

chicken had the most liked content!

About chicken

  • Rank
    Level 4

Profile Information

  • Gender
    Not Telling
  • Location
    Redmond, WA
  • Github
    https://github.com/astuder
  1. Depending on you environment NULL may not be defined. You can use 0 as alternative. E.g. if ( bar == 0 )
  2. I guess the forward diode is to bypass the 10k resistor when the MCU draws more than 70uA. That's a great trick to remember.
  3. Hi @wanliban Datasheet numbers are hard (impossible?) to hit, especially when the signal comes from a real world target rather than a piece of lab equipment. But you should definitely be able to achieve better than -70 dBm. First thing: What does -70 dBm mean in your setup? The level at which you are able to receive any valid messages? Level at which you receive 50% of all messages? 80%? Real world targets or controlled signal from an RF generator? You can find my radio_config file and software on GitHub: https://github.com/astuder/dAISy Hardware wise, keeping noise out is very important. A bandpass filter in front of the radio helps a lot. Also make sure to minimize the self-inflicted noise by having continuous ground planes in the RF section and keeping the radio away from noisy circuits (like USB). If testing with real-world signals, make sure to use a proper VHF antenna (i.e. not a short rubber duck) and keep the antenna away from other electronics (e.g. monitors or LED and fluorescent light fixtures). Also follow Silabs' procedures for RX LNA matching (AN643) and layout recommendations (AN414) I hope this helps.
  4. I wonder if there's some aggressive compiler optimization going on. The compiler wouldn't know what's happening inside the ROM functions and may put function calls out of order. Maybe worth a try to see if it works with straight calls to the driver lib (i.e. dropping the MAP_ prefix). PS: The reference manual says, that CRC result is available after 1 clock cycle. Also no mention of CRC issues in the errata.
  5. I don't try to convince anybody. I'm way too busy myself to unlearn bare metal C. But I thought the video will be relevant for people that venture down the rabbit hole.
  6. Here's some more C++ magic which seems applicable to embedded programming. I think he optimized for speed instead of space (using tons of mov instead of a loop to initialize sprite bitmaps). But a lot of impressive optimization by the compiler. On the downside, I didn't understand half the constructs he was using. I guess I need to relearn C++ via embedded.fm podcast
  7. On the profile page it is labeled as "content count". Maybe "posts" includes status updates and other content.
  8. no need to start another thread
  9. Is there a specific event when you must read the ADC? If not, just make one main loop that reads keys and ADC. Reading the ADC should only take a fraction of a second.
  10. Did you already try the MSPFlash library that comes from Energia? Use search on this site to get plenty of threads about RTC, like for example this one: http://forum.43oh.com/topic/3375-energia-library-msp430-real-time-clock/
  11. I don't know how good those books by Make are, but if you're looking for some beginner books for Arduino and Raspberry Pi and don't mind that you only get a digital copy (PDF, ePUB or MOBI), this might be of interest: Humble Book Bundles: Arduino & Raspberry Pi https://www.humblebundle.com/books/make-arduino-and-raspberry-pi $1 bundle: Make: magazine, Volume 38: Everything you need to know about DIY consumer electronics Make: Basic Arduino Projects Making Things See: 3D vision with Kinect, Processing, Arduino, and MakerBot Make: Getting Started with the Internet of Things Make: Getting Started with Netduino $8 bundle adds: Make a Mind-Controlled Arduino Robot Make: A Raspberry Pi-Controlled Robot Make: AVR Programming Make: FPGAs Make: Bluetooth $15 bundle adds: Make: Getting Started with Arduino, 3rd Edition Make: Getting Started with Raspberry Pi, 3rd Edition Make: Getting Started with Sensors: Measure the World with Electronics, Arduino, and Raspberry Pi Make: Raspberry Pi and AVR Projects Make: Arduino Bots and Gadgets Make: Sensors Make: Getting Started with the Photon: Making Things with the Affordable, Compact, Hackable WiFi Module
  12. How do you expect the JTAG programmer to provide a UART bridge when it's not connected to UART pins of the MCU? One the MSP430F5529 LaunchPad, a second UART is broken out on pins 3 and 4 (P3_3/P3_4). So unless your board has those broken out, using the CCS debugger is your only option.
  13. @@nazmibojan thanks for reporting back. Great idea to get a cell phone repair shop to do the trickier soldering work :-)
  14. How long are the wires over which you want to do I2C? Are the grounds connected? Weaker (i.e. higher value) pull-ups will make noise issues worse.