Part Number: TMS320F28377D Dear team: I use F28377D to run the example project "cla_adc_fir32_cpu01".(C:\ti\ controlSUITE \device_support\F2837xD\v210\F2837xD_examples_Cpu1\cla_adc_fir32) I clicked on the little triangle next to the "build" button and choose "CPU1_FLASH", and then debug the project. I pushed the "resume" button after debug, and found that only C28xx_CPU1 was "running" status, CPU1_CLA1 was "Disconnected:Unknown" status. Is this working correctly(the CLA is run is flash)? To run this example project, do I have to connect pin EPWM2A to ADCA0 on the board? //! EPWM2 is setup to switch at 10KHz. Connect pin EPWM2A to ADCA0 //! on the board to see the filtering effect. If it doesn't work correctly, What should I do to make this project work correctly? After running the routine correctly, can the variables in cla1Isr7 () be observed by Expressions?
↧
Forum Post: TMS320F28377D: How to run a CLA project in flash?
↧
Forum Post: MSP430F67791A: EVM430-F6779 couldn't be connected to EMDC
Part Number: MSP430F67791A Hi team, I am working on a demo with the EMDC and EVM430-F6779 . I follow the guidelines and were able to get the HID bridge which is the F5529LP connected to the GUI. However, the EVM didn't. I can only see the text "HID Connected" at the bottom left of the GUI. Compares to the guidelines, the only difference I made is the isolation board . I am waiting for the MSP-ISO board shipped. In the meantime, I created a simple circuit using ISO7421 as shown in the picture below. On the SW side, I programmed the F6779 EVM with the image. I even tried to generate code from the example project ( EVM430-F6779 _CT_3V_3C_50Hz), import it to CCS, build and download to the board. By using an oscilloscope I was able to see short pulses at RX_EN pin on the EVM, but there was nothing on the TX_EN. What else should I check?
↧
↧
Forum Post: TM4C1231H6PM: Is the UART of TM4C123x same with TM4C129x’s?
Part Number: TM4C1231H6PM Hi Team, Is the UART of TM4C123x same with TM4C129x’s? Is it same module? Thanks and Best regards, Kuerbis
↧
Forum Post: TMS320F280049C: External interrupt comes early.
Part Number: TMS320F280049C We want to measure frequency of AC Power source. So we have taken external interrupt for ZCD ( Zero crossing detector). The ZCD circuit give us the pulses of 10 ms. So we should get interrupt at every 10 ms of time. But some time we get interrupt in 16us and after that we got next interrupt after 20 ms. We have observed the output of our zcd circuit in it looks fine. Also we have tried using function generator. We have given pulses of 100Hz frequency with 50 % duty cycle to GPIO ( for us it is ZCD) of DSP. In this test we have got proper interrupt. We have configured the interrupt as per recommended in datasheet and technical user manual. So why we are getting improper interrupt?
↧
Forum Post: MSP432P401R: I2c test does not work?
Part Number: MSP432P401R Hi: Use software version:ccs 8.0 When the MSP432P401R debugged the ICM-20948 chip (I2C), I2C was found to be unreachable. (The ICM-20948 chip has no problem) Debugging steps: I first connected the two boards MSP432P401R I2C (P1.6, P1.7) and pulled up a 10K resistor. The test found that the data received from the device was not correct at the beginning, and the data received from the device after 5S was completely correct. I used the MSP432P401R master program to control the ICM-20948 and found that the program could not be sent. I will refer to the information: https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/472504/1701554#1701554 Did not solve the problem. help me? Thank you. (Please visit the site to view this file)
↧
↧
Forum Post: TM4C123GH6PM: UART Interrupts and Error Checking
Part Number: TM4C123GH6PM Hello, I'm currently working with the TM4C123GH6PM microcontroller and the latest TivaWare C Series library to implement the MODBUS RS-232 Protocol over UART. I'd like to setup the UART to only trigger interrupts when a receive error occurs (Overrun Error, Break Error, Parity Error or Framing Error), and ideally I'd like to determine the type of error that has occurred. How should I setup my UART interrupt and ISR in that case? Here is my current UART configuration: Many thanks, Ksawery
↧
Forum Post: MSP430FG4618:
Part Number: MSP430FG4618 I have ported MSBoot to IAR 7.12 compiler , but during vector redirection array i'm getting truncated error i.e 20bit ISR address can't be converted to 16 bit . Below is the table that i;m getting error : const unsigned int ProxyVectorTable[] @ 0xEF82 = { 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(0) DAC12 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(1) DMA 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(2) BASICTIMER 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(3) PORT2 0x4030, (unsigned int) Terminal_HostTX_Isr, // APP_PROXY_VECTOR(4) USART1TX 0x4030, (unsigned int) Terminal_HostRX_Isr, // APP_PROXY_VECTOR(5) USART1RX 0x4030, (unsigned int) VSS_start_loop_Isr, // APP_PROXY_VECTOR(6) PORT1 0x4030, (unsigned int) VSS_sys_timer_Isr, // APP_PROXY_VECTOR(7) TIMERA1 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(8) TIMERA0 0x4030, (unsigned int) VSS_ADCData_Isr, // APP_PROXY_VECTOR(9) ADC12 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(10) USCIAB0TX 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(11) USCIAB0RX 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(12) WDT 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(13) COMPARATORA 0x4030, (unsigned int) Dummy_Isr, // APP_PROXY_VECTOR(14) TIMERB1 0x4030, (unsigned int) VSS_ADC_timer_Isr, // APP_PROXY_VECTOR(15) TIMERB0 0x4030, (unsigned int) VSS_NMIInterrupt_Isr, // APP_PROXY_VECTOR(16) NMI }; Kindly let me know ,how should I do ISR conversion to 16 bit address as already linker file allocated ISR to 0x3100 0x EFFF section no possiblity that it will go above this. -Vikas B
↧
Forum Post: MSP430F6736: PMMCORE voltage recommended setting
Part Number: MSP430F6736 We are using MSP430F6736 . In the PMMCTL0 (Power Management Module Control Register 0) control register PMMCOREV (2 Bit)is given. PMMCOREV 2 bits are generally use for select operating voltage and operating Frequency. Currently we are increasing this core voltage step by step. Now we are try to start with directly core voltage 3 (because of use SVS and SVM featute can use in LPM 3 mode). Question 1.Can we select directly Core voltage level 3 (PMMCOREV:11) ? or Core voltage increase in step by step level 0, level 1, level 2 and then level 3? Question 2. When selected directly Core voltage 3 (PMMCOREV:11) we observe that micro controller gives an interrupt SVMHIFG (thresold 2.7 volt) two times. First one when falling adge cross the SVMH thresold and second one is getting wnen cress threshold on rising adge also.
↧
Forum Post: MSP430I2040: Where can i find TIDM-SERVER-PWR-MON library ?
Part Number: MSP430I2040 Where can i find the library of TIDM-SERVER-PWR-MON that the documentation is talking about to use with IAR ?
↧
↧
Forum Post: TMS320C28346: No I2C booting after multiple hardware resets?
Part Number: TMS320C28346 Dear sir or madame, we are using the TMS320C28346 in one of our data acquisition systems for about 5 years now. Up to now there where no problems with this controler. Now we have a customer with an application with unstable power supply. Our pcb has an monitoring chip(STM1816TWX) for the 3.3V power supply of the dsp and works fine if there is a single power-loss hardwarereset event. The output of the monitoring chip is connected to the *XRS and *XRSIO pins of the dsp. In normal operation the dsp is booting directly from an I2C eeprom, which is also working fine after a single hardware reset on the *XRS and *XRSIO pins. But if there is second or third reset while the bootloader is reading his program from the eeprom , the dsp isn't booting anymore. Also with another hardwarereset we aren't able to recover the dsp. Just reconnecting the power supply completely, let the dsp boot correctely. In the errata sheet, we cannot find any note to this behavior. Do you have any suggestions/ideas to solve this topic? If there is a interest, I can upload some screenshots from the scope where you can see the I2C , 3,3V and reset signals. Best regards, Fabian Seebauer
↧
Forum Post: TMS320F280049: Implementation of the "Lock Mechanism for Control Registers" safety feature
Part Number: TMS320F280049 Hello, My customer wants to implement the Lock Mechanism for Control Registers (id: SRAM12) that's described in the safety manual. Referring to the TRM, section 3.14.16 MEM_CFG_REGS Registers says there is a register called DxLOCK (Dedicated RAM Config Lock Register) and another one called DxCOMMIT (Dedicated RAM Config Lock Commit Register). After having set these two registers, other registers (DxACCPROT0, DxINIT and DxTEST) can no longer be modified. Bits in these registers can only be cleared after a system reset. What is the difference between them? Which one should be used to implement the recommended safety measure? Thanks, François.
↧
Forum Post: MSP430FR2633: Captivate with NFC R/W
Part Number: MSP430FR2633 Hi Please see the following file. (Please visit the site to view this file) As you can see in the file, the customer is considering Capacitive touch with Captivate surrounded by antenna of NFC reader/writer. Could it be possible to be interfered between NFC R/W and capacitive touch each other with such board layout? Could you please give me your view? I appreciate if I could get feedback from your team. (Or NFC team) BestRegards
↧
Forum Post: TMS320F280049: GPIO current limited value
Part Number: TMS320F280049 Hi team, I have some confusion about the data in following figures. As the 5.6 figure shown, when the GPIO output low level, the maximum current IOL is 4mA . However, in the 5.1 figure, the range of output current is from -20mA to 20mA , does this mean that the maximum GPIO output current is 20mA? What's the different of these two variables? Thanks! Best Regards/Rayna
↧
↧
Forum Post: CCS/MSP432P411V: Functional safety certification for CCS against MSP432P411V
Part Number: MSP432P411V Tool/software: Code Composer Studio Hello, I found the assist tool for functional safety standard including IEC 61508 and ISO 26262. www.ti.com/.../SAFETI_CQKIT Does this tool support MSP432P411V ? Also, is there detail documentation for the tool? Best Regards, Nomo
↧
Forum Post: CCS/TMS320F28069: TMS320F28069
Part Number: TMS320F28069 Tool/software: Code Composer Studio Hello, I am using a TMS320F28069 in a project and try to program it using XDS110 debug/program tool using JTAG interface. The target configuration work well in CCS 8 but when I program the chip nothing happens. And when I read the variable using the debug the value are wrong. Is it the correct tool for programming this chip? Can someone help me? Thanks Louis
↧
Forum Post: CCS/TM4C129XNCZAD: RTOS path to project properties gives an error
Part Number: TM4C129XNCZAD Tool/software: Code Composer Studio HI Am using CCS version 6.1.0.00104 TI-RTOS :- tirtos_tivac_2_14_00_10 for some personal projects, Issue:- Not able to detecting RTOS version showing unknown Steps:- - Installed latest version of RTOS from CCS APP Software center i.e. 2.16.00.08 - downloaded latest version(2.16.00.08) added path to under products and repositories tab inside General - After adding path, the project never compiled because my project maid by TI-RTOS older version i.e. 2.14.00.10, but it linked to latest version. - Now, i uninstalled TI-RTOS (2.16.00.08) using CCS APP Center - after uninstalling, restarted CCS, and PC as well - Try to add path of TI-RTOS ( 2.14.00.10 ) to projects properties but it is not taking Don't know what exactly happening, PF Screen short Can any one help me to resolve this issue? Best, Ugra
↧
Forum Post: TMS320F28379D: Flash programming file load error
Part Number: TMS320F28379D Hello, I'm working with a TI LAUNCHXL-F28379D and the example, "Parameter Tuning and Signal Logging with Serial External Mode" from MATHWORKS. I have succesfully loaded a blinking light Simulink model (constant and a gpio block) into RAM and seen that it can be deployed by building, so I know that target hardware settings are correct and this isn't a Simulink issue. When run with the external debugger the example "Parameter Tuning and Signal Logging with Serial External Mode" is too large to fit in ram. I select the option to "Boot From Flash" so as to load the example into flash memory. It compiles but when it attempts programming to hardware the following error occurs for both the example and my simple light test model. What do I need to change in order for it to load the program correctly into flash memory? This seems like an issue related to either the linker or CCXML but both appear to have the correct settings as best as I can tell. I have viewed all related issues on both this board and Matlab's and none seem to quite be the same. I have tried both CCS 8.2 and the more recent 9.0.1 and neither makes a difference in this behavior. Thank you! Below is the resulting error message. Downloading program to the target hardware... ### Build procedure for model: 'LightTest' aborted due to an error. The following error occurred during deployment to your hardware board: Debug Server Scripting (DSS) error: *** User inputs: Target Configuration: C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000\CCS_CO~1\F28379~1.CCX Program Name: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT Board Name: * CPU Name: C28xx_CPU1 Hardware Name: TI_Delfino_F2837xD *** Starting debug session... C28xx_CPU2: GEL Output: Memory Map Initialization Complete *** Debug Session Name: Texas Instruments XDS100v2 USB Debug Probe_0/C28xx_CPU1 *** Board Name: Texas Instruments XDS100v2 USB Debug Probe_0 *** CPU Name: C28xx_CPU1 *** Connecting to target... C28xx_CPU1: GEL Output: Memory Map Initialization Complete *** Loading the program to the target... WARNING: C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map. SEVERE: C28xx_CPU1: File Loader: Verification failed: Values at address 0x8465C@Program do not match Please verify target memory and memory map. SEVERE: C28xx_CPU1: GEL: File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed. SEVERE: File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed. SEVERE: Error loading "C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT": File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed. org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT": File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed. (C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS#134) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at org.mozilla.javascript.gen.c1._c0(C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS:134) at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS) at org.mozilla.javascript.gen.c1.exec(C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS) at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:503) at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:425) at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:391) at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:382) at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:179) at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:100) at org.mozilla.javascript.Context.call(Context.java:528) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:450) at org.mozilla.javascript.tools.shell.Main.exec(Main.java:162) at com.ti.ccstudio.apps.internal.scripting.RunScript$1.run(RunScript.java:89) Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT": File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed. at com.ti.debug.engine.scripting.Memory.loadProgram(Memory.java:932) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) ... 18 more . Component:Simulink | Category:Model error
↧
↧
Forum Post: TMS320F280049: Race condition for TBPHS and CMPA value load at the same time and AQ has work to do at CMPA counter up
Part Number: TMS320F280049 Hi expert, My customer would like to know what will happen in below PWM configurations. 1. PWM counter in up count mode, CMPA is in immediate load mode 3. CMPA value and TBPHS value are loaded at the exact same time with the exact same value 2. AQ settings: CAU to toggle the PWM output Will PWM miss the AQ action at this circumstance? Do you have any advice on this kind of application? Thanks Sheldon
↧
Forum Post: CCS/TMS320F28379D: F28379D Dual Core Flash Project Example
Part Number: TMS320F28379D Tool/software: Code Composer Studio Hi, are there any examples or tutorial to program a Dual core project on a Flash memory? I am trying to run a simple blinky project. I can program and debug a dual core project using RAM linker files (2837xD_RAM_lnk_cpu1.cmd and 2837xD_RAM_lnk_cpu2.cmd) but when i link the Flash linker files (2837xD_FLASH_lnk_cpu1.cmd and 2837xD_FLASH_lnk_cpu2.cmd). It doesn't work. I have defined the pre defined symbol "_FLASH" as well. I can run a single core project using Flash linker file but for Dual core i have no idea where i am making mistake. I have uploaded some screen shots of my code. Any example regarding Dual Core Flash Project would be very helpful /////////////CPU1////// ////////CPU2//////
↧
Forum Post: RE: TMS320C28346: No I2C booting after multiple hardware resets?
Dear Hareesh, thanks for the fast reply. Yes your summary is correct! Attached please find some scope plots. Bes regards, Fabian Seebauer
↧