Quantcast
Channel: Microcontrollers
Viewing all 234705 articles
Browse latest View live

Forum Post: RE: CCS/CODECOMPOSER: How to read high memory from CCS plugin

$
0
0
Hello Jakub, There are some considerations when working with high memory on MSP430 devices. I am going to move this thread to the MSP forum where the experts there are most familiar with these considerations. Thanks ki

Forum Post: RE: CCS/CODECOMPOSER: Wrong jump address in disassembly window

$
0
0
Hello Jakub, There are some considerations when working with high memory on MSP430 devices. I am going to move this thread to the MSP forum where the experts there are most familiar with these considerations. Thanks ki

Forum Post: RE: MSP430 with CAN interface?

$
0
0
Hello Antonio, No, there is not an MSP430 with integrated CAN. An external CAN controller would need to be used. See the link below for an example. www.electrodummies.net/.../

Forum Post: TMS320F28075 Dont work _IQrmpy

$
0
0
Hi Ti. Halp me please with my issue. I have tmp = _IQrmpy((y2-y1), (x-x1)); _iq x = 0 _iq x1 = 0 Result of calculation = Name : tmp Default:144499830 Hex:0x089CE476 Decimal:144499830 Octal:01047162166 Binary:00001000100111001110010001110110b // $TI Release: Release 1.5c $ // $Release Date: June 8, 2010 $ Disasembly 123 tmp = _IQrmpy((y2-y1), (x-x1)); 096de4: 0652 MOVL ACC, *-SP[18] 096de5: 0344 SUBL ACC, *-SP[4] 096de6: 1E42 MOVL *-SP[2], ACC 096de7: 0650 MOVL ACC, *-SP[16] 096de8: 034E SUBL ACC, *-SP[14] 096de9: 76408050 LCR $..\src\IQNrmpy.asm:132:298$ 096deb: 1E46 MOVL *-SP[6], ACC _iq math in GSRAM -l IQmath_fpu32.lib (IQmath) (Linker) How can i solve my problem.

Forum Post: RE: TMS320F28379D: How to use PWM T1/T2 signals to force PWM outputs without triggering tripzone action?

$
0
0
Yes the example epwm_tripzone in C2000ware is what you’re looking for. Nima Eskandari

Forum Post: RE: CCS/TM4C129ENCPDT: Internal temperature measurement setup

$
0
0
You are right, that the charging of the sample capacitor is documented in the data sheet. But it require some very clever reading to understand the sequencers actual sequence. By knowing the actual 'where does it come from' level and input, we can take this into account for precise high speed measurements. Surprising is it, that even when A0 is configured as a digital input it seems to be 'where it comes from input pin' to the temperatures sensor. It also seems from our measurements, that this pin affect both of the ADC channels A0 and A1 in terms of memory from last sample of the charge capacitor. We do have some serial resistors on other high speed ADC inputs to slow down high frequency ringing, but it seems that even 100 ohm is a high impedance when it comes to charging of the sample capacitor. Question: is it possible to have a more detailed description of the actaul sequence that the capacitor will see ?

Forum Post: RE: MSP430FR6047: EVM430-FR6047 (i.e. MSP430FR6047) Ultrasonic Sensing Evaluation Module not working properly.

$
0
0
Hello, 1) I checked the hardware connection...its good. Where on the EVM board I can connect the oscilloscope to see the input and output signals? 2) I adjusted / varied "Gap between pulse start and ADC capture (us) and Gain values" but it didn't work 3) Is the EVM430-FR6047 only applicable with the transducers contacted with water ? All demo cases, online examples shows audiowell pipe only. Does this EVM works with the clamp on (non intrusive / not submerged) sensors as shown in my case? Thanks.

Forum Post: RE: TMS320F28379D: can_external_transmit code not working with changed (CANTXA ,CANRXA) pin to (GPIO19 and GPIO18)

$
0
0
Akshay, I recommend you download the latest version of C2000ware from the TI website and try out the examples there. I urge you to download my app.note SPRA876 and take look at my Debug Checklist (section 3.3). Specifically, please look at the first bullet in 3.3.3 Hardware Debug Tips

Forum Post: RE: TM4C1297NCZAD: driving DLP2000 directly in front of the TM4C1297NCZAD

$
0
0
I have not used the DLPC2607 but it looks like the LCD interface of the TM4C1297NCZAD is compatible. See section 21 of the datasheet: www.ti.com/.../tm4c1297nczad.pdf .

Forum Post: RE: CCS/TMS320F28035: Exporting values of expression continuously for fault monitoring

$
0
0
Where do you wish to export the the values? To a file on the host? Thanks ki

Forum Post: RE: RTOS/MSP430F5659: Can't use SYSBIOS (TIRTOS) on CCS8 with MSP430F5659

$
0
0
Germain, Have you been able to resolve this issue? If not, I will need to research a bit more.

Forum Post: RE: CCS/TMS320F28035: Exporting values of expression continuously for fault monitoring

$
0
0
Yes exactly, I wanted to store it in a file on the host. If possible in a text file

Forum Post: CCS/LAUNCHXL-F28379D: I configured DACB Module to produce the output at J7, pin-70. I am not getting any output across pin 70.

