Quantcast
Channel: Microcontrollers
Viewing all 226383 articles
Browse latest View live

Forum Post: MSP430FR2433: MSP430FR2433 getting issue while creating connecting with GUI composer

$
0
0
Part Number: MSP430FR2433 Other Parts Discussed in Thread: MSP430G2553 , Tool/software: I am trying to attach MSP430FR2433 with GUI composer, I am able to flash it, But after that it is trying to connect MSP430G2553, I have set part correctly to FR2433. But I am not able to understand why this is happening? Also When I try to install cloud agent on WINDOWS 11 then it fails, SO currently I am trying on Windows 10 machine. Did TI has cloud agent for windows 11? Thanks

Forum Post: MSP430F5438A: Issue with Variable Update in run time

$
0
0
Part Number: MSP430F5438A Tool/software: Hi, I am currently working with the MSP430F5438A controller. During runtime, a variable is not updating as expected. However, if I place a breakpoint or add a small delay inside the function, the code works correctly. I am trying to understand why this is happening. I have attached my code scenario, which runs inside a GPIO interrupt. In the example below, the variable "ok" is not updating in real time. Ideally, when the code executes, "ok" should be set to 1 , but instead, it remains 0 , which turns on LED2. Example Code: uint8_t ok = 0; if (P1IFG & BIT2) { P11OUT |= BIT2; /* LED 3 ON */ ok = 1; if (ok == 0) { P10OUT &= ~BIT3; /* LED 2 ON */ } P1IFG &= ~BIT2; } I would appreciate any insights into why this issue occurs and how to resolve it. Thanks & Regards, Anbu.

Forum Post: RE: MSPM0G3519: Live firmware update (LFU) examples

$
0
0
Hi, Wayne For the "reset", there are two condition: 1. Using reset to jump from boot code to app code when startup or update is finished. 2. Using reset to enable the dual bank swap feature, this reset is called by init_done function in boot code, this feature is related to customer security code. [quote userid="4952" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489306/mspm0g3519-live-firmware-update-lfu-examples"]Q1: As there are two flash banks, MSPM0G3519 should be able to do live firmware update (LFU) with reset and without reset. Is it right?[/quote] See description above. [quote userid="4952" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489306/mspm0g3519-live-firmware-update-lfu-examples"]Q2: Would you please show us where to get an example for live firmware update "with" reset? This is also called OTA update in the datasheet below.[/quote] https://dev.ti.com/tirex/explore/node?node=A__APjkYg9RWxwM6nRUc3InzA__MSPM0-SDK__a3PaaoK__LATEST BIM is for G3507. And CSC is for G3519 dual bank. For Dual bank handle, there is a internal demo for your reference. But, assert init_done will trigger reset. e2e.ti.com/.../G3519_5F00_Bank_5F00_Swap_5F00_Demo_5F00_V2.1.zip [quote userid="4952" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489306/mspm0g3519-live-firmware-update-lfu-examples"]Q3: Would you please show us where to get an example for live firmware update "without" reset? [/quote] Just directly jump from boot to app is OK, there is a jump example in BSL code: C:\ti\mspm0_sdk_2_04_00_06\examples\nortos\LP_MSPM0G3507\bsl\secondary_bsl_uart BSL is for image update and program to Flash, and BIM and CSC is for image management. Regards, Helic

Forum Post: RE: MCU-PLUS-SDK-AM243X: Enet Lwip ICSSG Example is not working

$
0
0
Thank you. The example is working fine.

Forum Post: RE: MSPM0G1519: TIMG12 capture using external 32MHz clock and external 1Hz latch signals

