In normalized mode, 1pu represents 100%. It may be any parameter, be it angle or time. TI examples are based on this concept. Reg M multiplication, pls spend some time to review the code.
↧
Forum Post: RE: CCS: SPACE VECTOR PWM GENERATION HVACI Scalar Project
↧
Forum Post: RE: TMS570LC4357: Is it possible to write to peripheral registers with the HTU?
Hi Mark, The limitation on memory accesses from the HTU does not come from the HTU design. The HTU is still able to drive the full 32-bit address bus. The blocking is implemented in the interconnect to minimize chances of “network collisions” when multiple masters access a particular slave. Please note that the DMA controller is able to access the peripheral registers spaces. This would be not as efficient as using the HTU, but would save CPU bandwidth nevertheless. Regards, Sunil
↧
↧
Forum Post: CCS/TMS570LS1224: Using rtiSetPeriod() to Dynamically Change rti Timer
Part Number: TMS570LS1224 Tool/software: Code Composer Studio Hi Hercules team, I am currently looking to use the rti module as a "sleep()" function. I noticed that the rtiSetPeriod() function updates only after an additional "tick" of the previous period length has passed (expected behavior). This unfortunately means that when setting the period to a large value (like 1000ms) then trying to change to a small value (100us), we must wait up to an additional 1000ms before the timer can change. Is there a way to force the "tick" to happen faster so that we can immediately switch the period to something smaller? Here's the code I am currently trying to use as a "sleep" or "delay" function, to help clarify what I am trying to do: //************** //delay function, input = number of microseconds //************** void delayus(uint16 us) { if (us == 0) return; else { rtiSetPeriod(rtiCOMPARE0, 10*us); rtiEnableNotification(rtiNOTIFICATION_COMPARE0); rtiStartCounter(rtiCOUNTER_BLOCK0); while(RTI_TIMEOUT==0); //this is set to 1 in notificaiton.c rtiNotification RTI_TIMEOUT = 0; rtiDisableNotification(rtiNOTIFICATION_COMPARE0); rtiStopCounter(rtiCOUNTER_BLOCK0); rtiResetCounter(rtiCOUNTER_BLOCK0); } } //*************** //notificaiton.c: //*************** void rtiNotification(uint32 notification) { /* enter user code between the USER CODE BEGIN and USER CODE END. */ /* USER CODE BEGIN (9) */ RTI_TIMEOUT = 1; /* USER CODE END */ } To get the above code to work, I need to add another "while()" loop to wait for a tick to occur before the "rtiSetPeriod" takes effect. Thanks! Vince Toledo
↧
Forum Post: TMS320F28388S: TMS320F28388S availability
Part Number: TMS320F28388S Hi TI experts, Our company is using F28335 at the moment. We are shortlisting a few microcontrollers from both TI and other manufacturers to upgrade our platform. The page of TMS320F28388S shows "PREVIEW". I am not quite sure what it means. (1) Does it mean that the price, performance, functions I see on this page will change anytime before the final release? (2) I can see that the control card for evaluation purposes is available now. Is TMS320F28388S available now in relatively large quantities (say 1k)? (3) What is the timeline for the final release? Thanks,
↧
Forum Post: TMS570LS1224: TMS570LS1224: AJSM
Part Number: TMS570LS1224 Hi Sir: I use AJSM of TMS570 follow the use guide and The reference program but it is not work. Steps to Add AJSM Support: ; -------------------------- ; 1) Generate the Visible Unlock Code using HALCoGen AJSM Tab. ; 2) Make sure Save Key is pressed before Generating HALCoGen Code. ; 3) Add Memory Section in linker file to program the ""ajsm"" data section ; to address location 0xF0000000. ; ; ------------------------------------- ; Below example is for CCS Linker file ; ------------------------------------- ; MEMORY ; { ; - - - - - ; - - - - - ; AJSM : org = 0xF0000000 len = 0x00000010 ; AJSMECC : org = 0xF0040000 len = 0x00000002 ; } ; ; SECTIONS ; { ; - - - - - ; - - - - - ; .ajsm : {} > AJSM ; .ajsmecc : {} > AJSMECC ; } ; 4) Build the project. ; 5) Make sure ECC is calculated and is part of the Image before programming ; Note: If ECC locations are not programmed correctly device might be ; locked permanently. ; 6) Once device programmed correctly, after reset your JTAG will be locked. ; 7) Below SafeTI forum Link contains the user guide for using CCS as Unlock Tool. ; e2eprivate.ti.com/.../3575.aspx ; ; If you don鈥檛 have access then it will tell you the link is invalid. ; Goto to www.ti.com/safetyanalysis to get access. ; ; 8) Use the Scan pattern in the bottom of this file for JTAG unlock. ; This pattern is generated when AJSM "save key" button is pressed.
↧
↧
Forum Post: Where is the hardware schematic of SLAA503
Hello All, The following is based on what I've obtained from this PDF: www.ti.com/.../slaa503.pdf Title: Sensored 3-Phase BLDC Motor Control Using MSP430 Project collateral and source code discussed in this application report can be downloaded from the following URL: http://www.ti.com/lit/zip/slaa503 . Where is the hardware schematic corresponding to the above software?
↧
Forum Post: LAUNCHXL-F280049C: Mapping external pins to internal signals
Part Number: LAUNCHXL-F280049C Hi, Is there a tool that can help figure out how to map a given physical pin to a given internal signal? For example if I want to setup the F280049C so that pin A3 is mapped to G0_ADCAB is there a tool that will show the steps necessary to do that. I am thinking of something like you might use to find your way from one point to another on a subway; press where you are and where you want to go and the route is displayed for you. In lieu of that is there a method to accomplish the mapping that doesn't require coordinating multiple tables and diagrams to figure out how to accomplish the setup. Thanks, Steve
↧
Forum Post: Types of current sensing and its advantage, disadvantage and application
Is there some detailed data introducing the ways of current sensing, such as hall current sensor, resisitor plus amplifier sensing current, CT, and the advantages, disadvantges & applictions of them? Thanks!
↧
Forum Post: CCS/TMS320F28379D: USB Firmware upgrade/USB Flash Programming for TMS320F28379D(Delphino processor)
Part Number: TMS320F28379D Tool/software: Code Composer Studio We have below queries wherein we need Expedited TI support. 1) TMS320F28379D USB Flash Programming : - For TMS320F28379D we want to upgrade the firmware through USB. -Could you please let us know the procedure for updating the firmware through USB? What we understand is that EMU_BOOTCTRL (0x0D00) register has to be modified to 0xC5A. This Register is not retaining the value 0x0C5A, if the power is removed. - Is there any way to retain this value? - Please note that BOOTCTRL register is an OTP (One time programmable) register. How to read and write to this register ? 2) USB Firmware Upgrade : - USB DFU device mode driver is available in C2000 Ware in the following location “C2000Ware_2_00_00_02_Software/libraries/communications/usb/f2837xd/source/device/usbddfu_rt.c” but application for DFU device is not available. -Is there any Application for DFU device available form TI? -DFU application for Host system is available for f2806x, can it be used for TMS320F28379D device ? Thanks, Phani.M
↧
↧
Forum Post: TMS320F28035: eCAN: How to disable the automatically CAN message resending?
Part Number: TMS320F28035 Hi all: These is a issue that MCU keeps sending the same CAN message(7 times or more) to the CAN bus. The primary cause is bad CAN bus design, but it requires to disable MCU automatically message resending function as temporary solution. I search the data manual and some files about eCAN configuration and had not found the appropriate way or does it works that configurating the eCAN to Standard CAN Controller mode(SCC)? It is very kind of you if you could share some ideas to me. Best regrads Jay Wang
↧
Forum Post: Suggestion for what kind of DSP I need to purchase
Dear Sir/ Madam, Currently I am using TMSDOCKF28335. I need controller like this which is having more number of EPWMs and ADCs for Power electronic converter applications with floating point processor. Please somebody suggest me which controller kit is best suitable for me.
↧
Forum Post: TMDSEMU110-U: TMDSEMU110-U
Part Number: TMDSEMU110-U HELLO, I CANT FIND ANY INFO REGARDING TO THE PRODUCT MECHANICAL DIMENSION. WIDTH X LENGHTH X HIGHT PLEASE HELP ME WITH THIS ISSUE. AMIT ZOREA AMITZ@ELIPSE-ENG.COM
↧
Forum Post: CCS/MSP-EXP430F5529: MSP-EXP430F5529
Part Number: MSP-EXP430F5529 Tool/software: Code Composer Studio Does anyone have a recommendation for using software flow control (xon/xoff) in msp430f5529?
↧
↧
Forum Post: CCS/CC430F6137: RTC Interface Problem
Part Number: CC430F6137 Tool/software: Code Composer Studio Dear Sir/Madam, I'm working as cc430f6137 MCU interface Real Time Clock. I download and call my project for your source and header file from download following linq http://www.ti.com/lit/zip/slaa290 . is assembly (.ASM) language. I want source code for C language. #include #include "RTC_Calendar.h" #include "RTC.h" #include "RTC_TA.h"
↧
Forum Post: MSP430F5529: Filed firmware update by USB disk
Part Number: MSP430F5529 Hi http://www.ti.com/lit/an/slaa452c/slaa452c.pd f Slaa452c demonstrate how to update firmware by USB, but it's working on PC. Can I update firmware by USB disk? Is there any reference example? Thanks a lot.
↧
Forum Post: TMDS570LS31HDK: PLL slip with ROS = reset. Then PLL bypassed.
Part Number: TMDS570LS31HDK In spnu499c.pdf in Table 2-44. PLL Control Register 1 (PLLCTL1), in Field MASK_SLIP there is a note: If ROS (Bit 31) is set to 1, the device will be reset if a PLL Slip and the PLL will be bypassed after the reset occurs. My question concerns the second half of this statement. Does this mean that if ROS is set and MASK_SLIP is set to bypass on PLL slip, once a PLL slip occurs, PLL cannot be used?
↧
Forum Post: CCS/TMS320F28035: How to calculate the PWM duty(200Hz) by HRCAP module
Part Number: TMS320F28035 Tool/software: Code Composer Studio hello , I am working base on TMS320F28035, i want to calculate the duty of pulse by HRCAP, but the counter is 16 bit , can not sample the lower frequency pulse, so , i do not know how to set the HRCAP , and how to calculate the PWM duty. thank you very much
↧
↧
Forum Post: TMS320F28377D: BootROM writes beyond the range of the PIE vector table
Part Number: TMS320F28377D I was debugging an application and found the PieVect memory range [0xEC0, 0xF00) was being initialised to an ISR within the bootROM, later found to be c1brom_pie_isr_not_supported (and c2brom_pie_isr_not_supported for core 2). The range [0xEC0, 0xF00) does not correspond to valid PIE vectors. The bootROM functions c1brom_init_pie_vect_table and c2brom_init_pie_vect_table are iterating over the PieVect structure using a pointer to uint32 but the iteration count is using the size of the PieVect structure, thereby treating the array as uint16, i.e. the code is writing an array twice the length as intended, thereby writing up to address 0x1080 exclusive. I do not know if there are any repercussions of incorrecly writing to the range [0xEC0, 0x1080). Do you know of any? Are there any registers in this range that are affected by these writes?
↧
Forum Post: MSP430FR2522: Is possible to update firmware from host to MSP430FR2522 slave?
Part Number: MSP430FR2522 Hi TI, My customer setup MSP430FR2522 as slave IC, he would like to update firmware from the host(master) to MSP430FR2522(slave). May I know is possible to update firmware with setting like above? If possible may I know how? Thanks, Zhao Yang
↧
Forum Post: Compiler/TMS320F280049C: blanking of pulses using trip zone
Part Number: TMS320F280049C Tool/software: TI C/C++ Compiler Hi, I was trying to blank pulses using trip zone (trip4, epwm1a alone). I used the following lines to achieve this. EPwm1Regs.DCAHTRIPSEL.bit.TRIPINPUT4 = 1; //enabling tripinput4 EPwm1Regs.DCTRIPSEL.bit.DCAHCOMPSEL = 3; //selecting tripinput 4 //configuring trip zone for pfc EPwm1Regs.TZCTL.bit.TZA = 2; //Force EPWMxA to a low state EPwm1Regs.TZCTL.bit.DCAEVT2 = 2; //Force EPWMxA to a low state EPwm1Regs.TZDCSEL.bit.DCAEVT2 = 2; //DCAH = high, DCAL = don't care Now, I wanted to try the same with another epwm (along with the existing one), in which I want to blank both epwm2a and epwm2b when after certain voltage level is reached. For this I used trip5 and b4 pin as analog input. I used the following lines for this. EPwm2Regs.DCTRIPSEL.bit.DCAHCOMPSEL = 4; //selecting trip5 EPwm2Regs.DCAHTRIPSEL.bit.TRIPINPUT5 = 1; //selecting trip5 EPwm2Regs.TZCTL.bit.TZA = 2; //force epwm2 to low EPwm2Regs.TZCTL.bit.DCAEVT2 = 2; //force epwm2 to low EPwm2Regs.TZDCSEL.bit.DCAEVT2 = 2; //DCAH = high, DCAL = don't care But with this code, epwm2a is always blanked while epwm2b has pulses. No matter the input analog voltage, the same thing repeats. I observed that the same thing repeats with epwm2b when I change DCA to DCB. What I don't understand is why I did not encounter this in the first case? Can someone help me out with this? Is there something I am missing? And how will I be able to blank both the channels of epwm2 simultaneously with the same voltage level? Regards, Reshma
↧