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

Forum Post: RTOS/MSP432E401Y: When add SYS/BIOS support error message 'List of Platform may have change. Please select or specifies the Platform'

$
0
0
Part Number: MSP432E401Y Tool/software: TI-RTOS I want to add SYS/BIOS support to an existing project. and I had an error listed in the Properties Let say the project is timerled_MSP_EXP432E401Y_tirtos_ccs imported from simplelink_msp432e4_sdk_2_40_00_11 I followed the instruction on page 29 of the TI-RTOS kernel (SYS/BIOS) User's Guide (SPRUEX3U) to add SYS/BIOS support The reason that add SYS/BIOS support so that I can add Swi (software Interrupt) to the project. From CCS-v9 Project Explorer use File > New > RTSC Configuration File to create file timeled_MSP_EXP432E401Y_tirtos_ccs.cfg The Properties of the timerled_MSP_EXP432E401Y_tirtos_ccs shows error 'List of Platform may have change. Please select or specifies the Platform' Click on any items, for example "Resource", a window pop up, with message Could not Accep Changes The currect displayed page contain invalid values. I attached the screenshot. Thank you. Long

Forum Post: RE: LAUNCHXL-F28069M: UART communication with Simulink

$
0
0
Please refer to the following link to an example model on using the SCI block. www.mathworks.com/.../serial-data-communication-on-f28m3x-concerto-between-arm-c28x-and-the-host-computer.html And the following link to the Mathworks SCI documentation page. www.mathworks.com/.../c28xscireceive.html www.mathworks.com/.../c28xscitransmit.html You can also contact MathWorks Technical Support for more assistance on Simulink of Matlab. in.mathworks.com/.../contact_us.html

Forum Post: CCS/LAUNCHXL-F28069M: MotorWare InstaSPIN, Projects and labs User's Guide, proj_lab01b : I don't have a graphic out put!

$
0
0
Part Number: LAUNCHXL-F28069M Tool/software: Code Composer Studio Dear TI engineers: I have followed " labs User's Guide " everything is ok, untill to Lab 1b. As in the Lab 1b describes: if I connect // connect inputs of the PWMDAC module. gDacData.value[0] = (*gDacData.ptrData[0]); // gDacData.value[1] = (*gDacData.ptrData[1]); // gDacData.value[2] = (*gDacData.ptrData[2]); // gDacData.value[3] = (*gDacData.ptrData[3]); // I would be able to observe the output signal on CH1->PWMDAC(1-3) with an oscilloscope. problem (1): I don't know on which pins I could measure and where it has been documented? (I tried measure every pins but I didn't have similar waves) problem (2): if I connect the outputs of the datalog module: datalog.iptr[0] = &gPwmData.Tabc.value[0]; // datalogBuff[0] datalog.iptr[1] = &gPwmData.Tabc.value[1]; // datalogBuff[1] datalog.iptr[2] = &gPwmData.Tabc.value[2]; // datalogBuff[2] I would be able to observe the signals on graphics (I imported the graphic configs from the files as the guide describes, and tried refresh them) As a matter of fact that the graphic show nothing like the guide but constantly "zero". could you help me to find out where the problem is? BR George

Forum Post: CCS/TMS320F28377S: pointer address changes during initialization

$
0
0
Part Number: TMS320F28377S Tool/software: Code Composer Studio Hi, I got an issue during manipulating a self-defined structure. When I was trying to initialize the value, once I tried to write to the data union, all the location will be corrupt and set to start from 0x0. And then it will entering into illegal isr trap. Anyone can help with that? The structure definition are attached.

Forum Post: TM4C129XNCZAD: Encryption chip speed, ULPI throughput and SD card readwrite speed

$
0
0
Part Number: TM4C129XNCZAD Hello TI! From what I've gathered about the components offered by TI: TUSB1002ARGET: Is a USB 3.0 interface chip TM4C129XNCZAD : Is a high speed processing unit SN74AVCA406L : Is a microSD card interfacing chip The project we're working on is to develop a USB3.0 (target 800/480 Mbps read/write) encrypted, microSD card storage device. This brings up a few issues, but my understanding is that the USB3.0 interface chip (TUSB1002ARGET) can handle the dataspeed required, this can connect to the processing unit ( TM4C129XNCZAD ) via ULPI which can encrypt the data which is passed onto the microSDcard interface ( SN74AVCA406L ). How fast is: SN74AVCA406L ? Can it handle 800/480Mbps? Can the processing unit handle the desired encryption speed and is it capable of handling the format of the SD card files? My main confusion when going through the documentation is the actual throughput of components... Regards! Fujimi

Forum Post: MSP430FR2311: RTC Interval Incorrect

