Part Number: F28M36P63C2 Tool/software: Code Composer Studio Now I'm using F28M36P63C2 Rev.B and CCSv5.5. Next time I will get F28M36P63C2 Rev.F. I think F28M36P63C2 Rev.F is supported by CCSv6.1.1 or later. Is that right? Best Regards, Satoshi Shinohara
↧
Forum Post: CCS/F28M36P63C2: CCS support for F28M36P63C2 Rev.F
↧
Forum Post: CCS/TMS320F28069M: Issues with running motorware lab10d on standalone
Part Number: TMS320F28069M Tool/software: Code Composer Studio Hi, I am running motorware proj10d on F28069M launchpad with DRV8305 . I am able to run it with the debugger as release on emulation mode. However, I am having difficulties running the same code in standalone (getmode). I set code as Active - FLASH in CCS and load the code on emulation mode, and succeeds, then when i set the mcu to getmode , it doesnt run (system flags are set to true). I dont understand how come the code can run on release but cant run on flash, been trying to figure out the reason but did not succeed. Can anyone help me?
↧
↧
Forum Post: RE: CCS/MSP430FR2355: SPI and NRZ Data
No pin can output NRZ data. You need extra voltage level translation circuit.
↧
Forum Post: RE: The output of MSP430G2231 38KHZ 1% duty cycle?
Sorry, the MSP430G2231 only provides 1MHz DCO Calibration Data. To output 38KHZ 1% duty cycle PWM with 1MHz SMCLK source, then CCR0= 1000/38=26.3, CCR1 = 2.63. Due to the CCRx registers only can be set to integer value, using this configuration will cause big errors. So, recommend using another part which supports 8MHz clock, such as MSP430G2353 .
↧
Forum Post: RE: CCS/TMS320F28334: Code Composer Studio/TMS320F28334
(Please visit the site to view this file) Hi, Vamsi & Sal, We are using standalone application images. We are converting from ".out" to ".txt" using below command (hex2000.exe -boot -sci8 -a -o application.txt application.out) and then flashing using "serial_flash_programmer.exe",using below arguments : (serial_flash_programmer.exe -d f2803x -k kernel.txt -a application.txt -p COM3 -b 9600 -v) we are generating.out files from project default rebuild option Attached : cmd linker file.(file extension is changed to .txt) Attached Images : working & Not working Attached .txt Files : working & Not Working Awaiting for your quick resolution. (Please visit the site to view this file)(Please visit the site to view this file) Thank you Regards, Bhanu
↧
↧
Forum Post: RE: TMS320F280049: Why DCSM does not have CLA bit in Z1_GRABRAMR register?
Hi Brian, In F28004x, the CLA is treated as a master just like C28 CPU from a DCSM perspective unlike in F2837x where the CLA was also treated as a resource grabbable by either Zone1 or Zone2 (FYI, this is an enhancement in DCSM as CLA in F28004x is not be tied to any single zone anymore). In order for the CLA to access a RAM from a particular zone, allocate that memory as a CPU and CLA shared Program/Data memory (with the help of LSxMSEL and LSxCLAPGM registers) and program the OTP to GRAB that particular memory to the desirable Zone (Z1/Z2). Hope this information helps. Thanks & Regards Pramod P
↧
Forum Post: TMS320F280049: global reload issue
Part Number: TMS320F280049 Hi Team, My customer face a issue when using global reload, they are using PWM5 and PWM6 module to control full bridge circuit. The pwm configuration is up-down mode, PWM frequency range from 100KHZ to 300KHz, and the duty cycle is calculated in the ISR which is CMPA=PERIOD-DEADTIME , CMPB=DEADTIME, DEADTIME is fixed, and PERIOD is changed, but duty cycle should remain close to 50%. And the AQ configuration for pwm is showed below: PWM5A: CBU:SET CAU:CLR PWM5B: CAD:SET CBD:CLR PWM6A: CAD:SET CBD:CLR PWM6B: CBU:SET CAU:CLR When they use global reload function, they found that in some particular working condition, PWM6A output is wrong as the waveform showed below which have 100% duty cycle for continued several period. The waveform of PWM6B, PWM5A, PWM5B is correct as expected. In order to find the reason, customer disconnect PWM6A and PWM6B output from the driver, and instead connect PWM5A and PWM5B to 4 drivers of full bridge as below showed, then in the same working condition, PWM6A output is also wrong as showed above even though PWM6A output did not connect to the driver. when they disable global reload function, then there have no this issue no matter what the working load is. Is there any limitation for the using of global reload function?
↧
Forum Post: RE: MSP432E411Y: MSP432E411Y
Thanks Sai for reply. I m looking for code with out RTOS ( using MAP_I2CMasterDataPut() and similar function calls)
↧
Forum Post: RE: TMS320F280049: global reload issue
Post the picture that lost; 1. PWM6A waveform when is abnormal. 2. disconnect PWM6 output for debug
↧
↧
Forum Post: RE: CCS/TMS320F28379D: TMS320F28379D
HI, Did you get a chance to look at the examples available in C2000ware ? GPIO example can be found under \driverlib\f2837xd\examples\cpu1\gpio Regards, Veena
↧
Forum Post: RE: MSP430I2040: MSP430i2040 based meter calibration issue
Yes. I manually set calibration values such that i get calibrated values displayed in communication. Thanks for the suggestion. Now my .voltageSF = _IQ24(1.000000000), comes out to be .voltageSF = _IQ24(1.310000000), is it ok? Secondly i modified EMDC generated code sothat i can communicate on my RS485 port. Now to debug i want you to guide me for realisation of the value. e.g. for voltage i get *vrms which has vrms[0], vrms[1], vrms[2], vrms[3]. To get proper value in the form of hex how should i place it? Also for the other values like active power has actPower[0] to actPower[7]. How to convert it to meaningful value? Thanks.
↧
Forum Post: RE: CCS/TMS320F28379D: TMS320F28379D
Hi, I gone through the examples. But if i define the output GPIO pin in coding, I am getting warning after building the code. Suggest me some solution to solve the issue. If possible can you suggest one example by using two GPIO pins in same code. Thank you.
↧
Forum Post: RE: How to enable Tiva-c launchpad UART1 Tx/Rx interrupt ?
Hello Bob , I have modified my code but the IntEnable do not solved this. The thing was that i had connected to PB1( Tx ) and PB0( Rx ) pins two wires from a Logic analyzer and it seems like the interrupt is not called if the pins are connected to the wires. Nevertheless i also activated all kinds of uart interrupts, i will let here my new code. The question is why the interrupt is now called but not with Tx reason and why if i connected the wires to PB1 and PB0 pins the interrupt is not called anymore. #include #include #include #include #include #include #include #include #include "driverlib/pin_map.h" void UARTIntHandler(void); volatile int flag = 1 ; int main() { int data=1; SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); //enable peripheral clock for UART0 SysCtlPeripheralEnable(SYSCTL_PERIPH_UART1); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB); GPIOPinConfigure( GPIO_PB0_U1RX ); GPIOPinConfigure( GPIO_PB1_U1TX ); GPIOPinTypeUART( GPIO_PORTB_BASE , GPIO_PIN_0 | GPIO_PIN_1 ); //disable UART0 UARTDisable(UART1_BASE); //configure divisor and format UARTConfigSetExpClk(UART1_BASE, SysCtlClockGet(), 2400, (UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE)); //enable FIFO UARTFIFOEnable(UART1_BASE); //is enabled automatically when UARTEnable() is called //enable individual UART interrupt source UARTIntEnable( UART1_BASE, UART_INT_DMATX | UART_INT_DMARX | UART_INT_9BIT | UART_INT_OE | UART_INT_BE | UART_INT_PE | UART_INT_FE | UART_INT_RT | UART_INT_TX | UART_INT_RX | UART_INT_DSR | UART_INT_DCD | UART_INT_CTS | UART_INT_RI ); UARTIntRegister(UART1_BASE, UARTIntHandler); //enable processor interrupt IntMasterEnable(); IntEnable(INT_UART1); UARTEnable(UART1_BASE); UARTCharPut(UART1_BASE,data) ; while(1); } void UARTIntHandler(void) { uint32_t UIstatus = UARTIntStatus(UART1_BASE, true); UARTIntClear(UART1_BASE, UIstatus); flag = 0 ; } Here you can see why the interrupt is called
↧
↧
Forum Post: RE: TMS320F280049: Why DCSM does not have CLA bit in Z1_GRABRAMR register?
Hi Pramod P, Thanks for your quick response! Normally, we copy the CLA related code from Flash to corresponding RAM(Program/Data memory) during intialization. After that, CLA will not access flash any more. For this application, do we need to allocate CLA RAMs to the same bank of Flash? Regards, Brian
↧
Forum Post: MSP430FR6047: MSP430FR6047
Part Number: MSP430FR6047 Hello, we are starting to develop an ultrasonic spirometer (gas flow sensor) used in medicine, we have a few questions about your msp430fr6047 module. Briefly about the sensor. The diameter of the tube is 25 mm. 2 sensors are located opposite each other at an angle ᵠ. According to the international standard BS EN ISO 23747_2015, the sensor must measure the peak volumetric speed, namely the flow of 10 liters is collected in less than 100 miles of seconds. (excerpt from the standard will be attached below) the Error between several measurements should not exceed 5%. 1. What is the maximum sampling rate at which the microcontroller can operate. 2. What frequency of the probing signal is optimal to use in our case. 3. Will we be able to work on piezo/piezo receivers with an operating frequency of 300 kHz 4. If your counting algorithm will not be able to give this sampling frequency, if we can alter the algorithm under him to increase the sampling frequency. Vasilchenko Dmitry
↧
Forum Post: CCS/MSP430FR5857: CRYSTAL OSCILLATOR CONFIGURATION NOT WORKING
Part Number: MSP430FR5857 Tool/software: Code Composer Studio Dear Sir/ Madam I have configured external crystal to the HFXTIN pin and HFXOUT of 16 MHz ,18 pf,external capacitor values connected are 30pF i.e Cx1 and Cx2 . I am not getting any output and response in debug window for the below clock configuration mentioned . I am not able to come to conclusion that whether in my configuration something is wrong or anything else. Please revert back as early as possible. I have configured the clock based on the example code CS_04 in msp430ware for device MSP430FRxx94. WDTCTL = WDTPW | WDTHOLD; // Stop WDT // XTAL PIN CONFIGURATION PJSEL0 |=BIT6 | BIT7; //UNLOCKLOW POWER PM5CTL0 &= ~LOCKLPM5; //FRAM WAIT STATE FRCTL0 |= FRCTLPW | NWAITS_1; // Clock System Setup CSCTL0_H = CSKEY_H; // unlock cs registers CSCTL2 = SELS__HFXTCLK | SELM__HFXTCLK; CSCTL3 = DIVS_1 | DIVM__1; // SET DIVIDER 1 CSCTL4 |= HFXTDRIVE_3| HFFREQ_2 ;//16MHZ CRYSTAL OPERATION CSCTL4 &= ~HFXTOFF;// TURNING ON CRYSTAL do { // Check for fault flags CSCTL5 &= ~ HFXTOFFG; SFRIFG1 &= ~ OFIFG; } while ( SFRIFG1 & OFIFG); CSCTL0_H = 0; //LOCK CS REGISTER
↧
Forum Post: CCS/RM44L920: SPI TX/RX problem with DMA
Part Number: RM44L920 Tool/software: Code Composer Studio Hi, I need to read 4 ADC's sample data in sequence in period, which 4 ADC share the same SPI but accessed by a demultiplexer triggered by CS. To read an ADC sample data, It need to communicate with ADC following frame: 1 read command + 3 clock, which are 4 bytes, each byte in 8 bits. Now I want to use DMA mode to readout ADC sample data. Here is my design: connect DMA request[0] , which is SPI receive in standard mode request to DMA CHANAN 1, while DMA request[1] , which is SPI transit in standard mode request to DMA CHANNEL 0, and my control packets are defined as following: g_dmaCTRL dmaCtrl_tran = { ( uint32 ) &***[0], // initial source address ( uint32 ) &spiREG1->DAT1, // initial destination address DMA_CH1, // next ctrl packet to be trigger + 1 4, // frame count 4, // element count 0, // element destination offset 4, // element source offset 0, // frame destination offset 16, // frame source offset 0x04, // dma port ACCESS_32_BIT, // read element size ACCESS_32_BIT, // write element size 1, // trigger type - frame/block ADDR_OFFSET, // addresssing mode for source 0, // addresssing mode for destination 0, // auto-init mode NO_CHANNEL, // uint32 COMBO; // next ctrl packet trigger(Not used) }; g_dmaCTRL dmaCtrl_rec= { ( uint32 ) &spiREG1->BUF, // initial source address ( uint32 ) Spi1DmaRevData, // initial destination address DMA_CH0, // next ctrl packet to be trigger + 1 4, // frame count 4, // element count 4, // element destination offset 0, // element source offset 16, // frame detination offset 0, // frame source offset 0x04, // dma port ACCESS_32_BIT, // read element size ACCESS_32_BIT, // write element size 1, // trigger type - frame/block 0, // addresssing mode for source ADDR_OFFSET, // addresssing mode for destination 0, // auto-init mode NO_CHANNEL, // next ctrl packet trigger(Not used) }; and my problem is it can't work. From my OSC, I only capture 16 spi clock periodically which means 2 bytes, and CS0 only active at the first 8' clock but inactive at the following 8'clock, If it work, one CS will keep active for 32 spi clocks ( 4 bytes) as it work in SPI receiver interrupt mode. I think there is something I am wrong, would you please tell me how to configure DMA packet or if you can provide me an example about SPI DMA in Rm44L920 ? Best Regards,
↧
↧
Forum Post: TMS570LS3137: I am using CCS 5.5 version and RTS library version "rtsv7R4_T_be_eabi.lib" to be replaced with latest version "rtsv7R4_T_be_v3D16_eabi.lib"
Part Number: TMS570LS3137 I am using CCS 5.5 version and from existing RTS library "rtsv7R4_T_be_eabi.lib" I have to use latest version "rtsv7R4_T_be_v3D16_eabi.lib" but the following error is thrown in linking phase if I replace with new library . Can I do this in my project what is the process to migrate to new RTS version library . >> Compilation failure error #16004-D: file "../lib/rtsv7R4_T_be_v3D16_eabi.lib " has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files error #16004-D: file "../lib/rtsv7R4_T_be_v3D16_eabi.lib " has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files error #16004-D: file "../lib/rtsv7R4_T_be_v3D16_eabi.lib " has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files error #16004-D: file "../lib/rtsv7R4_T_be_v3D16_eabi.lib " has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files error #16004-D: file "../lib/rtsv7R4_T_be_v3D16_eabi.lib " has a Tag_ABI_VFP_args attribute value of "0" that is different than one previously seen ("1"); combining incompatible files error #10010: errors encountered during linking; "BootLoader_ TMS570LS3137 .out" not built gmake: *** [BootLoader_ TMS570LS3137 .out] Error 1 gmake: Target `all' not remade because of errors. With following compiler version and project settings The version "rtsv7R4_T_be_eabi.lib" and "rtsv7R4_T_be_v3D16_eabi.lib" are being pulled where all the RTS library should be set is not known 'Building target: BootLoader_ TMS570LS3137 .out' 'Invoking: ARM Linker' "C:/ti/ccsv5/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -Ooff --diag_warning=225 --display_error_number --enum_type=packed -z -m"BootLoader_ TMS570LS3137 .map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv5/tools/compiler/arm_5.1.5/lib" -i"C:/Users/180200_sgpcu/Documents/180200_sgpcu/04 - Software/04 - SW SRC/TMS570/Core/Bootloader/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.1.5/include" --reread_libs --warn_sections --display_error_number --xml_link_info="BootLoader_linkInfo.xml" --rom_model --be32 -o "BootLoader_ TMS570LS3137 .out" "./Source/boot_system.obj" "./Source/boot_sys_startup.obj" "./Source/boot_sys_core.obj" "./Source/boot_sw_hw_ver.obj" "./Source/boot_sci_common.obj" "./Source/boot_main.obj" "./Source/boot_hw_sci.obj" "./Source/boot_hw_gio.obj" "./Source/boot_hw_esm.obj" "./Source/boot_check.obj" "./Source/crc/boot_crc_test.obj" "./Source/crc/boot_crc_peripheral.obj" "./Source/crc/boot_crc_periph.obj" "./Source/crc/boot_crc.obj" "./Source/dcan/boot_dcan.obj" "./Source/delay/boot_Delay.obj" "./Source/emif/boot_emif.obj" "./Source/flash/boot_flash.obj" "./Source/flash/boot_Fapi_UserDefinedFunctions.obj" "./Source/inter/boot_sys_vim.obj" "./Source/inter/boot_sys_phantom.obj" "./Source/inter/boot_sys_intvecs.obj" "./Source/inter/boot_notification.obj" "./Source/led/boot_led.obj" "./Source/rti/boot_rti.obj" "./Source/rti/boot_RealTimer.obj" "./Source/spi/boot_spi_packet.obj" "./Source/spi/boot_spi.obj" "./Source/spi/boot_hw_spi.obj" "../bl_link.cmd" "../lib/F021_API_CortexR4_BE_V3D16.lib" "../lib/rtsv7R4_T_be_v3D16_eabi.lib" -l"../lib/F021_API_CortexR4_BE_V3D16.lib" -l"rtsv7R4_T_be_eabi.lib"
↧
Forum Post: CCS/MSP430F6723: How to Unblown the security Fuse using MSP-FET Flash Emulation Tool
Part Number: MSP430F6723 Tool/software: Code Composer Studio I am trying to unblown the security fuse using BSL_Scripter with MSP-FET Flash Emulator Tool, but I can't get proper response. The Hardware connection like this: DVCC ------------->> VCC Target(pin no 4) DVSS ------------->> GND (pin no 9) RST/NMI/SBWTDIO ------------->> RST (pin no 11) TEST/SBWTCK ------------->> TEST (pin no 8) BSL_TxD (P3.1) ------------->> UART_TxD (pin no 12) BSL_RxD (P3.0) ------------->> UART_RxD (pin no 14) Let me know the connection is correct or not? One more question is any change in firmware? Because in above image ACK_ERROR_MESSAGE unknown _ACK_value. I wait your response.
↧
Forum Post: RE: MSP430FR6047: MSP430FR6047
Hi Dmitry, First, about your application the ultrasonic spirometer, we suggest you to use the MSP430FR6043 instead of the MSP430FR6047 . And second, the highest operating frequency you can set now is 50Hz limited by the communication speed with the GUI. I am communicate with our software team to see if it is possible to higher the frequency without GUI. Best regards, Cash Hao
↧