Part Number: TMS320F280049 Tool/software: I got the following warning: #3195-D (Performance) EABI double precision is 64-bits as opposed to 32-bits for COFF. Consider changing doubles to floats for improved performance in FPU32-mode. Here is my code: b += sprintf( b, " readback: %f\r\n", getTarget() ); and the here is the called function float32_t getTarget(void); The warning disappear only writing a constant link here b += sprintf( b, " readback: %f\r\n", 3.5f ); I am using Code Composer Studio Version: 12.8.1.00005 and the default setting (fpu32) What can I do? Thank you in advance
↧
Forum Post: TMS320F280049: #3195-D (Performance) EABI double precision is 64-bits as opposed to 32-bits for COFF. Consider changing doubles to floats for improved performance in FPU32-mode.
↧
Forum Post: RE: AM263P4: How To "Update The Calibration"?
Agreed Kier, EEPROM would be much simpler solution as compared to the later one. please let me know if there are any further questions
↧
↧
Forum Post: LP-AM243: LP-AM243
Part Number: LP-AM243 Tool/software: Hi, I have AM243x-LP and modified sample code. "C:\ti\motor_control_sdk_am243x_09_02_00_09\examples\position_sense\bissc_diagnostic\single_channel\am243x-lp" for Biss-C encoder. I use one motor and debug r5fss0-0. In "setting.h" there is the following definition #define ISR_PRD_IN_SECONDS 0.00002 /* 50KHz @ 1x update is 20us */ and I think "ISR_PRD_IN_SECONDS" is also the update time of "pruEncoderIrqHandler" routine. If a change PWM frequency " #define APP_EPWM_OUTPUT_FREQ ( APP_EPWM_OUTPUT_FREQ_50K ) /* init freq */" to "#define APP_EPWM_OUTPUT_FREQ ( APP_EPWM_OUTPUT_FREQ_20K ) /* init freq */" should I change ISR_PRD_IN_SECONDS value to 0.00005 ? Regards, Vedat
↧
Forum Post: RE: TIDM-02014: Mechanical enclosure details
Hi Shashank, Thank you for reaching out. The mechanical enclosure comes from Wolfspeed, therefore TI cannot provide it. Kind regards, Ivana
↧
Forum Post: TMS320F28377D: ADC Macro Issue
Part Number: TMS320F28377D Tool/software: Dear TI, I have a client who uses a macro to compute an ADC value. However, I am encountering unexpected behavior between two boards that utilize the same DSP. On revision A, the macro executes correctly, and the corresponding physical values are computed accurately. When flashing the same code onto revision B, the CPU no longer outputs the expected values and instead returns 0. Changing this macro significantly impacts the codebase because it is extensively used throughout the application. Therefore, it is critical to confirm that the macro itself is causing the issue before proposing any modifications to the client. To investigate further, I manually computed the ADC values in revision B using the conversion coefficients to determine if the macro was incorrectly executed. The manual calculation confirmed that the ADC values are accurate and correctly transmitted to the application. Your support in diagnosing and resolving this issue would be greatly appreciated. Best regards, #define Analog_ReadPhy(channel) ANALOG_CLAMP((float32_t)(Analog_Read(channel)*Analog_Trim[Analog_##channel].Coef_A)+Analog_Trim[Analog_##channel].Coef_B,Analog_Trim[Analog_##channel].MinPhyValue,Analog_Trim[Analog_##channel].MaxPhyValue)
↧
↧
Forum Post: TMS320F28P659DH-Q1: SINGLE_ERR_INT and uncorrectable error interrupt in 28P65 PIE
Part Number: TMS320F28P659DH-Q1 Tool/software: Hi experts, Good day! I could not find SINGLE_ERR_INT and uncorrectable error interrupt in 28P65 PIE. But in F280049 TRM, I could find FLASH_CORRECTABLE_ERROR and RAM_CORRECTABLE_ERROR. Could you help to check this? Thanks! Best Regards Kita
↧
Forum Post: RE: MSP430FR6043: How to DSPLIB GUI set 900K~1.1M for bandpass filtering
Hi, qq This is an example for GUI. You can use DSPLib to generate the FIR code for MSP430. If sampling frequency FS is limited by Gui Tool. You can use Matlab. All FIR coefficients can be generated using Matlab and replace them into the source code. Regards, Helic
↧
Forum Post: RE: AM2434: am2434
[quote userid="555359" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1485945/am2434-am2434/5712990#5712990"]Function called without core lockASSERT:[/quote] This issue indicated you are not using locking and unlocking during LwIP APIs usage. C:\ti\mcu_plus_sdk_am243x_10_01_00_32\source\networking\enet\core\examples\lwip\enet_cpsw_udpclient\app_main.c static void App_allocateIPAddress() { sys_lock_tcpip_core(); for (uint32_t i = 0U; i < ENET_SYSCFG_NETIF_COUNT; i++) { dhcp_set_struct(g_pNetif[NETIF_INST_ID0 + i], &g_netifDhcp[NETIF_INST_ID0 + i]); const err_t err = dhcp_start(g_pNetif[NETIF_INST_ID0 + i]); EnetAppUtils_assert(err == ERR_OK); } sys_unlock_tcpip_core(); return; } Regards Ashwani
↧
Forum Post: AM263P4: "post-build" fails on examples in sdk 10.1.0.34
Part Number: AM263P4 Tool/software: Hello All, I am trying to run examples from SDK ver 10.1.0.34 on CCS 12.8.1 However i encounter a post-build failure. (Please see screenshot) How can i resolve this. Thanks a lot, Arjun.
↧
↧
Forum Post: RE: AM263P4: "post-build" fails on examples in sdk 10.1.0.34
Hi Arjun, Please make sure you have installed the dependency python modules listed in requirements .txt file in SDK
↧
Forum Post: RE: AM263P4: "post-build" fails on examples in sdk 10.1.0.34
Listing it out here on this thread: bcrypt == 4.2.1 cffi == 1.17.1 construct == 2.10.70 cryptography == 2.8 paramiko == 2.9.3 pycparser == 2.22 pyelftools == 0.31 PyNaCl == 1.5.0 pyserial == 3.5 six == 1.16.0 tqdm == 4.67.1 xmodem == 0.4.7
↧
Forum Post: RE: AM2434: Program will crash in Pcie_open when adding a PCIe driver in syscfg
Hi baohua wang , Thanks for your query. [quote userid="645877" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489439/am2434-program-will-crash-in-pcie_open-when-adding-a-pcie-driver-in-syscfg"]Platform: AM243xEVM as RC[/quote] What is the use case? You are working on AM243x(RTOS)- RC AM243x(RTOS)-EP or something else ? [quote userid="645877" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489439/am2434-program-will-crash-in-pcie_open-when-adding-a-pcie-driver-in-syscfg"]SDK Version: ind_comms_sdk_am243x_09_00_00_03[/quote] Why are you using Industrial com SDK ? You can refer AM64x MCU+ SDK: PCIE EP Enumeration Regards Ashwani
↧
Forum Post: RE: AM263P4-Q1: enet_lwip_cpsw sample not working (different board and SDK versions)
Hi Shaunak, Unfortunately, they tried connecting to both parts, but could not establish a connection. Is it possible to use Ethernet on the device with static IP? ========================== ENET LWIP App ========================== EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:0 From 4 To 2 Open MAC port 1 EnetPhy_bindDriver: PHY 3: OUI:080028 Model:0f Ver:03 'DP83869' : OK Open MAC port 2 EnetPhy_bindDriver: PHY 12: OUI:080028 Model:0f Ver:03 'DP83869' : OK PHY 3 is alive PHY 12 is alive [0]: Starting lwIP, local interface IP is 192.168.1.200 [LWIPIF_LWIP] NETIF INIT SUCCESS Host MAC address-0 : 70:ff:76:1f:6a:34 Host MAC address-0 : 70:ff:76:1f:6a:35 [LWIPIF_LWIP] Enet has been started successfully [0]status_callback==UP, local interface IP is 192.168.1.200 UDP server listening on port 5001 Cpsw_handleLinkUp: Port 1: Link up: 1-Gbps Full-Duplex MAC Port 1: link up [0] link_callback==UP 5. 79s : CPU load = 4.02 % Cpsw_handleLinkUp: Port 2: Link up: 1-Gbps Full-Duplex MAC Port 2: link up Best regards, Mari
↧
↧
Forum Post: RE: AM2634: ROM symbol for debug
Yes, my guess is the also application is going into some abort handler, that's why I am asking for the symbol to see what abort handler it is. When you said the ROM code goes out of context, do you mean the 0x1368 has nothing to do with abort handler? Their application is battery management, which includes a CAN Communiation function. It is a new CAN frame receive event that would trigger the application to goes to the above code.
↧
Forum Post: AM263P4-Q1: CAN Bus Off
Part Number: AM263P4-Q1 Tool/software: Hi Team, My customer has a question about CAN Bus Off. In order to recover from bus off state, I assume that the hardware automatically does the initialization/recovery. If it is not HW based control, could you tell me what is the SW control flow? Is there some SDK documentation and example to give my customer? Best regards, Mari Tsunoda
↧
Forum Post: RE: MCU-PLUS-SDK-AM243X: EtherCAT Error Counters
Hi Aaron, [quote userid="550875" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1476552/mcu-plus-sdk-am243x-ethercat-error-counters/5696396#5696396"]Can you monitor RX_ERR pin from the PHY during the tests or monitor RX_ERR counter register of the PHY (0x15 offset in TI PHYs).[/quote] We monitored the RX_ERR pin as you suggested, however no signal was visible at the Oscilloscope at time of testing. We have also monitored the RX_ERR counter register using MDIO_phyRegRead method located mdio_v0.c . The method as called from Mainloop located in ectappl.c. The counter value was 0, when we stop the program read the counter value. However, when place a breakpoint inside MDIO_phyRegRead method we notice some value in RX_ERR counter. We could not figure out the meaning of the value. The value was not same with the value read at Codeysys. [quote userid="550875" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1476552/mcu-plus-sdk-am243x-ethercat-error-counters/5701857#5701857"]Meanwhile, can you also share the value in ESC registers? I’m referring to the values in the memory space 0x30090000 to 0x30090ECF.[/quote] I have attached the memory value here e2e.ti.com/.../ESC_5F00_registers_5F00_0x30090000_5F00_0x30090ECF.zip . Thank you so much Best regards Shahin
↧
Forum Post: AM263P4-Q1: Debug Log Change Saved Location from SRAM or Reduce Size
Part Number: AM263P4-Q1 Other Parts Discussed in Thread: SYSCONFIG Tool/software: Hi Team, Is there a way to configure in sysconfig to NOT save the debug log in shared memory? If it is not possible to do this, is there a way to reduce the size of the debug log saved on shared memory? Best regards, Mari Tsunoda
↧
↧
Forum Post: RE: RM57L843: RM57L843:
Can I know which latest version of CCS is supporting for hercules family and what are the libraries need to install for hercules.
↧
Forum Post: RE: TMDS243EVM: TMD243EVM Out of the box example
Hi Anil, have you any news about the problem? Thank you Regards Giuseppe
↧
Forum Post: MSPM0G3519: MCAL_MSPM0_00.02.04.00
Part Number: MSPM0G3519 Tool/software: Hello, I am trying to do the MCU configuration with Config Variant as 'VariantPreCompile', But when I integrate EB Tresos generated files in build environment, I am getting following error: It seems that MCU_INIT_CONFIG_PC is not generated. What could be the reason. Also, when I try with "VariantPostBuild" option for MCU, and If I uses Mcu_Init(&McuModuleConfiguration); in initialization sequence then execution goes into reset_handler.
↧