Part Number: MSP432P4011 customer mass project use MSP432P4111 ,use J-TAG to flash reprogramming ,but it is not convenience,is the have MSP432 flash reprogramming tools?
↧
Forum Post: MSP432P4011: flash reprogramming tools
↧
Forum Post: MSP432P401R: MSP432P401 DMA in LMP0 mode
Part Number: MSP432P401R Hi I am using MSP432P401R now,I want to kown if MSP432 in LPM0 mode.Could I use the DMA transmit the data from ADC buffer to RAM? Thanks
↧
↧
Forum Post: TMS320F28377D: Flash modified unexpectedly after power cycle
Part Number: TMS320F28377D Hi team, I noticed a rare issue in my customer's project. Currently they are using F28377D with a customized bootloader. In the bootloader, they have a CRC algorithm as below. Under normal conditions, the code was able to pass the CRC test successfully. And the code is widely used in all their products. So we believe the CRC algorithm it self is right. However, we noticed that if the MCU is powered down(together with power stage), there is a possibility that the code cannot pass the CRC test after the next power up. It seems that the Flash is modified during the power down. We believe that should be some unexpected spikes or interference which caused this problem. Could you please give some instructions on which may cause the Flash modification problem? The hardware design around which pin should be checked carefully? { UINT16 uiCRC = 0, uiNonZeroDetect = 0, temp,i; UINT8 z; UINT16* p; UINT16 crc_table[256]; for(i=0;i > 1); z = z ^ (z >> 2); z = z ^ (z >> 4); *(crc_table + i) = z & 1 ? 0xC001 : 0; *(crc_table + i) ^= i > 8) ^ *(crc_table + ((uiCRC ^ (temp >> 8))& 0x00ff)); uiCRC = (uiCRC >> 8) ^ *(crc_table + ((uiCRC ^ temp )& 0x00ff)); } if ((uiCRC == 0) && uiNonZeroDetect) { return(1); } return(0); } Regards, Brian
↧
Forum Post: CCS/TMS320F28377D: A question about CCS Version: 8.3.0.00009 compile problem
Part Number: TMS320F28377D Tool/software: Code Composer Studio Hi. Question1: In the following figure, I set a breakpoint at line 388, The actual breakpoint appears at line 390, When you go to the next step, The breakpoint appears at line 393, And go into execution. How do I get the software to execute line 388? Thank you for your reply.
↧
Forum Post: TMS320F280049: Motor SDK pkan for F28004x series
Part Number: TMS320F280049 Hi, Has TI finalized the date on release of Motor SDK for F28004x controllers? I am waiting for it and I would like to know if there is a possibility to get the beta version. Also, will the code structure in Motor SDK be similar to Motorware ?
↧
↧
Forum Post: RE: CCS/TMS320F280049: CLA code will single step only
Thanks. We will close this thread. Please let us know when you have a sequence for the second problem.
↧
Forum Post: RE: LAUNCHXL-F28069M: UART communication with Simulink
Hi, Please contact MathWorks support and We should be able to host a WebEx to help you.
↧
Forum Post: RE: CCS: RM46L852 LAUNCHPAD AND DP83640 PHY
Hello Miroslav Deyanov, TXCLK is coming out from DP83640 , but frequency is not proper. It is 6.25MHz. Please suggest the settings of DP83640 also. Please send any pseudocode is there. I want to know whether EMAC packets and Siemens drives can be talk to each other through profinet bus.
↧
Forum Post: RE: TM4C123GH6PM: USBBufferRead( returns only all zeroes in the buffer
Hello Alexander, I can't run your code until tomorrow afternoon, but in the meantime can you at least explain what you are doing to send data to the bulk device? Is your host the PC using the TI application I mentioned above? Or is the host another source?
↧
↧
Forum Post: RE: TMS320F28069M: How to Clear capture event status Flag in MATLAB.
After the capture event, the capture flag is set, how to reset it back to zero, so that i can have an understanding whether the next capture is occuring or not.
↧
Forum Post: TMS570LS1224: TMS570LS1224
Part Number: TMS570LS1224 Hi, There is a mention about GIOC[7:0] and GIOD[7:0] in the field discription of GIO Interrupt Detect Register(page no. 1313 of Reference Manuel).But I couldn't find them in the pin diagram. Can anyone please explain??
↧
Forum Post: EK-TM4C1294XL: AWS Cloud Connectivity With GSM Modem
Part Number: EK-TM4C1294XL Hi, We are in the development stage of an attendance and tracking system. The hardware platform we are using is Tiva TM4C1294XL launch pad We are using Amazon Free RTOS as OS and application is to get RFID data from a RFID reader and to upload the data to the cloud. We are using a GSM modem (SIM808 module based ) to upload data to the cloud. The GSM modem communicates with Tiva board only through UART interface. Using AT commands for configuration and GPRS upload. We have got a reference of CC3220 launchpad connectivity with AWS endpoint using WiFi, certificate and policy.(The reference demo is part of Amazon Free RTOS ) Instead we need to use the UART interfaced GSM modem for AWS connectivity and publish/subscribe. It is very much helpful getting any reference implementation or some guidelines to get access to AWS with Tiava TM4C1294XL and GSM modem Thanks in advance Best Rajesh Kumar V
↧
Forum Post: CCS/TMDSHVMTRINSPIN: TMDSCNCD28069MISO, proj_lab1b debugging error with connected motor
Part Number: TMDSHVMTRINSPIN Tool/software: Code Composer Studio Encounterd an error at step 3. Step 3. Connect motor, power on EVM kit, Enable the real-time debugger again. Set the variable “gMotorVars.Flag_enableSys” and “gMotorVars.Flag_Run_Identify” equal to 1 again. Set the variable “gMotorVars.SpeedRef_krpm” to a different value to ensure the motor still runs. The moment I change "gMotorVars.Flag_Run_Identify" to 1 with HV power on. Driver loses connection with the board. The picture above shows and the motor starts to rotate. At TMDSCNCD28069MISO two blue LEDs continue to be ON permanently. Then I tried to use DC low voltage source (0V - 60V). I started with 20V, changed "gMotorVars.Flag_Run_Identify" to 1... everything fine. Slowly rised voltage to ~30-35V, same error showed up. (motor not rotating) I am using CC version: 9.0.0.00018 clean install. Any suggestions?
↧
↧
Forum Post: TMS320F280049: Why DCSM does not have CLA bit in Z1_GRABRAMR register?
Part Number: TMS320F280049 Hi team, I noticed a obvious difference between the DCSM of F28004x and F2837x? In F2837x we have a GRAB_CLA1 bit in Z1_GRABRAMR register to allocate the CLA to a zone, so that the CLA will be able to access to the memory within the same zone. However, in F28004x we do not have this bit. In this case, how to authorize a CLA to access a bank? Regards, Brian
↧
Forum Post: RTOS/TMS320F28379D: Problem with HwiHook example code in SYS/BIOS document
Part Number: TMS320F28379D Tool/software: TI-RTOS Hi, I getting start with SYS/BIOS on F28379D. I read document and try to follow it. I found some problem when I test in HwiHook example code, it error when i compile. - project file struct - main.c #include #include #include #include #include #include #include #include extern Timer_Handle myTimer; volatile Bool myEnd2Flag = FALSE; Int myHookSetId1, myHookSetId2; Error_Block eb; Error_init(&eb); /* HookSet 1 functions */ /* ======== myRegister1 ======== * invoked during Hwi module startup before main() * for each HookSet */ Void myRegister1(Int hookSetId){ System_printf("myRegister1: assigned hookSet Id = %d\n", hookSetId); myHookSetId1 = hookSetId; } /* ======== myCreate1 ======== * invoked during Hwi module startup before main() * for statically created Hwis */ Void myCreate1(Hwi_Handle hwi, Error_Block *eb){ Ptr pEnv; pEnv = Hwi_getHookContext(hwi, myHookSetId1); /* pEnv should be 0 at this point. If not, there's a bug. */ System_printf("myCreate1: pEnv = 0x%x, time = %d\n", pEnv, Timestamp_get32()); Hwi_setHookContext(hwi, myHookSetId1, (Ptr)0xdead1); } /* ======== myBegin1 ======== * invoked before Timer Hwi func */ Void myBegin1(Hwi_Handle hwi){ Ptr pEnv; pEnv = Hwi_getHookContext(hwi, myHookSetId1); System_printf("myBegin1: pEnv = 0x%x, time = %d\n", pEnv, Timestamp_get32()); Hwi_setHookContext(hwi, myHookSetId1, (Ptr)0xbeef1); } /* ======== myEnd1 ======== * invoked after Timer Hwi func */ Void myEnd1(Hwi_Handle hwi){ Ptr pEnv; pEnv = Hwi_getHookContext(hwi, myHookSetId1); System_printf("myEnd1: pEnv = 0x%x, time = %d\n", pEnv, Timestamp_get32()); Hwi_setHookContext(hwi, myHookSetId1, (Ptr)0xc0de1); } /* HookSet 2 functions */ /* ======== myRegister2 ======== * invoked during Hwi module startup before main * for each HookSet */ Void myRegister2(Int hookSetId){ System_printf("myRegister2: assigned hookSet Id = %d\n", hookSetId); myHookSetId2 = hookSetId; } /* ======== myCreate2 ======== * invoked during Hwi module startup before main * for statically created Hwis */ Void myCreate2(Hwi_Handle hwi, Error_Block *eb){ Ptr pEnv; pEnv = Hwi_getHookContext(hwi, myHookSetId2); /* pEnv should be 0 at this point. If not, there's a bug. */ System_printf("myCreate2: pEnv = 0x%x, time = %d\n", pEnv, Timestamp_get32()); Hwi_setHookContext(hwi, myHookSetId2, (Ptr)0xdead2); } /* ======== myBegin2 ======== * invoked before Timer Hwi func */ Void myBegin2(Hwi_Handle hwi){ Ptr pEnv; pEnv = Hwi_getHookContext(hwi, myHookSetId2); System_printf("myBegin2: pEnv = 0x%x, time = %d\n", pEnv, Timestamp_get32()); Hwi_setHookContext(hwi, myHookSetId2, (Ptr)0xbeef2); } /* ======== myEnd2 ======== * invoked after Timer Hwi func */ Void myEnd2(Hwi_Handle hwi){ Ptr pEnv; pEnv = Hwi_getHookContext(hwi, myHookSetId2); System_printf("myEnd2: pEnv = 0x%x, time = %d\n", pEnv, Timestamp_get32()); Hwi_setHookContext(hwi, myHookSetId2, (Ptr)0xc0de2); myEnd2Flag = TRUE; } /* ======== myTimerFunc ======== * Timer interrupt handler */ Void myTimerFunc(UArg arg){ System_printf("Entering myTimerHwi\n"); } /* ======== myTaskFunc ======== */ Void myTaskFunc(UArg arg0, UArg arg1){ System_printf("Entering myTask.\n"); Timer_start(myTimer); /* wait for timer interrupt and myEnd2 to complete */ while (!myEnd2Flag) { ; } System_printf("myTask exiting ...\n"); } /* ======== myIdleFunc ======== */ Void myIdleFunc(){ System_printf("Entering myIdleFunc().\n"); System_exit(0); } /* ======== main ======== */ Int main(Int argc, Char* argv[]){ System_printf("Starting HwiHookExample...\n"); BIOS_start(); return (0); } /* ========== End of file ========= */ -app.cfg /* pull in Timestamp to print time in hook functions */ xdc.useModule('xdc.runtime.Timestamp'); var Defaults = xdc.useModule('xdc.runtime.Defaults'); var Diags = xdc.useModule('xdc.runtime.Diags'); var Error = xdc.useModule('xdc.runtime.Error'); var Log = xdc.useModule('xdc.runtime.Log'); var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf'); var Main = xdc.useModule('xdc.runtime.Main'); var SysMin = xdc.useModule('xdc.runtime.SysMin'); var System = xdc.useModule('xdc.runtime.System'); var Text = xdc.useModule('xdc.runtime.Text'); var BIOS = xdc.useModule('ti.sysbios.BIOS'); var Task = xdc.useModule('ti.sysbios.knl.Task'); var Idle = xdc.useModule('ti.sysbios.knl.Idle'); var Hwi = xdc.useModule('ti.sysbios.hal.Hwi'); Idle.addFunc('&myIdleFunc'); /* * Uncomment this line to globally disable Asserts. * All modules inherit the default from the 'Defaults' module. You * can override these defaults on a per-module basis using Module.common$. * Disabling Asserts will save code space and improve runtime performance. Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF; */ /* * Uncomment this line to keep module names from being loaded on the target. * The module name strings are placed in the .const section. Setting this * parameter to false will save space in the .const section. Error and * Assert messages will contain an "unknown module" prefix instead * of the actual module name. */ Defaults.common$.namedModule = false; /* * Minimize exit handler array in System. The System module includes * an array of functions that are registered with System_atexit() to be * called by System_exit(). */ System.maxAtexitHandlers = 4; /* * Uncomment this line to disable the Error print function. * We lose error information when this is disabled since the errors are * not printed. Disabling the raiseHook will save some code space if * your app is not using System_printf() since the Error_print() function * calls System_printf(). Error.raiseHook = null; */ /* * Uncomment this line to keep Error, Assert, and Log strings from being * loaded on the target. These strings are placed in the .const section. * Setting this parameter to false will save space in the .const section. * Error, Assert and Log message will print raw ids and args instead of * a formatted message. */ Text.isLoaded = false; /* * Uncomment this line to disable the output of characters by SysMin * when the program exits. SysMin writes characters to a circular buffer. * This buffer can be viewed using the SysMin Output view in ROV. */ SysMin.flushAtExit = false; /* * The BIOS module will create the default heap for the system. * Specify the size of this default heap. */ BIOS.heapSize = 0x0; /* System stack size (used by ISRs and Swis) */ Program.stack = 0x100; /* Circular buffer size for System_printf() */ SysMin.bufSize = 0x400; /* * Create and install logger for the whole system */ var loggerBufParams = new LoggerBuf.Params(); loggerBufParams.numEntries = 4; var logger0 = LoggerBuf.create(loggerBufParams); Defaults.common$.logger = logger0; Main.common$.diags_INFO = Diags.ALWAYS_ON; System.SupportProxy = SysMin; /* * Build a custom BIOS library. The custom library will be smaller than the * pre-built "instrumented" (default) and "non-instrumented" libraries. * * The BIOS.logsEnabled parameter specifies whether the Logging is enabled * within BIOS for this custom build. These logs are used by the RTA and * UIA analysis tools. * * The BIOS.assertsEnabled parameter specifies whether BIOS code will * include Assert() checks. Setting this parameter to 'false' will generate * smaller and faster code, but having asserts enabled is recommended for * early development as the Assert() checks will catch lots of programming * errors (invalid parameters, etc.) */ BIOS.logsEnabled = false; BIOS.assertsEnabled = true; BIOS.clockEnabled = false; /* Create myTask with default task params */ var taskParams = new Task.Params(); Program.global.myTask = Task.create('&myTaskFunc', taskParams); /* Create myTimer as source of Hwi */ var Timer = xdc.useModule('ti.sysbios.hal.Timer'); var timerParams = new Timer.Params(); timerParams.startMode = Timer.StartMode_USER; timerParams.runMode = Timer.RunMode_ONESHOT; timerParams.period = 1000; // 1ms Program.global.myTimer = Timer.create(Timer.ANY, "&myTimerFunc", timerParams); /* Define and add two Hwi HookSets * Notice, no deleteFxn is provided. */ /* Hook Set 1 */ Hwi.addHookSet({ registerFxn: '&myRegister1', createFxn: '&myCreate1', beginFxn: '&myBegin1', endFxn: '&myEnd1', }); /* Hook Set 2 */ Hwi.addHookSet({ registerFxn: '&myRegister2', createFxn: '&myCreate2', beginFxn: '&myBegin2', endFxn: '&myEnd2', }); -Error response When I double click at error code it go to position error in main.c These problem not found with SwiHook example code. Thanks, Thepnimit
↧
Forum Post: CCS/TMS320F28335: gpio output voltage
Part Number: TMS320F28335 Tool/software: Code Composer Studio Hi, I generated pulses through code composer studio for tms320f28335 , but the output voltage of the pulsed waveform is above 30V. This voltage I cannot give as gate signal to mosfet. What should I do to reduce the voltage? Thanks
↧
Forum Post: TMS320F28377D: using AES encryption in C2000 series
Part Number: TMS320F28377D Hello TI engineers Recently, our company want to use AES encryption in TI's C2000 series, and I have found the AES encryption source in the TI's website( www.ti.com/.../aes-128) the encryption function we used is as below, void aes_enc_dec(unsigned char *state, unsigned char *key, unsigned char dir) but I met some trouble when I use it, As you know, the minimum data unit of TMS320F28377D is two byte, that is to say, "char" type in TMS320F28377D is two byte. It is a little special with others. so I think this function could not be used in TMS320F28377D . is there a encryption source that could be used in TMS320F28377D ? or how could I do some modification to it so that it could compliant with TMS320F28377D ? Best Regards Hope Chen
↧
↧
Forum Post: CCS/TMS320F28379D: TMS320F28379D
Part Number: TMS320F28379D Tool/software: Code Composer Studio how to use two gpio pins in coding. One gpio is for input and other for output. I am using Delfino controller ( TMS320F28379D )
↧
Forum Post: TM4C123GE6PM: Can you tell if a host->device usb connection has been made?
Part Number: TM4C123GE6PM Hello, I'm using TI hardware to design a USB device. I have a software application on the host (PC) that connects and communicates to it. If I have two devices plugged in with the same VID,PID but unique SNs can I fgure out of there is an open connection to a device already? I'm trying to prevent my software host app from connecting to the same device twice - I'd like to force the user to select a different device if the current device already has a connection (pipe I think) to the software application.
↧
Forum Post: TMS570LS1224: Trigger AD convert, How configure with interrupt notifiy when ADC convert is finished.
Part Number: TMS570LS1224 Dear all: I am try to config AD with software trigger, and interrupt notify. But from HALCOGen , It looks no way to config interrupt. and also no example for it. Best Regards Fred
↧