Quantcast
Channel: MSP low-power microcontrollers
Browsing all 62306 articles
Browse latest View live
↧

Forum Post: RE: MSP430FR5969 hardware problem at 16MHz

Olli, I'm not understanding your clocking situation here. First you set the DCO to 1MHz then do MCLCK/2 and SMCLK/32. Then you do the 16MHz workaround and come out as MCLCK=16MHz/2 and SMCLK=16MHz/32....

View Article


Forum Post: RE: How to correctly define a name to a output port bit.

Hi Jerry, I did a little more digging and found this E2E post discussing a similar topic: Differences between "msp430.h" and "io430.h" The discussion about accessing individual I/O bits starts about...

View Article


Forum Post: RE: How to correctly define a name to a output port bit.

Please Help- This is getting frustrating!! I put the following test code sequence in CCS C; P8SEL = 0x00; // all pins of PORT8 are DIOs P8DIR = 0xFF; // // i/o all out P8OUT = 0xFF; P9SEL = 0x00; //...

View Article

Forum Post: RE: How to correctly define a name to a output port bit.

[quote user="Jerry Bucci"] Line Code 95 B8_1(&P8OUT)=0; 96 B8_1(&P8OUT)=1; 97 B8_1(&P8OUT)=0; 98 B8_1(&P9OUT)=0; 99 B8_1(&P9OUT)=1; 100 B8_1(&P9OUT)=0; When i compile and run to...

View Article

Forum Post: RE: How to correctly define a name to a output port bit.

I just got this to work!!! I had the compiler project set to "Release" Mode. When I switch to "Debug " Mode it single stepped correctly and changed the port bits as expected. I need to generate an...

View Article


Forum Post: RE: How to correctly define a name to a output port bit.

I think you can do this (but didn't try it myself): #define B8_0(x) (((volatile struct bits8 *) (x)) ->b0) #define B8_1(x) (((volatile struct bits8 *) (x)) ->b1) #define B8_2(x) (((volatile...

View Article

Forum Post: RE: How to correctly define a name to a output port bit.

Thanks Brian, What you say makes sense, that the compiler would ignore the 2nd,3d statements(96,97) accept that the P8 bit 1 came in as a 1 and was never changed to 0 by line 95! I'I will add the...

View Article

Forum Post: RE: MSP430FR5969 hardware problem at 16MHz

It will crash if I do that. That back an forth was reached by trial and error which allowed this simple test program to run. Hence the comment in OP that moving the clock change to the init() routine...

View Article


Forum Post: RE: Problem communicating with UART on the MSP430G2553

A hardware serial port is implemented on the MCU chip itself. A software serial port is created with user written code that manipulates standard I/O pins to create the serial port.

View Article


Forum Post: RE: download without debug?

Somehow I actually solved this. Go to Project-->Options and then in "Debugger" category change "Run to" field from "Main" to "exit". Your code will begin executing immediately when you download. So...

View Article

Forum Post: RE: ADC14 Using polling method

Praveen, You have setup the ADC to do multiple conversions continuously. The toggle conversion is only needed once to start the mode. I am concerned that the corruption may be related to the changing...

View Article

Forum Post: RE: MSP430FR5969 hardware problem at 16MHz

Olli, I'm able to reproduce your issue reliably and have narrowed down the issue to the CS_initClockSignal(). Strangely, if you step through the function its ok, but trying to run even at debug speed...

View Article

Forum Post: Initializing UART1 on MSP430F449...

Hello, When trying to initialize UART1, the use the code below is used. But after the first command is executed, we go in to check the contents of ME2 yet we do not see it getting the UTXE1 and URXE1...

View Article


Forum Post: RE: Apply 3.3 V on GPIO get automatically 1.2V on AVCC and 2.1V...

Hi Mitchell, Thanks, I am not connecting anything to AVCC and DVCC. Yes I am providing separate 10k pull-up going from P2.0 and P2.1 to the 3V battery. Thanks, Mukesh

View Article

Forum Post: RE: Apply 3.3 V on GPIO get automatically 1.2V on AVCC and 2.1V...

Thanks, Can we control it through Firmware? Regards, Mukesh

View Article


Forum Post: RE: Not able to send ADC value over UART

No, I don't want higher baud rate, 9600bps is okay for me.

View Article

Forum Post: RE: Not able to send ADC value over UART

I don't understand why are you asking to increase the baud rate? Iam a beginner with all this stuff. Kindly guide me

View Article


Forum Post: RE: MSP432 Driverlib Demos all 3Mhz -- problems with 48Mhz,...

Thanks -- I actually wrote my own driver, had I2C write working very well, and was in the middle of I2C read, then found thru googling, a driver that isn't part of any of the libraries, but was made by...

View Article

Forum Post: RE: MSP430_ADC

Thanks for your reply, I found the max ADC12CLK frequency is 5 Mhz. I want to know one more thing, what are the default frequency ranges for MCLK, SMCLK, ACLK.?

View Article

Forum Post: RE: Apply 3.3 V on GPIO get automatically 1.2V on AVCC and 2.1V...

No, this is hardwired inside the chip. Dennis

View Article
Browsing all 62306 articles
Browse latest View live


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