Jump to content


  • Content Count

  • Joined

  • Last visited

About MSP432

  • Rank

Recent Profile Visitors

674 profile views
  1. Yes, there is another micro controller on the board. But we are only using this to develop the model. We ll get rid of it and develop our on Analog front end. Will check and see if i can read the values now. Will post if i see any trouble doing so. I just read the control register and its outputting the setting i write.
  2. Thanks for that information. Yes the SS pin is working as expected. But that raises a new question for me, why Arduino is reading without any trouble with same 4 connections i made? Edit: Thanks for pointing that out. Its working now
  3. Where to connect GND? and is it required for the SPI?
  4. Thanks @@Fmilburn. Will there be anyother connections running between MSP and MCP other than SS, SCK, MOSI, MISO ? Oscilloscope shows the MOSI line from MSP is outputting data as expected. Also will pullup, pulldown states of pins matter? If u have a moment, it would be great if you can try the code I posted above and see if ur having any issues on your setup.
  5. Hi, I am using MSP430FF5529 launchpad, energia 17.. But the energia reference shows SPI0 on pins 7/8/14/15 and SPI1 on pins 34/33/9/10 for SPI(1). http://energia.nu/Guide_MSP430F5529LaunchPad.html
  6. Hi, I am trying to read ADC channel values from MCP3911 using MSP launchpad using SPI protocol. When i used Arduino Mega the protocol is working fine. But when i use any TI devices i am having a problem, it always gives me all 0'S or 1's. I am using energia for MSP devices. Any i have chosen the appropriate pins as defined in the enegia pin layout. msp430----- static const uint8_t SS = 8; /* P2.7 */ static const uint8_t SCK = 7; /* P3.2 */ static const uint8_t MOSI = 15; /* P3.0 */ static const uint8_t MISO = 14; /* P3.1 */ Can someone help me troubleshoot where i am goin
  7. Hi I am trying to do a MC to MC communication using modbus. I assigned static IP's to both my MC's. WiFiServer MbServer(MB_PORT); WiFiClient client = MbServer.available(); if(client.available()) { ///Do something////// } My question here is, Is there are way I can check the senders IP address before reading modbus packed data in the loop. Because the receiver MC can be jammed with high data throughput as its a open connection (i.e anyone can send data to the MC by knowing its IP address). I want to read the senders IP before doing any data processing. I know using UDP
  8. Ground!! Thats a big question even i had. But luckly it was working (I dnt knw how its referencing the signal though) as expected on MSP430 and TM4C1294. When i look at the higher version MCP39F511, this piece has a ground connection pin available from MCP to MSP. But the MCP board i am using doesn't have any ground pin to connect to. And yes my baud rate is 4.8kbps (code snippet attached) bool RegRead0x0004(void) { Serial1.begin(4800);
  9. Here is how the setup is.. And your code was working fine. I am able to print char A on serial monitor. MSP432 + MCP39F501
  10. So when i run the code. if (Serial1.available()) this statement always FAIL. Program never enters into that if loop, it is just skipping that. As a result the Serial1.end(); after the IF loop is halting the program there and the loop breaks. As a result i cannot see anything print on my serial monitor. But the same code works well with MSP430. What would the issue be? Should i change some jumper settings on my MSP432 for the Serial1 to work. I tried on multiple MSP432 boards both red and black nothing worked.
  11. Hi, I am trying to make a UART connection with a device from serial1 in MSP432. It isn't working as i cannot see anything printing on my serial monitor (I am trying to print the data stored in global variables using serial/USB). Wherein the same code works fine on MSP430 or TM4C1294 devices. I have double checked my wiring connections.. P3.2, P3.3 for RX, TX. Can anyone here help me resolve this issue or point out where im going wrong.. Please find the code below //----------------------------------------------------------------------------- // Microchip MCP39F501 Power Monitor
  12. By saying two serial ports do you mean Serial.begin() and Serial1.begin() ?? I am trying to establish an UART communication using Serial1.begin() and using Serial.begin() as serial monitor. I am having bad time making it work. The same code is working with TM4C1294 and MSP430F5529. Is there any other way to access other serial pins on MSP432 using energia?
  13. Thanks for your reply. Previously i was referring only to the pin layout of MSP432 in energia where they showed only one RX,TX. did not check the datasheet (i mistakenly mentioned it as datasheet above).
  14. Hi, I am using MSP432P401R to make a UART connection and talk to a board. I have found in the datasheet that MSP432 supports only one UART (RX-P3.2, TX-P3.3). In this case when I use serial to transmit and receive from the other board, Can there be a way i can view the data on serial monitor? How to realize this? I have read in other posts about software serial where GPIOs can be used as serial pins. Can someone brief it for me. My project basically is to read bytes from MCP39F501 onto MSP432P401R and then transmit that data using MODBUS TCP protocol with CC3100 boaster pack.
  • Create New...