element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Safe and Sound
  • Challenges & Projects
  • Design Challenges
  • Safe and Sound
  • More
  • Cancel
Safe and Sound
Blog Safe & Sound @ E14-CLEWE @#10_430hsite
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jkutzsch
  • Date Created: 7 Jul 2017 5:41 PM Date Created
  • Views 959 views
  • Likes 3 likes
  • Comments 12 comments
Related
Recommended

Safe & Sound @ E14-CLEWE @#10_430hsite

jkutzsch
jkutzsch
7 Jul 2017

Posted by jkutzsch in Safe and Sound on Jul 5, 2017 11:44:00 PM

 


E14-C.L.E.W.E. INDEX:

#1_”The word.”

#6_Energia!

#2_”The Science.”

#7_Blog7

#3_"GPS decisions."

#8_GPS_Issues

#4_"GPS arrives!"

#9_GPS_Stalled

#5_"The box, the box!"

#10_43ohSite

                                                                             image

 

Okay as discussed in the last post I am still project blocked by a failure on my part to get the TI talking with the GPS.  Undoubtedly something simple but as of yet unknown.

 

I had found mention of someone else having similar issues and getting answers on the forum 43oh site.  It appears that basic browsing and searching without a user account will yield no information so here I will connect to that site.

 

image

 

Here we have the basic view once you have connected and NOT logged in with a user account.  Looks promising!

 

(Well Technically I would think the view would be the same even if you are logged in.)

 

 

image

 

Here we have the result of trying to go deeper into any of those interesting forums and not having an account.

 

If somewhere it states you need to have an account to view those threads I missed that in my excitement to discover a solution to my problem.  :-)

 

So lets follow the tested advice from rachaelp on registering and then the site opening up for access!

 

 

image

 

Ah the basics, time to sign up and get some more emails!

 

 

image

 

Oddly enough it didn't show it in the cut and paste but you do get a popup saying to check your email and confirm.  So off to my email and clickity click.

 

 

 

 

image

 

Tada.  I am now a registered user and and able to jump into the Energia subforum!  Woohoo!

 

image

 

Let's try doing a search on gps to see if that pulls up what I have been looking for and anyone else experimenting with it.

 

Nope 0 results found.  Hmm...

 

image

 

GSM?  Nope.

 

image

 

By the way, don't be too quick in your search efforts or else you get this!

 

So no go with searching.  Or at least with my new experience to their search options.  I did try using the author option and apply the gentleman's name that was talking about the problem on the other site but couldn't find that either.

 

image

 

So let's start browsing through the forum manually.  Only 1,524 topics available.  :-)

 

 

image

 

Wait what?  Why is this back?  I went to double check something while writing the blog...

 

Ah it seems that it has a super fast auto-logoff.  Sigh...

 

image

 

Not sure if they kick you at an hour or what.  You can see I am the newest member of an hour ago.

 

Okay.  End of the blog for now.  I will need time to browse those 1.5k topics.  :-)

  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 7 years ago +2
    It's worth checking the comments that people posted on your 7th blog. There are ways to verify if serial communication is working. Look at Jon's and mcb's posts in particular. You can use a loopback to…
  • jkutzsch
    jkutzsch over 7 years ago in reply to Jan Cumps +2
    Ah, I think you mean blog 8. I will have to try and figure out the best loopback option. I was actually using the offered com port code by Energia to test with, which kind of made me confused on why I…
  • Jan Cumps
    Jan Cumps over 7 years ago in reply to jkutzsch +2
    I'll do a check of the program you posted. I've got a bus pirate (useful when you want to do a quick test of a protocol) I've removed the TX and RX jumpers from the LaunchPad so that there's no contention…
  • Jan Cumps
    Jan Cumps over 7 years ago in reply to Jan Cumps

    Here's the evidence image

    image

     

    I've entered the word test in the serial monitor, with newline option created.

    That arrived at Serial().

    The sketch writes that further to Serial1().

    The sample of my logic analyser is that signal on Serial(1) P3.3.

    The UART analyser shows that the data came trough.

     

     

    I've also tested the other way around.

     

    image

    Pushed a few bytes into the Serial1() via Bus Pirate.

    The garbage is then , in the sketch, forwarded to Serial() (too lazy to look up ascii codes image ). The result is visible in the Monitor output.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 7 years ago

    Tested with the SerialPassthrough sketch:

    /*
      SerialPassthrough sketch
    
    ...
    
    
       Created 23 May 2016
       by Erik Nyquist
    */
    
    
    void setup() {
      Serial.begin(9600);
      Serial1.begin(9600);
    }
    
    
    void loop() {
      if (Serial.available()) {      // If anything comes in Serial (USB),
        Serial1.write(Serial.read());   // read it and send it out Serial1 (pins 0 & 1)
      }
    
    
      if (Serial1.available()) {     // If anything comes in Serial1 (pins 0 & 1)
        Serial.write(Serial1.read());   // read it and send it out Serial (USB)
      }
    }

     

    What you write via USB goes out via P3.3, what you write to P3.2 goes to USB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 7 years ago in reply to Jan Cumps

    I got some traffic when using Serial1:

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 7 years ago in reply to Jan Cumps

    According to this post, :

    Serial1 is the hardware pins 3 (RX) & 4(TX)  

    One can but try image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 7 years ago in reply to Jan Cumps

    So what is happening is:

    The energia Serial lib of the MSP432 uses UART 0.

    P1.2/UCA0RXD/UCA0SOMI

    P1.3/UCA0TXD/UCA0SIMO

     

    That is routed to the USB.

     

    So if you wire these two pins to your shield (edit: and remove the jumpers, certainly the one labeled RXD on the LaunchPad - if you leave the one marked TXd you may get away with it and have the additional advantage that traffic still goes to the USB), it should work:

     

    image

     

     

    Attention, 3V3 max !!

     

    Alternative, I think you can create a new HardwareSerial object with parameter 2.

    The standard lib creates an object for UART0 and UART1

    /*
     * Pre-Initialize Serial instances
     */
    HardwareSerial Serial(0, uartReadCallback, uartWriteCallback);
    HardwareSerial Serial1(1, uartReadCallback1, uartWriteCallback1);

     

    You'd have to create an additional one for uart #2 to get signals to 3.2 and 3.3

     

    Inspiration:

     

    https://github.com/energia/msp432r-core/blob/master/variants/MSP_EXP432P401R/SerialObjects.cpp

    https://github.com/energia/msp432r-core/blob/master/cores/msp432/ti/runtime/wiring/HardwareSerial.cpp

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube