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

Forum Post: LP-AM243: importing project from SDK

$
0
0
Part Number: LP-AM243 Hi, I have installed the 243x SDK and attempted to import a project. what ever I try to import I get this message note that I see the product is installed. what is missing?

Forum Post: TMS570LS0432: How to change project from one micro supported into another micro?

$
0
0
Part Number: TMS570LS0432 Other Parts Discussed in Thread: TMS570LS3137 , Hii, I have developed a project which supports TMS570LS3137 micro controller. Now, I want to change that project to support TMS570LS0432 model. Is that possible ? If yes, help me on this to solve this problem. Thanks.

Forum Post: >5ns pulse detection with mcu

$
0
0
Hi Can any Mcu detect a 5ns wide pulse? Is MCU clock speed important in this case? Or are MCU pin speeds important? Are MCUs capable of detecting such a low amplitude signal? Many thanks for any guidance provided...

Forum Post: RE: TMS570LC4357: Debugging while cache is enabled

$
0
0
Ok ,thanks, now i'm able to visualize the state of the variable in real time! I have one other related issue: Using the memory configuration as you propose, if i try to move a function in the ram memory, the software flow stucks at the following code line: When software enter in the the function that shall be executed in the "sharedRAM" sections, my flows stops like in the image above. I report also an example main flow to better explain my problem Thanks Alex

Forum Post: RE: TMS320F28386D: SCI driver lib function 'SCI_readCharBlockingFIFO'

$
0
0
Hello, Any feedback yet if the above observation is meaningful and enters the SCI Driver in future C2000 ware versions? If so, at which C2000 ware version will this update be available? Thanks, Inno

Forum Post: TMS320F28388D: LWIP Issues

$
0
0
Part Number: TMS320F28388D Hello Community, I want to use LWIP example in my application, And I created a New CM Project using File > New > CCS project > Cortex M(Arm) tab > Selected Empty Project > Project name > Finish And I further Added Required Files as in ene_lwip_udp example. My project structure looks like this: . Further Added below includes: and pre defined " _FLASH " and " ccs ". Further File search path looks like this: And Then tweaked Linker script as per the requirement. Now If I tried loading this build onto CM Core after loading CPU1 with CM related Ethernet Initializations. Code is getting stuck in ie., in FaultISR "lwIPInit(0, pucMACArray, IPAddr, NetMask, GWAddr, IPADDR_USE_STATIC); " Further I investigated where exactly it is getting in to FaultISR(), I found that it is not coming out from ethernet_output() function. But If I try to import enet_lwip_udp directly from c2000 directly into my workspace I see there are no issues, Code is not getting hung. Can Someone please help me out here. Thanks and regards, Pranay

Forum Post: RE: LAUNCHXL-F28379D: SPI FIFO mode

$
0
0
Yeah, I have gone through the SPI chapter. but could not understand how TX FIFO status changes In TX ISR As I am sending the data by using SPI_writeDataNonBlocking, I can see that as one data sent, RX FIFO status increased by one so I can visualize what is happening at receiving side and as I have kept RX FIFO level 16, as FIFO status>= 16 RX interrupt will occur That kind of thing I am not able to visualize at the transmission side. Regards, Jay

Forum Post: MSP430F6779: P 1.1 (P1IN) register not detected I/O pin after reset first time

$
0
0
Part Number: MSP430F6779 Hi, I have problem about P 1.1 (P1IN) register not detected I/O pin after reset first time. Situation is following. Step1: Power ON. Step2: I/O pin P 1.1 Supply as high logic Step3: Setting P 1.1 as input direction. Step4: Reading the P1IN register but the value of P1IN not set as the I/O pin P 1.1 (it still 0). Step5: I/O pin P 1.1 Supply as low logic Step6: Reading the P1IN register, the value of P1IN is update correctly (P1IN update following the pin 1.1) Why P 1.1 (P1IN) register not detected I/O pin after reset first time?

Forum Post: TMDSCNCD280049C: 3D Modell

$
0
0
Part Number: TMDSCNCD280049C Hi, where can I find the 3D-Modell of this board. I don't have altium but fusion360. br

Forum Post: RE: TMS320F28055: Programming Issue

$
0
0
Hi Marlyn, I am also getting the below message. regards- sudip

Forum Post: TMS320F280049C: Code working in debug mode but not in stand alone if any new variables are added or externed

$
0
0
Part Number: TMS320F280049C Hello, I am using microcontroller Tms320f280049m, code composer studio 11.0 and compiler version 21.6.0.LTS. I am facing the below mentioned issue: Whenever I change a #define value or add a new variable or initialize a new variable, my code works in debug mode but not in stand alone mode. And whenever I undo the change, my code works in debug as well as stand alone mode. Also whenever I change a #define value, my map file gets changed and that code (.out file) doesnot work in stand alone mode Note: No errors given Please help me find out what is the issue. Thanks and Regards, Selec

Forum Post: MSP430F5529: MSP430G2553 Simulator

$
0
0
Part Number: MSP430F5529 Other Parts Discussed in Thread: MSP-EXP430G2ET , MSP430G2553 A simulator for MSP430G2553 (MSP-EXP430G2ET): https://1drv.ms/u/s!Apao4fhiIcMThOYQSgz2xqqobIXf7A and some examples in IAR: https://1drv.ms/u/s!Apao4fhiIcMThOYR71LQzLgK5-ajvw

Forum Post: MSP432P401R : Problem with SPI

