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

Forum Post: RE: CCS/TMS570LS1224: Trace issue when executing code from RAM

$
0
0
I have made some progress. I have a small test function that I call to test the erase & programme functions. as shown below : U32 Result; U8 MyData[128]; memset(MyData, 0, sizeof(MyData)); memcpy(MyData,"Hello world/n", strlen( "Hello world/n") ); Result = Fapi_BlockErase( 0, FMDS_IMAGE_START, 0x10000); Result = Fapi_BlockProgram(0, FMDS_IMAGE_START, (uint32_t)(MyData), sizeof(MyData)); return (S32) Result; I added this function to bl_flash.c (at the end of the file). I have just moved the code to the start of the file and I no longer get the ETM error, but the code is hanging in FAPI_BlockErase () in the while loop that checks for Fapi_Status_FsmBusy.

Forum Post: RE: CCS/DRV8312-69M-KIT: Problem in running in lab13-A

$
0
0
1. Make sure the motor parameters and inertia of the motor have been identified by lab02b and lab12a, both labs should run well first. 2. Please check if the number of encoder lines is set correctly in user.h 3. Please check if the ST_EREV_MAXIMUM is set properly which must be between 0.0 to 1.0. Check the configuration in the following functions according to the error ID. // setup the SpinTAC Components ST_setupPosConv(stHandle); ST_setupPosCtl(stHandle);

Forum Post: RE: TMS320F28027F: f27027_flash_kernel with CSM unlock

$
0
0
Can I close this thread? Is your issue resolved?

Forum Post: RE: MSP430FR2633: Sample Capacitor = Reference Capacitor?

$
0
0
Hello Peter, thank you for your fast reply. I'm actually trying to find a way to measure (or at least estimate) the capacitance of an electrode and the reference capacitors now seem to be just what I need. I initially wanted to use the sample cap for this, but if you say that its capacitance is not specified, I will drop that idea. Also is there a reason why the reference caps are so much smaller in mutual capacitance mode in comparison to self capacitance mode? Best regards Canbey

Forum Post: RE: TMS320F28379D: What is impedance of compare input?

$
0
0
Hi Krzysztof, Your divider values should be fine. The comparator input is high impedance. For all practical purposes, the input is high-z.

Forum Post: RE: CCS/MSP432P401R: IoT Project

$
0
0
You will need to rip out all the Energia code and replace it with equivalents from TI. Look at all the examples for the various functionalities, like SPI for example.

Forum Post: RE: TM4C1294NCPDT: 100Base-TX Full Duplex Auto MDI-X problem

$
0
0
Hi, 90 seconds certainly is not expected. Doesn't your partner support Auto-MDI-X? Can you try below? Do you see any differences? EMACPHYConfigSet(EMAC0_BASE, EMAC_PHY_TYPE_INTERNAL | EMAC_PHY_INT_MDIX_EN | EMAC_PHY_AN_100B_T_FULL_DUPLEX); or EMACPHYConfigSet(EMAC0_BASE, EMAC_PHY_FORCE_100B_T_FULL_DUPLEX | EMAC_PHY_INT_FAST_MDIX | EMAC_PHY_INT_MDIX_EN);

Forum Post: RE: CCS/TMS320F28335: Invalid redeclaration of type name after CCS6 -> CCS8 migration

$
0
0
Freddy, I just noticed that the error is caused by the type Int8, which is not guarded by xdc__strict in xdc/std.h. I don't know which version of F2806x_Device.h you are using, but from what I have it seems that F2806x_Device.h guards Int8 with _TI_STD_TYPES, and xdc/std.h defines _TI_STD_TYPES only when xdc__strict is NOT defined. So, when xdc__strict is defined, Int8 is defined in xdc/std.h, _TI_STD_TYPES is not defined, and then Int8 is defined again in F2806x_Device.h. When xdc__strict is not defined, Int8 is defined in xdc/std.h, _TI_STD_TYPES is defined, and then Int8 definition in F2806x_Device.h is skipped over. I think you should try not defining any of the macros mentioned above, but I would also like to see the initial part of your main.c, where all header files are included.

Forum Post: RE: TMS320F280049 ECAP OVERFLOW not set in CAP continuous mode though seen on overflowing on debugger

$
0
0
Hi PA, Glad to hear you have everything working! Let us know if you ran into anymore issues.

Forum Post: RE: CCS/MSP430FR2355: SPI and NRZ Data

$
0
0
Hi Yu, Thank you for replying. Do you know which pin in MSP430fr2355 can send NRZ data? I guess normal GPIO can't send NRZ data, right?

Forum Post: RE: Compiler/MSP430G2553: CCS/ infoB

$
0
0
I am getting the above error when I tried to debug the code. Nitish

Forum Post: RE: TM4C123GH6PM: Thread locked

$
0
0
There is another flash programmer (DFUprog) found in Tivaware library tools folder an Visual Studio C++ project that compiles to exe. You can modify it in VS or perhaps it will support daisy chain with input from a CMD script.