$
0
0
Part Number: LAUNCHXL-F28379D Tool/software: Code Composer Studio I am collecting ADC samples from ADCA and updating to DACB module (ADC part working fine). I connected pin70 to the CRO. I configured DACB in the following way. Is this correct? void ConfigureDAC(void) { EALLOW; DacbRegs.DACCTL.bit.DACREFSEL = 1; // Use ADC references DacbRegs.DACCTL.bit.LOADMODE = 0; // Load on next SYSCLK DacbRegs.DACVALS.all = 0x0800; // Set mid-range DacbRegs.DACOUTEN.bit.DACOUTEN = 1; // Enable DAC DELAY_US(10); EDIS; } Updating values in the dac in ADC ISR routine: _ _interrupt void adcaIsr() { temp= (float) AdcaResultRegs.ADCRESULT0; x[tobestored-1] =temp; for(i=1;i<tobestored;i++) { x[i-1]=x[i]; } DacbRegs.DACVALS.all = temp; AdcaRegs.ADCINTFLGCLR.bit.ADCINT1 = 1; //clear INT1 flag PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; } Here, I am attaching EPWM Module also void FPU_initEPWM(void) { CpuSysRegs.PCLKCR2.bit.EPWM1 =1; // Enable EPWM1 clocks CpuSysRegs.PCLKCR2.bit.EPWM2 =1; // Enable EPWM1 clocks //Enable EPWM GPIOs InitEPwm1Gpio(); InitEPwm2Gpio(); EALLOW; // EPWM clock divider set to /2 ClkCfgRegs.PERCLKDIVSEL.bit.EPWMCLKDIV = 1; // Turn off the EPWM clock CpuSysRegs.PCLKCR0.bit.TBCLKSYNC = 0; // Disable SOC on A group EPwm1Regs.ETSEL.bit.SOCAEN = 0; // Select SOC on up-count EPwm1Regs.ETSEL.bit.SOCASEL = 4; // Generate pulse on 1st event EPwm1Regs.ETPS.bit.SOCAPRD = 1; // Set compare A value to 2000 counts EPwm1Regs.CMPA.bit.CMPA = EPWM1_DUTY_CYCLE; // Set period to 4000 counts EPwm1Regs.TBPRD = EPWM1_PERIOD; // freeze counter EPwm1Regs.TBCTL.bit.CTRMODE = 0; //enable SOCA EPwm1Regs.ETSEL.bit.SOCAEN = 1; EPwm1Regs.TBCTL.bit.HSPCLKDIV = EPWM_HSPCLKDIV; // Disable SOC on A group EPwm2Regs.ETSEL.bit.SOCAEN = 0; // Set compare A value to 10000 counts EPwm2Regs.CMPA.bit.CMPA = EPWM2_DUTY_CYCLE; // Set period to 20000 counts EPwm2Regs.TBPRD = EPWM2_PERIOD; // freeze counter EPwm2Regs.TBCTL.bit.CTRMODE = 3; EPwm2Regs.TBCTL.bit.HSPCLKDIV = EPWM_HSPCLKDIV; // Clear PWM1A on Zero EPwm1Regs.AQCTLA.bit.ZRO = AQ_SET; EPwm1Regs.AQCTLA.bit.CAU = AQ_CLEAR; // Clear PWM2A on Zero EPwm2Regs.AQCTLA.bit.CAU = AQ_SET; EPwm2Regs.AQCTLA.bit.PRD = AQ_CLEAR; EDIS; } void FPU_startEPWM(void) { // Turn on the EPWM EALLOW; CpuSysRegs.PCLKCR0.bit.TBCLKSYNC = 1; EPwm1Regs.TBCTL.bit.CTRMODE = 0; //unfreeze, and enter up count mode EPwm2Regs.TBCTL.bit.CTRMODE = 0; //unfreeze, and enter up count mode EDIS; } Please let me know what other things to configure in the program?

Forum Post: RE: TMS320F280041: TMS320F280041 - /CS timing in SPI mode 1 with ADS114S08B

$
0
0
Mirkoc, I'm currently held up with some urgent commitment. I shall get back with you in next couple of business days. Regards, Manoj

Forum Post: RE: TMS320F28375D: Recognition of a package type by S/W

$
0
0
Yoshita-san, The current value is fixed for the F2837xD/F2837xS/F2807x devices. If this bit field is supported on a different device(like F28004x) then the bits could have different meanings. However, the PARTNO bitfield in the PARTIDH register(offset 0xA) would tell the FW the family the device belongs to to limit that scope. Best, Matthew

Forum Post: RE: F28M36P63C2: DSS script erase flash results in error. Device held in reset.

$
0
0
Ryan, Regarding your question: " Did you mean using the free run in my erase only script in this thread, after reset before erasing? Or in my loading script ?". I would suggest to do it after every reset and before doing any further flash operation. Thanks and regards, Vamsi

Forum Post: RE: TMS320F280049: Include Analog pull-ups in TRM, C2000Ware

$
0
0
Hi Todd, Yes, these changes are in the pipeline.

Forum Post: RE: CCS/TM4C123BH6ZRB: CCS Cannot debug main application with Custom UART Bootloader at 0x0..

$
0
0
Does the define for "VTABLE_START_ADDRESS" in "bl_config.h" of the boot_serial project also point to address 0xC00?

Forum Post: RE: CCS/TM4C123BH6ZRB: CCS Cannot debug main application with Custom UART Bootloader at 0x0..

Forum Post: RE: CCS/TMS320F280049C: Global Reload and CMPxHR

$
0
0
Hi Jannik, It looks like a similar issue was encountered here: e2e.ti.com/.../589760 The thread doesn't seem to have a conclusive resolution, but Kris did postulate a few possible places to look. I'm trying to determine if we have additional information. I'll get back to you in a day or two.
Viewing all 234705 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>