$
0
0
Hi, Bruce [quote userid="47378" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489254/mspm0g1519-timg12-capture-using-external-32mhz-clock-and-external-1hz-latch-signals/5719492#5719492"]The idea is that you (e.g.) bring the 1kHz signal (capture trigger) into C0, and the 32MHz (clock) signal into C1. Then you set CC1's ACOND=1 (rising edge of C1 pin) and set CTRCTL:CAC=1 to point to CC1's ACOND. After that it's a normal "period" capture on CC0.[/quote] That's a good idea and worthy to try. 32MHz control the counter advance and 1kHz control the counter clear. Hi, Daniel [quote userid="2740" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489254/mspm0g1519-timg12-capture-using-external-32mhz-clock-and-external-1hz-latch-signals"]he Technical Reference Manual (slau846b) states:[/quote] This part is a timer's clock source description. For G3519's TIMG12 clock source, you can choose BUSCLK, MFCLK and LFCLK. MFCLK can source from external HFCLK, but have max frequency limitation, and can not reach 32MHz. You can config this part in syscfg, clock tree view. Regards, Helic

Forum Post: RE: MSPM0C1104: Recommended Accelerometer for I2C or SPI connection for low accuracy/cost consumer application

$
0
0
Hi, Seems that you can searching for the accelerometer, I think this is not related to MSPM0 MCU device. And I will close this thread, you can search accelerometer in TI.com to check whether TI has any product that can meet your requirement. Zoey

Forum Post: AM263P4: SysConfig

$
0
0
Part Number: AM263P4 Other Parts Discussed in Thread: SYSCONFIG Tool/software: Hey, I am evaluating the SDK ADC example "adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang". The following combinations of SysConfig and SDK give compiled successfully. *SysConfig : 1.21.0 *MCU+ SDK for AM263Px : 10.0.0.35 However, the following combinations of the latest SysConfig and SDK give an error stating that the following PMIC driver is not defined. Please tell me how to solve this. (error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; ) *SysConfig : 1.22.0 *MCU+ SDK for AM263Px : 10.1.0.34 Thanks, T. Hirata [Error masage] Building target: "adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang.out" Invoking: Arm Linker "C:/ti/ti-cgt-armllvm_4.0.0.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -Os -DSOC_AM263PX -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"adc_burst_mode_oversampling.Release.map" -Wl,-i"C:/ti/mcu_plus_sdk_am263px_10_01_00_34/source/kernel/nortos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am263px_10_01_00_34/source/drivers/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am263px_10_01_00_34/source/board/lib" -Wl,-i"C:/ti/ti-cgt-armllvm_4.0.0.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang.out" "./adc_burst_mode_oversampling.o" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" -Wl,-l"syscfg/linker.cmd" -Wl,-lnortos.am263px.r5f.ti-arm-clang.release.lib -Wl,-ldrivers.am263px.r5f.ti-arm-clang.release.lib -Wl,-lboard.am263px.r5f.ti-arm-clang.release.lib -Wl,-llibc.a -Wl,-llibsysbm.a makefile:150: recipe for target 'adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang.out' failed undefined first referenced symbol in file --------- ---------------- PMIC_close ./syscfg/ti_board_open_close.o PMIC_configure ./syscfg/ti_board_open_close.o PMIC_open ./syscfg/ti_board_open_close.o error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang.out" not built tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [adc_burst_mode_oversampling_am263px-cc_r5fss0-0_nortos_ti-arm-clang.out] Error 1 makefile:146: recipe for target 'all' failed gmake: *** [all] Error 2 **** Build Finished ****

Forum Post: AM2434: Removing MUX before Ethernet PHY 2

$
0
0
Part Number: AM2434 Other Parts Discussed in Thread: AM2432 , DP83869 Tool/software: Hi team, I'm currently working with AM2432 + DP83822 PHY for Industrial communication This custom board was designed by taking AM243 LP as reference. In LP, MUX IC was connected between SoC and DP83869 in PHY 1 side for selection between CPSW and PRG lines. MUX_SEL pin is configured pulled high and low based on the requirement. As per requirement, we have removed the MUX IC and have taken PRG1_RGMII1 lines connected directly from SoC to PHY 1 EtherCAT Slave simple demo code uses PRG1 lines for communication(MUX SEL was not configured and it was pulled low by default) and currently we are using same for testing with DP83822 driver. PHY 2 is connected with PC(TwinCAT - EtherCAT protocol) and working fine. I'm having Issues connecting PC(TwinCAT - EtherCAT protocol) with PHY1. I tried different configuration for custom board and got PHY2 working after the below configurations Is MUX removal a issue? Do I need to configure anything in software for MUX removal in EtherCAT slave simple demo code? Regards, D. Jenita

Forum Post: RE: MSPM0C1104: Recommended Accelerometer for I2C or SPI connection for low accuracy/cost consumer application

$
0
0
Hi, wlcs For a I2C read write interface, you can get the demo code from here in MSPM0 SDK: C:\ti\mspm0_sdk_2_04_00_06\examples\nortos\LP_MSPM0G3519\demos\bq769x2_TIDA010247\Communications SPI driver can get from here: spi_controller_multibyte_fifo_poll C:\ti\mspm0_sdk_2_04_00_06\examples\nortos\LP_MSPM0C1104\driverlib Regards, Helic

Forum Post: RE: MSP430FR6043: Water Meter USS Configurations

$
0
0
Hey Dylan, Expected VFR (LPH) Actual VFR (LPH) 178.2 0 252.3 6.3 317.34 9.18 386.58 13.8 449.58 17.58 508.44 15.78 562.8 21.06 688.02 24.96 764.52 27.18 838.6229508 29.09508197 961.86 34.92 1072.2 36.36 1109.94 28.86 1184.22 40.26 1302.36 44.7 These are the recorded values for flowrates varying between approx. 175 LPH to 1300 LPH. The repeatability of each of these flows are also verified by flowing each flowrate 3 times. Since the values of Actual VFR are increasing linearly with little noise, should they be linearly fitted (y=mx+c) before inputted on the GUI for flow calibration? Here they (Actual VFR) seem off by a scaling factor. Then I input these values on the GUI for flow VFR calibration, it shows me errors (+/-25%) on all the flows except one or two flows where it is <1%. The acceptable error threshold for my use case is +/- 1%. I am using only one range (Range-01) for this calibration. Even after calibration, it is still detecting between 0 to 50 LPH when the expected flowrates are supposed be between 175LPH and 1300LPH. What parameter do I vary to fix this on calibration?

Forum Post: RE: MSPM0G3519: any optimized crypto libraries for the processor available? third-party?

$
0
0
Hello Matthew, thank you for the reply, i'm looking into ChaCha20 and ECC ciphers. since the MCU in question has h/w AES only - im looking for s/w realizations preferably optimized by utilization of h/w features

Forum Post: AM2634: AM2634 reset reason

$
0
0
Part Number: AM2634 Tool/software: Hi. The r5fss0-0 kernel of the AM2634 chip has a reset of Watchdog 0. Why do I read the value 67 from the register shown below? It should be 66. Please tell me what does the value of this register equal to 67 mean?

Forum Post: RE: EVM430-FR6047: Calculating V transducer spacing

$
0
0
Hi, Actually, I have nothing to share about. Since the distance between transducer is not used for calculation the time of flights result. And the distance is only used in estimate water temperature function. We do not pay much attention to this character. Why do you need to calculate the distance here? And for W type of pipe, I think it is hard to control the signal direction after multiply reflections. Best regards, Cash Hao

Forum Post: RE: TMS320F28388D: ADC interrupt to CLA Task Delay

$
0
0
Hi Delaney, I'm not using driberlib. I directly write to the GPDAT register using the regisers structures provided by TI. So the extra-delay must come from somewhere else. Regards, Adrien

Forum Post: RE: MSPM0G3507: how to create secondary BSL at location 0x00000000 and Jump to APP

$
0
0
Thanks Zoey, - Your firmware works very well with the current function. I have also made adjustments and tested and it's pretty good! - I noticed that the most significant and crucial difference lies in the DL_Timer_stopCounter() command and the SCB->VTOR setting (even though I already added it to Reset_Handler() in the startup file). But If I remove the DL_Timer_stopCounter(TIMER_0_INST) command, the program does not run correctly and becomes uncontrollable. - Based on your understanding, could you please provide some tips have to do or recommendations on this topic, especially when I apply FOTA to a larger project with more interrupts being used in both the Bootloader and the App? Best Regards, Son

Forum Post: RE: MSP430FR2476: After SoftBOR is generated programmatically, no breakpoints are possible at all.

$
0
0
I think it is impossible. The hardware breakpoints is controlled by Embedded Emulation Module (EEM). POR will reset almost all the registers. That means if CCS don't reconfigure the EEM, the breakpoints will disapper. Please try to use software breakpoints instead: __bic_SR_register_on_exit(CPUOFF); If this command is not work, you need to to add more breakpoints in CCS. When the hardware breakpoint souce is all used, it will use software breakpoints instead. For software breakpoints, it will rewrite part of the code, which will still exist after POR.

Forum Post: RE: CC430F5137: Unstable or non-working internal 10kHz clock?

$
0
0
OK, if any more support need, please let me know.

Forum Post: TMS320F28377D: negative voltage on pin

$
0
0
Part Number: TMS320F28377D Tool/software: Hi Expert, for F28379 gpio pin, there have negative voltage over -500mv, which exceed the -0.3V max spec, but the time only last 1ns, is it acceptable or any risk?

Forum Post: AM2434: Program will crash in Pcie_open when adding a PCIe driver in syscfg

$
0
0
Part Number: AM2434 Tool/software: Hi, we are working on FreeRTOS, when adding a PCIe driver, program will crash in Pcie_open(). Platform: AM243xEVM as RC SDK Version: ind_comms_sdk_am243x_09_00_00_03 Question 1: Is the configuration of Outbound address correct? What do Base Address and Target Address refer to respectively? Question 2: Due to Pcie_open() is in SDK and cannot be debugged into. Is there any method to investigate the reason of program crash? Question 3: MPU ARMv7 configuration as right picture, is there any correlation between the configuration of MPU REGION and PCIe?

Forum Post: RE: MSP430FR2433: MSP430FR2433 getting issue while creating connecting with GUI composer

$
0
0
Do you mean that GUI composer works on Win10 not Win11? Can you catch the UART signal on the EZ-FET to MSP430? That can help to know what happens.
Viewing all 226383 articles
Browse latest View live


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