Forum Post: RE: TM4C1294NCPDT: enet_s2e Data Is Bursty, What Determines UART & Telnet Buffer Send or Flush Times

$
0
0
Hello Charles, Thank you for the suggestion to look at the UART buffer. I have not had a chance to look at the UART FIFO and understand how I might change it. I have been out of office for several days due to ilness (Flu) and am just now back. I have a back log of items to clear before I can get back into examining the code at this point so It may be a few more days. Thanks for the insight. Forrest Lee Erickson

Forum Post: RE: TM4C123GH6PM: Thread locked

$
0
0
This is becoming off topic. I don't mind trying - i just don't understand and seems complicated and time consuming for the intentions i have. But why Pearl? why not shell scripting? I've created simple scripts to run simple stuff for repeating tasks or boot tasks. I am no software guy. I learned what i needed from linux for microcontroller development (firmware. not software) - C, gcc and gdb! So i stick with for me is simpler - hacking existing hardware to validate a possibility instead of buying expensive tools just for the sake of testing. BTW - dslite works

Forum Post: RE: Compiler/MSP430G2231: Push Button doesn't change LED state

$
0
0
Hi Jucima, probably the reason for the malfunction is the fact, that you're not defining, whether you want the resistor at P1.3 be a pull-up or a pull-down. Please keep in mind, as you have recognized, the output register bit is defining the pull direction. But the output register bits are not defined on reset or power cycle. So the state of the resistor with your code is pure coincidence. You need to initialize the P1OUT BIT3 respectively as needed with your HW. Best regards Peter

Forum Post: RE: CCS/CCSTUDIO-C2000: CCSTUDIO-C2000

$
0
0
Muhammad, I would look at the support page on Blackhawk's website; there's the detailed install guide, but I think you want the Quick Start for LAN(assuming you are connected via etherNET and not USB) https://www.blackhawk-dsp.com/support/docs#BH-LAN-560 (product page) https://www.blackhawk-dsp.com/downloads/docs/guides/Lan560-QSe-04.pdf (eNET mode QSG) Best, Matthew

Forum Post: TMDSHVMTRPFCKIT: Conversion to TI per-unit.

$
0
0
Part Number: TMDSHVMTRPFCKIT Hi All, I want to control an asynchronous machine using the High Voltage Motor Control and PFC Developer's Kit TMDSHVMTRPFCKIT. My question is about the per unit conversion formula, how I could convert my simulation parameters (Ki, Kp, Umax, Umin, ... etc) to the TI per unit for all the projects in the controlSUITE ? // Initialize the PI module for speed pi_spd.Kp=_IQ(2.0); pi_spd.Ki=_IQ(T*SpeedLoopPrescaler/0.5); pi_spd.Umax =_IQ(0.95); pi_spd.Umin =_IQ(-0.95); // Initialize the VHZ_PROF module vhz1.LowFreq = _IQ(0.2); vhz1.HighFreq = _IQ(0.5); vhz1.FreqMax = _IQ(1); vhz1.VoltMax = _IQ(0.95); vhz1.VoltMin = _IQ(0.2); It is possible to use the TMS320F280049C or the TMS320F28377 with the TMDSHVMTRPFCKIT Development Kit ? Thanks in advance, S.Tarik,

Forum Post: CCS/MSP432E411Y: MDIO Interface doesn't work

$
0
0
Part Number: MSP432E411Y Tool/software: Code Composer Studio Hi Team, I'm using MSP432E411Y-BGAEVM to communicate with the PHY DP83TC811SEVM via MDIO Interface. But it seems doesn't work. I set 811PHY to RMII Master Mode and changed it's PHY ID to 0x1 by hardware bootstrap, and connected it to MSP432E411Y through RMII Interface. Then i used the SimpleLink MSP432E4 DriverLib API code to read and write the register value of the external 811PHY in CSS. The result was always 0x0000FFFF, when i tried to read the register like the picture. That means the MDIO Bus is always high and Idle. I just wanna ask, what could cause this and how should I do to make it work? Many Thanks. Regards, Zhouyang Liu

Forum Post: CCS/TMDSHVMTRINSPIN: code composer for BLDC Sensor less

$
0
0
Part Number: TMDSHVMTRINSPIN Tool/software: Code Composer Studio Hello all, i have the controller card F2806 installed on the kit TMDSHVMTRINSPIN i would like to load a BLDC sensor less for my LG washer Machine motor , i found in the examples a BLDC sensoless but when i build it it give me error that XDIAS is not installed and not compatible , how can i fix that ? i have 2 cards came with the kit the F2806 and F2802 if you can explain please each card what can i control with ? and do i need to flash the controller with a BLDC sensoless to make it work with my LG washer machine motor or i can do it with the gui of the InstaFOC ? thanks

Forum Post: C2000WARE: C2000

$
0
0
Part Number: C2000WARE i am using f28335 experimental kit. i used psim to and ccs to run the code. the problem is i when i only connect oscilloscope around GPIO. it shows with some noise. but the pulse should be around GPIO and ground when i do the same its shows zero. moreever it has lot of noise
Viewing all 235684 articles
Browse latest View live


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