Hi William, Unfortunately I don't have enough experience with that particular device family to answer the question on the software encryption library. You'll have to make a dedicated thread for that and we'll get a proper expert to answer that. For the LaunchPad yes that would be the right one to order for that device family. Best Regards, Ralph Jacobi
↧
Forum Post: RE: AM2631: AM2631 storage temperature
↧
Forum Post: RE: TMS320F28379D: Unresolved Symbols of Fapi Using Flash API on TMS320F28379D
Hi, Did you added header files path in your project? Regards, Rajeshwary
↧
↧
Forum Post: RE: TMS320F2800156-Q1: Enhanced Capture
Hi Samuel, [quote userid="556635" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1464461/tms320f2800156-q1-enhanced-capture"] Why doesn't function ECAP_resetCounters() (CTRFILTRESET) reset event prescaler? [/quote] This function does not reset the event prescaler since those are dividers used and are not be changed during run time. However this CTRFILTRESET will reset the prescaler logic. Which when the prescaler is used, and the CTRFILTRESET occurs, the counters reset and the prescale logic is reset. [quote userid="556635" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1464461/tms320f2800156-q1-enhanced-capture"] If I set event prescaler to non-zero(don't bypass the prescale logic), I won't be able to get the correct duty cycle and can only detect the frequency, is it right? [/quote] You will have to calculate the duty based on your new prescale value, as well as the frequency. If you do divide by 2, then your captured values will need to include a multiply by 2 to get the actual number of SYSCLK. [quote userid="556635" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1464461/tms320f2800156-q1-enhanced-capture/5618639#5618639"] Figure 2 shows the code generated based on syscfg. Why not call function ECAP_clearGlobalInterrupt() to clear ECFLG.INT? [/quote] Nothing is stopping for you to do this as well. However the example showcases clearing all flags individual for demostration purposes. Best, Ryan Ma
↧
Forum Post: RE: TM4C1294NCPDT: cJSON Implementation on FreeRTOS
Hi, Sorry, we cannot support and debug these 3rd party code. If you have a MCU related question, I will be glad to assist.
↧
Forum Post: RE: BQ41Z50EVM: Disabling the dataflash permanent fail
Hello, It sounds like you were not successful flashing the device. Can you please send the device to ROM mode before flashing?
↧
↧
Forum Post: RE: TM4C1230C3PM: Print main.c variable in console during debug with GEL_TextOut
Hi, [quote userid="643240" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1477316/tm4c1230c3pm-print-main-c-variable-in-console-during-debug-with-gel_textout"] I have a program where I measure a voltage and a current and i want to be able to print it in the console while debugging. [/quote] Why don't you just send it out through UART which can be connected to the PC's virtual COM port which is the best way. The TivaWare SDK has the UARTPrintf() function to send the message to the COM port. You can refer to the example on how UARTPrintf is used at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\hello. UARTPrintf does not handle floating point. You will need to convert from float to string and use UARTPrintf to send the string out.
↧
Forum Post: RE: RE: TMS320F28377S: spi and dma receive stuck
Hi Joe, This looks to be the same problem I mentioned before. The SPI FIFO levels are set to 8 but the DMA burst size they are using is 1. These need to match in order for correct operation. The DMA burst size either needs to be changed to 8, or the SPI FIFO levels need to be changed to 1. Best Regards, Delaney
↧
Forum Post: RE: MSPM0L1306: SPI Single Bidirectional PICO/POCI for HOPERF module interface
Thanks for confirming I'm on the right track - yes only reading the RF modules registers needs the special SPI_PICO IO pin switching. These new MSPM0 MCUs have extensive peripheral config options compared to the old MSP430 I am used to. I think I need to disconnect the SPI output from the pin (PC bit), and put it into a high Z state. Does "Application software is responsible for ensuring that the IOMUX settings do not conflict..."(ref p733 SLAU847D) mean the MSPM0 can damage itself if incorrectly configured, regardless of external circuitry? ref Figure 9-1 and 9.2.1 Peripheral Function (PF) Assignment, it lists separate steps 1-6 of which I would only need to do 1 -3, which hopefully means quicker to complete the change to high Z? For that I need to write 0 into the PINCM.PF bits and the PC (Perpheral Connect) and leave the INENA (Input Connect) bit off. I'm not sure if steps can be combined into one fast single write to the PINCM register? I would like to avoid any internal MCU race conditions if there is a risk of blow up of the internal IOMUX circuit, or output of a glitch on the PICO output?
↧
Forum Post: TMS320F28379D: Problems with Single Graph update ( LAUNCHXL-F28379D)
Part Number: TMS320F28379D Tool/software: I'm having issues when visualizing data in the Single time Graph. I started with the example adc_soc_epwm_cpu01, to view a sinusoidal signal. If the buffer size i s not an integer multiple of the sampling frequency divided by the signal frequency then the signal on the graph gets distorted, this has been reported previously here https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/888657/ccs-tms320f28379d-adc-conversion-not-working In the thread someone obtained the correct behavior but using a control card. Additionally, I inspected the memory browser and the data matches the distorted waveform. Is it possible that there are some limitations for real-time debugging in the Launchpad compared to the control card? Or is the issue somewhere else? Thanks for the help.
↧
↧
Forum Post: RE: TMS320F28P650DH: How does SysConfig ClockTree view affect the EPWMCLKDIV setting
I excluded the device folder and now it builds and debugs, but now I don't have any PWM output. Can you provide all the code that was generated when you changed EPWMCLK? I'm using the TMDSCNCD28P65X control card.
↧
Forum Post: RE: TM4C129ENCZAD: Unable to clear General Purpose Timers to zero.
I tried disabling before writing 0 to TAV and that didnt work either. Your code is very similar to mine, except you are using Timer0 and I am using Timer2 and you are updating the value to random values rather than 0, so I don't see anything particularly different to try. The race condition part yes but I guess the TAV is a free running timer that should always increment while the micro is running so if it is overwriting any value I write, that basically means the functionality for resetting the timer is not available but I doubt that is the case. I can try stepping through registers using the debugger but my guess is what I will see is the counter registers not being set to 0.
↧
Forum Post: RE: MSPM0G3507: Add a password-protected JTAG locking mechanism to MSPM0G3507
I used the XDS-110 for an example because this is the debugger we include on the launchpad and the one we use most frequently here at TI. Any 3rd party debugger, such as PEMicro, should enable you to enter the password in a similar way. I believe that you can do this in CCS, using the PEMicro debugger, you just need to choose it as your debugger. You may also want to contact PEMicro support for tips on this in case there are nuances to using this functionality with their debuggers specifically. Additionally, it is not only possible using the two methods you mention above - if you really wanted you could use any SWD host as long as it sends the correct packet format. CCS supports it natively of course because it is a TI IDE, with a TI MCU. Our other supported IDEs (such as Keil and IAR) are also capable of the same behavior, with their respective debuggers as well.
↧
Forum Post: RE: MSPM0L1306: SPI Single Bidirectional PICO/POCI for HOPERF module interface
Thanks for confirming I'm on the right track - yes only reading the RF modules registers needs the special SPI_PICO IO pin switching. These new MSPM0 MCUs have extensive peripheral config options compared to the old MSP430 I am used to. I think I need to disconnect the SPI output from the pin (PC bit), and put it into a high Z state. Does "Application software is responsible for ensuring that the IOMUX settings do not conflict..."(ref p733 SLAU847D) mean the MSPM0 can damage itself if incorrectly configured, regardless of external circuitry? ref Figure 9-1 and 9.2.1 Peripheral Function (PF) Assignment, it lists separate steps 1-6 of which I would only need to do 1 -3, which may be quicker to execute? "When no peripheral function is selected (PF==0) the output latches are put into a reset state, causing the output NMOS and PMOS to be disabled (leaving the IO pin in a Hi-Z state with the exception of any enabled pullup/ pulldown resistors)." ref p735 SLAU847D Can I write 0 into the PINCM.PF bits and the PC (Perpheral Connect) at the same time and leave the INENA (Input Connect) bit off? I'm not sure if steps can be combined into one fast single write to the PINCM register? I would like to avoid any internal MCU race conditions if there is a risk of blow up of the internal IOMUX circuit, or output of a glitch on the PICO output?
↧
↧
Forum Post: RE: LP-MSPM0G3519: warning: archive symbol directory is missing from archive
Hi Kiran, What tool are you using to get this output? Also what are you trying to do? I am not clear on the setup here so please indicate the steps you take to get this behavior so we can start root-causing the issue.
↧
Forum Post: RE: LP-MSPM0G3519: warning: archive symbol directory is missing from archive
I am using cmake to compile the code. I am trying to compile my application by including the SDK driverlib and devices files. The cmake generates the libraries (libstartup.a and libplatformstub.a) as you see in the image. Finally i am generating the .ELF file by linking all these libraries. During linking i am getting this warning. Is it something to do with tiarmar ? where its failed to identify the library location?
↧
Forum Post: MSPM0G3519: UART 9 bit data mode
Part Number: MSPM0G3519 Tool/software: Hi Support, My assigned focus customer has asked if there is any way to have the UARTS on the MSPM0G3519 support 9 data bits? From the TRM, I see 4 x 8 FIFOs so didn't know if there were any way to 'fake' a 9 data bit mode? Can the address bit be used as a 9th data bit? It would appear that some of the comp has a true 9 bit FIFO. Thanks! Blake
↧
Forum Post: RE: MSP430F2619: Where in the code in CCS , we can find the PC getting loaded with address (of application code address or custom bootloader address) which resides in reset handler?
Hi Anju, Where the PC will jump to after a reset is determined by how you've written your custom bootloader and your application code. In my experience, typically when you've written a custom bootloader you place it into the flash memory with its own vector table. Then once you've flashed the application code you want via BSL, you forward the vector table to the one defined by your application code. As Bruce mentions, if you already have some of this code and need to find where you jump to after a reset, you can just connect the debugger and hit the reset button in CCS to see where you jump. You can also check the value in the reset vector.
↧
↧
Forum Post: RE: MSPM0G3507-Q1: Repeated input pin damage (shorted to VDD)
Hi Jakub, The maximum current that you can put in / pull out of PA25 (standard drive IO) is 6mA. The maximum voltage the pin is rated for is also the value Vdd+0.3V. You can damage the pin by exceeding either one of these limits. I see you mention that this sometimes occurs to devices that have nothing connected to the pins? Are you saying that you have boards that have never had anything connected there and get this issue where PA25 appears to be shorted to VDD?
↧
Forum Post: RE: MSPM0G3519: UART 9 bit data mode
Hi Blake, The UART module allows a 9-bit Address Mode. The address qualifier is at the location of the parity bit. The Userguide's 18.2.3.10 9-Bit UART Mode section provides more information. We currently don't have any examples in the SDK for this mode. Best Regards, Diego Abad
↧
Forum Post: RE: TMS320F28P650DH: How does SysConfig ClockTree view affect the EPWMCLKDIV setting
Mike, Please check the PWM settings are getting programmed properly. Confirm from the device_init() function that you see the clocktree functions like I mentioned below [quote userid="559325" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1476087/tms320f28p650dh-how-does-sysconfig-clocktree-view-affect-the-epwmclkdiv-setting/5670440#5670440"] Also enable the device support in sysconfig [/quote] Change the divider from clocktree and check the clock divider function input changes above
↧