Leaderboard


Popular Content

Showing most liked content since 10/24/2017 in all areas

  1. 4 likes
    Check the usual suspects: Does the I²C device run at 3.3V? Otherwise, use a logic-level converter. Are pull-ups installed? Try 10, 4.7 or 2.2 kΩ for the SDA and SCL lines. In case the LaunchPad provides multiple I²C ports, is the correct port selected? Try Wire.setModule(0); // or other port number Wire.begin(); Still nothing? Use a logic analyser to trace the signals on the I²C port. (To be continued...)
  2. 3 likes
    Hi, The new MSP430FR2433 ValueLine Launchpad is with a promotional price. https://e2e.ti.com/blogs_/b/msp430blog/archive/2017/11/08/introductory-price-of-4-30-for-msp430fr2433-mcu-launchpad-kit?HQS=epd-mcu-msp-vline-fb-blog-LPdiscount-wwe&hootPostID=97a463d63a1e96cbf999f3c7a33c703e It seems to be a good replacement to the old ValueLine G2
  3. 2 likes
    Sometimes it is easier to use a separate MSP430 LaunchPad with eZ-FET to flash the G2. I have a MSP430F5529 set up with jumpers to do this and use it on custom boards and the G2 LaunchPad alike. The emulator on the G2 LaunchPad is just flaky at times.
  4. 1 like
    I have ported code from that application note to C, one version is available on github if of interest. I2C-interface-for-4x4-keyboard Terje
  5. 1 like
    You would need to take a look at the documentation for the F5529 to verify that it can be awakened with a GPIO interrupt. In a very deep sleep, IIRC, the list of available interrupt sources gets shorter. So if LPM4.5 supports a GPIO transition as a wakeup source you should be good to go.
  6. 1 like
    I just got mine yesterday. Ran the Out-of-the-box demo with CCS Could GUI, it's very decent MCU handful of peripherals, ezFET debugger also supports real-time energy profiling.
  7. 1 like
    Hi @GhostArm Try this: https://github.com/fmilburn3/CardReader_RFID_RC522 RE: porting - do a search as there are a number of posts on 43oh
  8. 1 like
  9. 1 like
    The G2553 has only 512 bytes of RAM. Go for a LaunchPad which MCU has more RAM.
  10. 1 like
    I have made a simple implementation of an ANN that runs on the Tiva-C and 5529 using c++. It basically is a spiking neural network where the input is summed, and if above threshold, that neuron fires all the axons with 1 * W. There is also a mechanism of decay of the firing rate each time the neuron runs, and a mechanism to modify the neurons firing time, (the more the sum is, the quicker it fires, with in a range.) So the output from each neuron is always one, but the frequency differs. So, it is a trivial spiking neural network but it works. I already connected 4 light sensors, 4 input neurons, 1 hidden layer of 4 neurons, 2 output neurons to motors, and obtained a robot that goes around the light like a fly. @spirilis are there other implementations for embedded platforms for neural networks, that runs on TI products? would anyone be interested in the ANN code, if i make it opensource will anyone help me to make it better? I would be very interested in modifying it so it runs on the c2000. basically it would benefit from a fpu. all it does is sum and multiply floating point numbers. ~Best
  11. 1 like
    You just need to edit configuration (text) files, and then Energia will call external CLI application (MSP430-Flasher) for downloading code. Interface between TI FET an target device will be handled by MSP430-Flasher that will automatically detect connected FET, not by Energia anymore. Downloading code will be done by upload button on original / unmodified Interface, simple as it is. It is all explained here, but instead my flasher, command line parameters for MSP430-Flasher should be used.
  12. 1 like
    @FredinMcKinney You've probably already done this, but since you didn't mention it... I've had the experience from time to time with the debugger and/or the serial port failing to connect, even while testing. One solution that has pretty consistently worked for me has been to close any application connected to the device (e.g. Energia or CCS) disconnect the device from the USB port, and if connected through a powered external USB port, to power down that entire device. Then, power the port, power the device and restart my app. Aside from that, I have nothing more to add... Bob
  13. 1 like
    AFAIK, any LP is with virtual com port, that is not needed by Energia. I didn't noticed any Energia popup with something like "missing virtual com port", when there was no virtual com port available. As I allready noted, I don't see any problems related to downloading code by SBW with MSP430-Flasher by any LP. Problem is in missing Energia header / library files for unsupported devices.
  14. 1 like
    Last summer I worked on the idea of embedding a USB-to-Serial adapter in Value Line projects so firmware revisions could be done with only a USB cable and the right software, without needing a Launchpad. The adapter chips and modules containing them are now so inexpensive that this makes sense. On the chance that it might be useful to someone, I've written it all up and posted it to Github: https://github.com/gbhug5a/MSP430-BSL The project is summarized in the README, and explained in detail, with needed software and hardware, in the PDF.
  15. 1 like
    Below an example Sketch of how to use the watchdog peripheral with driverlib API calls. This example Sketch will stop feeding the watchdog and reboot the CC3200 after g_ulWatchdogCycles reaches the value of 10. This example was pieced together from the driverlib watchdog examples in the CC3200 SDK. #include "hw_wdt.h" #include "wdt.h" #include "utils.h" #include "prcm.h" #include "interrupt.h" #include "hw_ints.h" volatile unsigned long g_ulWatchdogCycles = 0; typedef void (*fAPPWDTDevCallbk)(); #define WD_PERIOD_MS 1000 #define SYS_CLK 80000000 #define MILLISECONDS_TO_TICKS(ms) ((SYS_CLK/1000) * (ms)) void setup() { boolean bRetcode; Serial.begin(115200); Serial.println("**************************************************"); Serial.println("* CC3200 Watchdog Test *"); Serial.println("**************************************************"); // // Set up the watchdog interrupt handler. // WDT_IF_Init(WatchdogIntHandler, MILLISECONDS_TO_TICKS(WD_PERIOD_MS)); bRetcode = MAP_WatchdogRunning(WDT_BASE); if (!bRetcode) { Serial.println("Watchdog failed to run. Shutting down"); WDT_IF_DeInit(); while (1); } } void loop() { Serial.print("Watchdog interrupt count: "); Serial.println(g_ulWatchdogCycles); delay(1000); } void WatchdogIntHandler(void) { // // After 10 interrupts, switch On LED6 to indicate system reset // and don't clear watchdog interrupt which causes system reset // if (g_ulWatchdogCycles >= 10) { MAP_UtilsDelay(800000); return; } // // Clear the watchdog interrupt. // MAP_WatchdogIntClear(WDT_BASE); // // Increment our interrupt counter. // g_ulWatchdogCycles++; } void WDT_IF_Init(fAPPWDTDevCallbk fpAppWDTCB, unsigned int uiReloadVal) { // // Enable the peripherals used by this example. // MAP_PRCMPeripheralClkEnable(PRCM_WDT, PRCM_RUN_MODE_CLK); // // Unlock to be able to configure the registers // MAP_WatchdogUnlock(WDT_BASE); if (fpAppWDTCB != NULL) { MAP_IntPrioritySet(INT_WDT, INT_PRIORITY_LVL_1); MAP_WatchdogIntRegister(WDT_BASE, fpAppWDTCB); } // // Set the watchdog timer reload value // MAP_WatchdogReloadSet(WDT_BASE, uiReloadVal); // // Start the timer. Once the timer is started, it cannot be disable. // MAP_WatchdogEnable(WDT_BASE); } void WDT_IF_DeInit() { // // Unlock to be able to configure the registers // MAP_WatchdogUnlock(WDT_BASE); // // Disable stalling of the watchdog timer during debug events // MAP_WatchdogStallDisable(WDT_BASE); // // Clear the interrupt // MAP_WatchdogIntClear(WDT_BASE); // // Unregister the interrupt // MAP_WatchdogIntUnregister(WDT_BASE); }
  16. 1 like
    Tiva Eagle Library All TM4C123xxxPM and TM4C129xxxPDT parts are now included. Two parts now, will add remaining 3 123xxxPM's in few days ( TM4C123[0,2,A]xxPM, TM4C123[6,F]xxPM, and TM4C123[7,G]xxPM ) Just one part for now, TM4C123[1,3,B]xxPM (for example TM4C1231C3PM) Content: TM4C123[0,2,A]xxPM - 64 pin LQFP package - PM (S-PQFP-G64) TM4C123[1,3,B]xxPM - 64 pin LQFP package - PM (S-PQFP-G64) TM4C123[6,F]xxPM - 64 pin LQFP package - PM (S-PQFP-G64) TM4C123[7,G]xxPM - 64 pin LQFP package - PM (S-PQFP-G64) TM4C129xxxPDT - 128 pin TQFP package - PDT (S-PQFP-G128) ti-tiva.lbr (updated 4/25/14)