Other Parts Discussed in Thread: MSP430G2553, CONTROLSUITE
Hello,
I am trying to figure out how exactly I need to program the MSP430G2553 via UART & BSL. Per this thread and the datasheet the pins used for UART and the pins used for BSL are different. This is completely counter intuitive to me, so I wanted to confirm that this is indeed how I should be interpreting these sources.
The datasheet for the chip presents that:
- P1.1 = UART Rx
- P1.2 = UART Tx
The datasheet for the BSL presents:
- P1.1 = UART Rx
- P1.2 = UART Tx
This post posits:
- P1.1 = BSL Tx
- P1.5 = BSL Rx
and a source that I can't seem to find now agreed with the third set from the post.
This source says on page 39 that:
- P1.1 = Tx
- P2.2 = Rx
As you can imagine I'm having quite a time of identifying what exactly I'm getting into. The specific MSP430 chip I want is here.
I have an RN42 bluetooth (UART driven) module that I will be integrating with the project. My original hope was to be able to program wirelessly (after toggling the proper TEST/RST pins by a mechanical switch). For this to work I really need the UART Rx/Tx pins to align with the BSL Rx/Tx pins.
I have several questions:
- Which of the various pin outs should I be considering?
- If the pins do not align correctly I am imagining an additional mux might be possible. Thoughts?
- Is there a BSL tutorial out there somewhere for the MSP340G2553 with UART BSL loading? (Full tutorial start to finish from both microcontroller and PC/programmer perspective would be fantastic.
- Does CCS/ControlSuite have MSP430 examples? I can't seem to find them in the software.
Thanks!