$
0
0
Hi, I am using the MSP432P401R for programming a DDS (AD9833). When I program it with the UCB0CLK and UCB0SDA, there is no problem, I can do it. But these pins are used for something else and I tried to program the DDS with the UCB1CLK and UCB1SDA instead, and nothing works. However, the code is exactly the same : i just changed the pins and all the "ucb0" to "ucb1". Moreover, when I look at the signals with a scope, they seem to be exactly the same. I can't understand where the problem comes from. Here is the code : SPI INITIALIZATION : P6->OUT &= ~BIT3; P6->DIR |= BIT3; // Set P1.0 LED P6OUT = BIT3; P6->OUT &= ~BIT4; P6->DIR |= BIT4; // Set P1.0 LED P6OUT = BIT4; /* P2->OUT &= ~BIT1; P2->DIR |= BIT1; // Set P1.0 LED P2OUT = BIT1; P2->OUT &= ~BIT0; P2->DIR |= BIT0; // Set P1.0 LED P2OUT = BIT0;*/ P6->SEL0 |= BIT3 | BIT4; // Set P1.5, P1.6, and P1.7 as // SPI pins functionality UCB1CTLW0 |= UCSWRST; // Put eUSCI state machine in reset UCB1CTLW0 = UCSWRST | // Remain eUSCI state machine in reset UCMST | // Set as SPI master UCSYNC | // Set as synchronous mode UCCKPL | // Set clock polarity high UCMSB; // MSB first UCB1CTLW0 |= UCSSEL__SMCLK; // ACLK UCB1BRW = 0x01; // /2,fBitClock = fBRCLK/(UCBRx+1). UCB1CTLW0 &= ~UCSWRST;// Initialize USCI state machine And here is the code for the programming of the DDS : int main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer // Terminate all remaining pins on the device P2DIR |= 0xFF; P2OUT = 0; P3DIR |= 0xFF; P3OUT = 0; P4DIR |= 0xFF; P4OUT = 0; P5DIR |= 0xFF; P5OUT = 0; P6DIR |= 0xFF; P6OUT = 0; P7DIR |= 0xFF; P7OUT = 0; P8DIR |= 0xFF; P8OUT = 0; P9DIR |= 0xFF; P9OUT = 0; P10DIR |= 0xFF; P10OUT = 0; /*** Fonctions d'initialisation ***/ initialisation_SPI(); /*** Fin des fonctions d'initalisation ***/ /*** Autorisation des interruptions ***/ __enable_interrupt(); NVIC->ISER[0] = 1 IFG |= EUSCI_B_IFG_TXIFG;// Clear TXIFG flag EUSCI_B1->IE |= EUSCI_B_IE_TXIE; // Enable TX interrupt } } int _system_pre_init( void ) { WDTCTL = WDTPW | WDTHOLD; return 1; } // SPI interrupt service routine void eUSCIB1IsrHandler(void) { if (UCB1IFG & UCTXIFG) { while(!(UCB1IFG & UCTXIFG)); P9OUT &= ~BIT3; EUSCI_B1->TXBUF = 0x20; // Transmit characters while(!(UCB1IFG & UCTXIFG)); EUSCI_B1->TXBUF = 0x00; // Transmit characters while(!(UCB1IFG & UCTXIFG)); EUSCI_B1->TXBUF = 0x5D; // Transmit characters while(!(UCB1IFG & UCTXIFG)); EUSCI_B1->TXBUF = 0x2B; // Transmit characters while(!(UCB1IFG & UCTXIFG)); EUSCI_B1->TXBUF = 0x40; // Transmit characters while(!(UCB1IFG & UCTXIFG)); EUSCI_B1->TXBUF = 0x6F; // Transmit characters P9OUT |= BIT3; UCB1IFG &=~ UCTXIFG; G_uint8Fin_comm_adcFlag = 1 ; } } Do you have any idea? Thank you in advance,

Forum Post: RE: TMS320F28379D: Static inline function is not executed well in the CLA

$
0
0
Hi Ashwini, This thing is we already applied O2 because we are using an inline function. This code is already executed in the C2000 and it works with the same optimization level. S.Tarik

Forum Post: RE: MSP430FR2476: msp430fr2476

$
0
0
I see three slightly different version of init code. All are wrong but which one are you using?

Forum Post: RE: TMS320F28388D: Resetting CM core

$
0
0
Vivek, Thanks for the input but I see that CM Core is not getting reset when I perform below operation: I assume that if I keep breakpoint in main it has to hit that break point after I reset. Correct ? I tried reading *lRegVal in expressions, it is updating with the expected value of 0x05FA0004. Do we have any Library APIs for resetting CPU1 &CPU2 &CM cores independently ? Can you provide us some insights regarding this. --Pranay.

Forum Post: RE: TMS320F28379D: SCI flash programming on custom made hardware

$
0
0
I am able to resolve above questions by reading other threads. I was following wrong steps in setting content of 0xD00 to 0x815A. However, I am not yet succeeded in SCI flashing, I have some doubts which i will ask subsequently as i progress further . Lets keep this thread open for now. You guys gave me much needed breakthrough. Thanks.

Forum Post: RE: SM470R1B1M-HT: SCI2CLK (84 pin package) puts out a 1.8 volt waveform instead of 3.3 volts

$
0
0
Hi Marcus, Ok. Let me know your results.

Forum Post: RE: MSP430FR2476: msp430fr2476

$
0
0
If you want to use the P4.3/P4.4 pins for UCB1, you need to set SYSCFG3:USCIB1RMP=1.[Ref data sheet Table 9-11 Note (2) and user guide Table 1-32]

Forum Post: RE: TMS320F280049: How to connect an ADC with SPI and multiple data lines

$
0
0
Hello Devin, Thank you very much for the answer. Using the second SPI as a slave is a great idea. I want to use an external ADC because it will be placed on a different PCB as the microcontroller, to be closer to the signal source. Best Regards Sebastian
Viewing all 235247 articles
Browse latest View live


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