$
0
0
Part Number: MSP430FR2311 I'm not sure what is going on if it is my mistake or an issue with driverlib, but I cannot get the expected interrupt rate from the RTC. The code below gives me an interrupt period of 2ms. If I do the math 1/.002 = 500hz. 500hz *32000 = 16MHz. It seems like the clock to the RTC module isn't correct. I also get a warning on RTC_clearInterrupt(RTC_BASE, RTC_CLOCKSOURCE_SMCLK); that says "#70-D integer conversion resulted in truncation" *EDIT: As another datapoint I have a TimerB configured to interrupt at 128Hz with ACLK connected as its CLK source. I verified that it is running at 128Hz as expected. int main(void) { //Stop WDT WDT_A_hold(WDT_A_BASE); initClockTo16MHz(); /* Initialize peripherals */ initGPIO(); initRTC(); while(1) { } } void initGPIO(void){ // INPUT IS 0, OUTPUT is 1 //Set Px.x to output direction P1DIR |= 0b00000000; // inputs P2DIR |= 0b00001011; P2OUT = 0x00; PMM_enableTempSensor(); // enable temperature sensor PMM_enableInternalReference(); // Select P2.0 as PWM Timer output function P2SEL0 |= GPIO_PIN0; P1SEL1 &= ~(BIT7); // USCI_A0 UART operation TX only P1SEL0 |= BIT7; // I2C pins P1SEL0 |= BIT2 | BIT3; P1SEL1 &= ~(BIT2 | BIT3); //ADC Pins P1SEL0 |= BIT0 | BIT1; P1SEL1 |= BIT0 | BIT1; /* * Disable the GPIO power-on default high-impedance mode to activate * previously configured port settings */ PMM_unlockLPM5(); } void initClockTo16MHz() { // Configure one FRAM waitstate as required by the device datasheet for MCLK // operation beyond 8MHz _before_ configuring the clock system. FRCTL0 = FRCTLPW | NWAITS_1; __bis_SR_register(SCG0); // disable FLL CSCTL3 |= SELREF__REFOCLK; // Set REFO as FLL reference source CSCTL0 = 0; // clear DCO and MOD registers CSCTL1 &= ~(DCORSEL_7); // Clear DCO frequency select bits first CSCTL1 |= DCORSEL_5; // Set DCO = 16MHz CSCTL2 = FLLD_0 + 487; // set to fDCOCLKDIV = (FLLN + 1)*(fFLLREFCLK/n) // = (487 + 1)*(32.768 kHz/1) // = 16 MHz __delay_cycles(3); __bic_SR_register(SCG0); // enable FLL while(CSCTL7 & (FLLUNLOCK0 | FLLUNLOCK1)); // FLL locked CSCTL4 = SELMS__DCOCLKDIV | SELA__REFOCLK; } // RTC interrupt service routine #if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__) #pragma vector=RTC_VECTOR __interrupt void RTC_ISR(void) #elif defined(__GNUC__) void __attribute__ ((interrupt(RTC_VECTOR))) RTC_ISR (void) #else #error Compiler not supported! #endif { switch(__even_in_range(RTCIV,RTCIV_RTCIF)) { case RTCIV_NONE: break; // No interrupt case RTCIV_RTCIF: // RTC Overflow P2OUT ^= BIT3; //P2OUT &= ~BIT3; //P2OUT |= BIT3; break; default: break; } } void initRTC() { SYSCFG2 |= RTCCKSEL; // CONFIGURE TO USE ACLK INSTEAD OF SMCLK RTC_init(RTC_BASE, 32000, RTC_CLOCKPREDIVIDER_1); RTC_clearInterrupt(RTC_BASE, RTC_CLOCKSOURCE_SMCLK); RTC_enableInterrupt(RTC_BASE, RTC_OVERFLOW_INTERRUPT); RTC_start(RTC_BASE, RTC_CLOCKSOURCE_SMCLK); }

Forum Post: CCS/TMS320F28027: SCI BOOT

$
0
0
Part Number: TMS320F28027 Tool/software: Code Composer Studio I want to add SCI BOOT FUNTION to STM320F28027.A series of checking operation is performed on TRST and General - Purpose I/O pins to determine which boot mode to use in sprufn6a. Can i turn to SCI BOOT ignore TRST and General - Purpose I/O pins ? How to updata program in STM320F28027 whit SCI? Any technical documents or example projects in http://www.ti.com ?

Forum Post: RTOS/EK-TM4C1294XL: Memory : ti.sysbios.knl.Task: line 373: E_stackOverflow: Task 0x20001188 stack overflow.

$
0
0
Part Number: EK-TM4C1294XL Tool/software: TI-RTOS Hi Team, tcpEcho example for TM4C1293XL, i want transfer 16000 bytes, I'm getting following error , Can anyone help me on this please.... RESPONSE: ss in flash Starting the TCP Echo example System provider is set to SysMin. Halt the target to view any SysMin contents in ROV. Network Added: If-1:192.168.1.58 ti. sysbios .knl.Task: line 373: E_stackOverflow: Task 0x20001188 stack overflow. xdc.runtime.Error.raise: terminating execution

Forum Post: TMS320F28069M: Issue in Launchpad F28069M while Programming the IC get warm

$
0
0
Part Number: TMS320F28069M I was experimenting to interface my analog circuit with TI Launchpad F28069M but when i downloaded the program on TI board the and was trying to Connect analog intput to board I uC and FDTI Chip started to get warm. Later when i continued with experiment I am able to program the Chip using FTDI. This similar Kind of issue was faced that when we programmed board and we testing the uC started heating and later all led indication on board dimmed down and turned. I am trying of find the issue but unable to do so. Kindly help me regrading same if any one have resolved this issue Thank you

Forum Post: MSP430FR2355: MSP low-power microcontroller forum

$
0
0
Part Number: MSP430FR2355 Hello, Q1 When using eUSCI in SPI master mode and Not ready, what is the state of the SIMO pin? Q2 Is it the same state if it is MSP430 eUSCI? In the data sheet description, the signal of SIMO is at the center, so it is Hi-z. But, The signal does not go low even if SIMO is pulled down on the evaluation board ( MSP-EXP430FR2355 ). SIMO has no other connection. It pulls down with 1.5kΩ. (The polarity of the STE of msp430fr235x_euscia0_spi_11.c is being changed.) Is the STE different from the not ready state than the not ready state? . Regard, Da

Forum Post: MSP430FR5994: Azure Iot HuB implementation with msp430fr5994

$
0
0
Part Number: MSP430FR5994 hi, Is it possible Azure iot HUb implementation with msp430fr5994 ? Can we use Azure hub Sdk with msp430fr5994 in code componser studio

Forum Post: MSP432E411Y: MSP432E411Y

$
0
0
Part Number: MSP432E411Y I m trying to read 2 bytes from a I2C slave device using MSP432E411Y in polling mode. some times the data i receive is invalid. when monitored the I2C waveform from MSP432E411Y , i see few times the clock state would have changed in the unexpected places. Because of which the data from slave device is not correct. I have also seen many posts where people are facing issue with the I2C driver on MSP432E411Y . Can some one share a properly working I2C master code to read 2 bytes from slave device consistently ? Thanks in advance..

Forum Post: MSP430FR2633: Implementing CapTIvate feature for distance of 2 cm

$
0
0
Part Number: MSP430FR2633 I have CapTIvate MCU Development Kit, for MSP430FR2633 and am trying to implement keypad switch buttons based on mutual capacitance principle. I am trying to detect touch and proximity at the distance of 2 centimeters but its not getting implemented. I followed the workshop tutorial and adjusted the conversion count, touch and proximity threshold to implement the same, it provide touch and proximity upto 1 centimeter only but does not provide touch at distance of 2 centimeters. Please suggest me procedure for the same.

Forum Post: CCS/TMS320F280049C: CCS/TMS320F280049C

$
0
0
Part Number: TMS320F280049C Tool/software: Code Composer Studio I am not able to establish communication with the TMS320F280049C . The CCS Version used is CCS 7.2.0 Debug Probe used in my application is XDS100V2 USB Debug Probe. The micro controller is failing the Integrity Scan Test, the TX and RX leds are not glowing as well.

Forum Post: F28M36P63C2: Old Silicon Revision

$
0
0
Part Number: F28M36P63C2 Hi Champs, Our customer has several production system with F28M36P63C2ZWTT (Silicon revision B / Silicon Revision E) and customer is still making them. Therefore, we got inquiry about those chips( RevB/RevE). Would you have plan to discontinue those Revision chips(Rev B and Rev E), currently? Regarding the new project, customer will replace them with F28M36P63C2ZWTT(silicon Revision F). Best regards, Miyazaki

Forum Post: EVM430-FR6043: transducers program modifie

$
0
0
Part Number: EVM430-FR6043 We download the demo program, Versions is UltrasonicGasFR6043_02_20_00_07 . But I can't find the configuration & receive & process of transducers in the program clearly. Our Frequency is 200KHZ, So where can I modifie the program for my system .

Forum Post: TMS320F28335: SHE PWM improved

$
0
0
Part Number: TMS320F28335 Hi support team, I want improved selection harmonic eliminate (SHE) PWM in TMS320F28335 .

Forum Post: CCS/LAUNCHXL-F280049C: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register

$
0
0
Part Number: LAUNCHXL-F280049C Tool/software: Code Composer Studio On debugging this error is coming. How can I resolve this?

Forum Post: Compiler/EVM430-FR6047: EVM430-FR6047-TIDA-01486

$
0
0
Part Number: EVM430-FR6047 Tool/software: TI C/C++ Compiler Hello!We are testing the dual-channel ultrasonic flowmeter with the circuit board provided in tida-01486 , but we cannot find the configuration file or source file that supports this design.Can I download the files?Thank you very much!

Forum Post: CCS/TMS320F28335: Can i transmit 16 bit data by uart?

$
0
0
Part Number: TMS320F28335 Tool/software: Code Composer Studio Hi. I want to write the programm, whith will osciliscope the data from mictrocontroller tfrom uart. I cant understand one moment. The register "SCITXBUF" has 16 data bits, but a can`t transmite16 bit. Do i right understand, what i can put SCITXBUF only one word?
Viewing all 234507 articles
Browse latest View live


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