This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR50431: MSP430FR50431 - Reading registers

Part Number: MSP430FR50431
Other Parts Discussed in Thread: MSP430FR5043, , MSP430WARE

Hi !

We have a Custom Ultrasonic Board that contains MSP430FR5043 for our use of Clip-on water readings.

I want to use the values ​​of flow values, and data of the ADC.

I will make myself clear there is a logging option and then it exports information about the UPS DNS signal to me.

Which registers do I need to contact in order to export the information of the ADC?  i add what i find .

Which register should I contact to get information about the flow data?

  • Hi Ido,

    We do not have commands available to collect the ADC capture information, as the MSP430 processes the ADC capture information and outputs the DToF, AToF, etc. and it was not anticipated that customers would want to export the ADC captures in production. Please review chapter 34 of the device family user's guide to see the registers associated with the ADC. You will be able to access the ADC result register in your application code and send that out with the communication peripheral of your choice in your design.

  • With the help of the Logging ADC file, I can identify if it is a good signal or not.

    So I didn't understand well enough, you claim that it is impossible to do this by command - so what are the commands I sent?

    And what way do you suggest to get the information about the ADC?

  • I think I misunderstood when you said you are using a custom board and you are using logging:

    Are you saying you are currently using the EVM430FR6043, or EVM430FR5043, connected to the USS GUI, to perform the automatic logging?

    In your original question, I thought your were saying that you are using custom hardware currently. When using custom hardware, unless you've implemented the HID bridge functionality, you won't be able to perform data logging in the same way as before. If you have implemented and programmed the HID bridge to process the traffic between your PC and the MSP430, you would be able to do so, but I assume this is not the case. Please correct me if I am wrong.

    If you are using custom hardware and you'd like to view the ADC capture information using the template example code, you would need to save the ADC capture data manually, and output it using UART or another serial communication interface.

  • I meant that I am currently using EVM430FR6047 but I am planning a custom board
    That's why I ask because by using USS I can easily export the information about the ADC capture


    And what I'm trying to understand is which command do I need to send and which register in the MSP to get this information (we will use the MSP430FR50431)?

  • On your custom hardware, you will not be able to use the same command structure as shown in your screenshot, as you will not have the HID bridge on your custom device. You will need to manually save and transmit this data from your MSP430FR50431. If you'd like to go this route, I'd encourage you to look at the ADC examples in the MSP430Ware SDK, which can be found at [SDK install path]\msp430ware_3_80_14_01\driverlib\examples\MSP430FR5xx_6xx\adc12_b. You may also want to look at some of the I2C, UART, and SPI examples to learn how to transmit the data out. These can all be found in [SDK install path]\msp430ware_3_80_14_01\driverlib\examples\MSP430FR5xx_6xx. 

    As for which register you need to read in the MSP to get this information, you can find that information in the above examples, or if you visit the device family users guide and datasheet you can find the ADC base address and register offsets in order to find the address yourself and read it manually. The device family users guide will show you the register address offsets, and the datasheet will show you the ADC peripheral's base address.

**Attention** This is a public forum