Jump to content
43oh

Lyon

Members
  • Content Count

    193
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Lyon

  1. Hi, I have tried also -D (disassemble-all) with the same result. L
  2. HI, Don't know if there is a command inside Energia - but outside of it you may try: arm-none-eabi-objdump -h -S your_file.elf > your_file.lst (in Eclipse usually this is realised as post-build step). L
  3. Hi, Your GCC installation has also the arm-none-eabi-g++, which is for C++ compiling. It is already used with Energia (http://www.eneergia.nu) and there is a big number of libraries written in C++. Code Composer Studio also has support for Energia files and more, brings the (missing) debugger to the user. So you have a full field to play with. As for dilemma C/C++ - use whatever is best for your application. Good luck! L
  4. Hi, That's another story - and you have the possibility to not enable the timeout interrupt. L
  5. Hi, @@spirilis, where this comes from? Never heard about it - we use UART without FIFO in one of our products (>50K pcs. made up to now), and the data is out without any delay. L
  6. Lyon

    WS2812B Matrix

    Hi, FYI: a better alternative to WS chip is APA102/APA102C with a true SPI interface, no timing constraints as this one based on one-wire. L
  7. Hi, To get UART interrupted every byte (no FIFO) you must use the following pair instructions (and nothing else special besides interrupts): UARTEnable(...); UARTFIFODisable(...); this is because inside UARTEnable silently is enabled also the FIFO (check the driverlib/uart.c file). L
  8. Hi, As you maybe know better than me, the CMSIS header files can be obtained from .svd files with the help of svd converter existent in CMSIS distribution. Such .svd files, ( more precisely .svd.xml) I remember to be present in CCS v5.4 or 5.5 (don't know exactly which one) but disappeared completely in CCS v6.0. Unfortunately I have uninstalled all of my CCS versions except the latest one. Please don't blame me to put you at work - not at all such intention - someone which still has such version may confirm or not the presence of such files. Really do not remember if were also files for tm4
  9. Hi, Some observations with your code: a) if posting results with a lot of data, it is better to attach a file instead - do not force the reader to scroll to end before reading the rest. If interested, he will open the results file. take into account the oversampling procedure in ADC: it is transparent to you and already delivers the average, so you don't need extra average calculation as you have done in the ADC interrupt routine. In fact, doing such is generating bad data - the ADC is triggered at sampling rate interval, takes eight samples spaced one microsecond apart and averages them,
  10. Hi, Here it is a link to an working example: http://www.tutorialspoint.com/c_standard_library/c_function_strtoul.htm L
  11. Hi, Wtimer is a 64 bit timer, while the usual Timer is only 32 bit timer. Now: you ca split a timer in two halfs, but those have a capacity half of the "name": for a WTimer, WTimer0A is 32 bits wide, while for usual Timer, Timer0A is 16 bits wide. Similar for WTimer0B vs. Timer0B. L
  12. Hi, Chip select pins (SSIFSS) cannot be borrowed functionally from one module to another, if you mean that. You may use those pins (or any others) as GPIO output pins and manage them manually for any module. In your case, with only two slaves to drive, two separate GPIO output pins can be used ( or two separate modules if the protocol is not the same) L
  13. Hi, Two days old: http://energia.nu/pin-maps/guide_cc3200launchpad/ L
  14. Hi, Add also this: http://www.ti.com/lit/an/slaa577f/slaa577f.pdf L
  15. Hi, Here it is: Energy metering http://www.ti.com/tool/msp430-energy-library?keyMatch=energy%20metering%20library&tisearch=Search-EN http://www.ti.com/tool/evm430-f47197?keyMatch=energy%20metering%20library&tisearch=Search-EN L
  16. Hi, @@karatesever, you are not right - you can average samples for AC signals, and you got the DC component on which AC is superimposed; then subtract the DC from each sample and have the exact AC sample for computing true RMS value. The only problem to look for is the crest factor for the current needed to be measured. The sampling process is as described in a previous post. There is at TI one Design package showing an energy metering instrument which uses a MSP430 and samples only at around 3600 Hz. You can search for that maybe in TIDesigns pages - I will search my archive and post the
  17. Hi, @karatesever: can you specify if the voltage/current are from power line or some other places into your project? I think at this stage (not knowing enough your goals, may be wrong) you are overrating your goals - generally to measure effective voltage/current you need a restricted number of samples per period - and you compute then the effective value (true RMS). And you may acquire a new set in the mean time. @LRA, hardware sampling in Tiva is only for DC; for AC is meaningless - for DC only lower the noise (by square root of number of samples). For AC: if the signal is sinusoidal
  18. Hi, I am not advising for writing into flash although this seems possible. The main problem here is the lifetime of flash - in such application the number of lifetime writing cycles will be exceeded very soon, maybe less than several month. One may arguing the fact "it will work so after", but some secondary effects may come into play: with increasing number of writings, also increases the writing time of a single word, so calculations based of such time will fail soon. Not to speak about erasing the sectors which is more longer than a "normal" writing (and also increases with time)- to avoid
  19. Hi, Just read your blog and noticed you used gnuarmeclise site only for info, not installing, not taking any benefit of this package: templates for micros, newlib use, managed make, detailed settings, bin file generation for Tiva, so on. Also, useful for users is the EmbeddedRegisterView package, allow to see content of peripheral registers by names, not searching in memory vies by addresses. L
  20. Hi, 2x30000 places of what? if shorts means ~120k, if longs, ~240k, so a small place left for program itself. And this is only if the array is declared as constant, no modifiable; flash cannot replace RAM in usual operations. A better alternative is TM4C129x, which has 256K RAM, could be placed there. Or use the EPI peripheral with some external dynamic RAM (up to 512M). L
  21. Lyon

    QEI module

    Hi, Your guess is correct - lm4f120h5qr (re-named TM4C1233H6PM) does not have QEI module. L
  22. Hi, Maybe this could help? Valvano: New Project From Scratch http://youtu.be/X-4RVXqmqks Enjoy! L
  23. Giuseppe, Only TI can make "forecasts", we, as simply users only support the "weather". L
  24. Hi, The main problem(s) with any tools are the path managing - and this depends also on operating system - so first knowledge should come from there. As many users have problems with that, TI has this page showing the CCS specific, here: http://processors.wiki.ti.com/index.php/Include_paths_and_options Some particular settings will remain - for Tiva is better to import a good working program, like any qs_xxxx applications, and knowing where to look from previous link, inspect the program settings and write down specifics for further use. Also there are some tutorials - may be found on
  25. In previous post must read b case instead the face... Weird to have such thing -
×
×
  • Create New...