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

Forum Post: RE: LAUNCHXL-F28069M: F28069M USB serial device

$
0
0
Hi Shijo, [quote userid="96039" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1049133/launchxl-f28069m-f28069m-usb-serial-device/3884405#3884405"] Based on the above diagram, we only requires a 100K resister and the USB cable for make it work? The diodes are internal to the controller and are enabled by default? [/quote] That's right, the ESD diodes shown are internal to the device GPIO. [quote userid="96039" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1049133/launchxl-f28069m-f28069m-usb-serial-device/3884405#3884405"]2. When the above examples are used, the F28069 device will be detected as a USB to serial device? Like a USB to serial convertor. So that we can open any serial terminal like putty and send/receive data from F28069?[/quote] Yes, that's essentially right. The virtual serial port for the 'usb_dev_bulk' example is just for display messages from the application, it demonstrates bulk data transfer as well. Suggest reviewing the comments at the top of the main .c example files for a description of the application. [quote userid="96039" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1049133/launchxl-f28069m-f28069m-usb-serial-device/3884405#3884405"] 3. For connecting from the Windows 10, weather we need to have different driver files? Already some driver files are available in the folder C:\ti\C2000Ware_3_04_00_00_Software\utilities\windows_drivers These drivers will work for Windows 10? [/quote] I'm not certain if they work on Win10 by default. If not, see the E2E below for a potential fix. https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/619710/tms320f28062-usb-drivers-for-bulk-mode-on-windows-10 [quote userid="96039" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1049133/launchxl-f28069m-f28069m-usb-serial-device/3884405#3884405"] 4. The controller is used as USB device mode? In this case, the VBUS connection to the controller is necessary? Only the D+ and D- connection are sufficient? [/quote] Recommend reading section 17.2.4 'VBus Recommendations' in the f2806x TRM doc. I don't believe V_BUS monitoring is required in your case. Best, Kevin

Forum Post: RE: TMS320F28377S: Flash API Fapi_doVerify fails

$
0
0
Hi Anu, thank you for your reply. Your suggestion solved the problem. My software was structured in such a way that I had to rely on the pointer. I will then be able to solve the problem with a structural change to the software. Thanks again! Best regards, Simon

Forum Post: RE: MSP430FR2433: No connection PIN (NC) - BGA

Forum Post: RE: TMDSCNCD28388D: pto_abs2qep Example can not run from flash

$
0
0
Hello, Please take a look at this FAQ. It describes the steps to convert a RAM-only program to one that is stand-alone along with some debug tips. https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/878674/faq-flash---how-to-modify-an-application-from-ram-configuration-to-flash-configuration Regards Lori

Forum Post: TMS320F280049: InstaSPIN

$
0
0
Part Number: TMS320F280049 Dear Team, I am working on a project for controlling an EC motor. I want to use the InstaSPIN library and decided to use the TMS320F280049C microcontroller. But there is also another chip, the TMS320F280049 (without the 'C'). As far as I can tell from the datasheet, is the only difference between those two that the F280049C grants access to the on-chip ROM and the included InstaSPIN library while the F280049 doesn't. According to the "MotorControl SDK InstaSPIN Lab Guide" is most of the InstaSPIN code provided open source and can be used from user RAM. Only the FAST observer stays closed source and can only be used via the ROM. So I should be able to use the TMS320F280049 as long as I do not need the FAST observer... Is this right or am I missing something? Kind regars, Robin

Forum Post: RE: TMDSECATCNCD379D: SPI peripheral interface data transmit and receive error

$
0
0
Hi, Veena: The TI device does not operate as a slave. Could the TI device have a Silicon Errata condition? The spi instance in drivelib didn't run as a slave either. (Failed to send data to STM32F master device.) Thanks, Sinan.

Forum Post: RE: TMS320F28379D: FLASH writing in standalone mode

$
0
0
Hello Anu, I changed the order of the functions, like from the flash_programming_cpu01 example. It doesn't solve the issue. It's really linked to the Flash API functions. Regards,

Forum Post: RE: TMS320F28388D: McBSP RRDY flag not set as I expect

$
0
0
Hi, It seems to me that RRDY is set when new data are received in moment when RRDY is equal to 0. So: Case A: 1) Send data1 -> RRDY is set 2) Read data1 -> RRDY is cleared 3) Send data2 -> RRDY is set 4) Read data2 -> RRDY is cleared Case B: 1) Send data1 -> RRDY is set 2) Send data2 -> RRDY remain set 3) Read data1 -> RRDY is cleared 4) send Data3 -> RRDY is set, data2 which was not read yet is lost , replaced by Data3 in DRR1 5) Read data3 -> RRDY is cleared

Forum Post: RE: TMDSHVMTRPFCKIT: Replacing shunt resistance in phase current sensing circuit and observing the phase current shape

$
0
0
It is due to the fact that sensed signal magnitude drops down to that of noise.

Forum Post: RE: LAUNCHXL-F28069M: F28069M USB serial device

$
0
0
Hi Kevin, Thanks for the response. Does the USB peripheral requires external oscillator to work.? External crystal is not connected in the F28069 Launchpad which we are using. When the example code executed, the code stuck SysCtrlInit @ while(!SysCtrlRegs.PLL2STS.bit.PLL2LOCKS); Regards, Shijo Thomas

Forum Post: RE: TMS320F28379D: GPIO setting during program download.

$
0
0
Thanks a lot. That helps. I guess adding appropriate external pull up ( or pull down ) resistors at the gpio would then be sufficient for defining the startup state of every GPIO right? I was trying to find this information in the technical reference manual but I wasnt sure where to look for it. Thank you, Aditya

Forum Post: CCSTUDIO-C2000: Question about hex2000

$
0
0
Part Number: CCSTUDIO-C2000 Dear team: My customer generated a .hex file use hex2000, but he has some doubts about the format of hex file: :047FF600007F55E3D0 :00000001FF The above is the last second line of the hex file generated by CCS, Does this line of code mean to write 0x00 3F4FCA in 0x3F7FF6 address? If yes, 0x3F7FF6 is the address of CodeStart. What is 0x00 3F4FCA mean ? Best regards

Forum Post: TMS320F280025: Just internal test mail list, no need reply

$
0
0
Part Number: TMS320F280025 Just internal test mail list, no need reply

Forum Post: RE: TMS320F28035: PWM external sync leads to continuous HIGH level

$
0
0
Alexis, This is the intended operation of the PWM module. The CMPx comparison with the TBCTR is an "equal to" comparison not a "equal to or greater than" comparison. There are a few things that can be done to avoid this issue. Synchronized PWMs should always be synchronized by the slowest PWM period. This avoids continuous, forward jumping, discontinuities as you have shown in your diagram. Avoid syncing near your compare events. Detect in SW and use the SW force sync if you are synchronizing near your CMPx value. Are you using external sync to synchronize two c2000 devices? Why is your TBCTR value jumping every period? Are you synchronizing at a period shorter than your configured PWM period? Do you need continuous synchronization? Many applications can synchronize once and then be OK, this depends on clock drift and other factors. Regards, Cody

Forum Post: MSP432P401R: Cannot connect to target after loading wrong code

$
0
0
Other Parts Discussed in Thread: SEGGER Hi, After loading a piece of code on the target (MSP432P401R), I can't connect to it anymore. This board was working perfectly with another set of code. Both JTAG emulators I own (XDS110 or Segger J-Link) give me the same target connection error. The code I loaded was an almost empty piece of code with just the minimum board config (like the clock) and a few pins defined for testing the UART module. I tried the " Factory Reset Without Password" steps from doc SLAU575K (Code Composer Studio IDE for SimpleLink MSP432 Microcontrollers), but this doesn't work either, it fails at the "Connect Target" step. After that I can't execute any GEL script since I'm not connected to the target. I tried with both JTAG or SWD options for the target configuration. Before I start replacing the MSP432 chip on this board, can anyone think of any other steps I can perform to unlock this chip? Thanks, Stephane

Forum Post: RE: TMS320F280049C: SCI cannot send and receive data

$
0
0
Hi Johnson, Thanks for your question! I actually have a detailed guide that should be able to at least narrow down the issue you are seeing to hardware/software/config/system, that way we can dig into what the root cause is for this. Just to let you know my initial gut feeling on this, I believe this is likely a GPIO Mux configuration issue (where the GPIO mux needs to be changed to SCI for the given pins, as it is GPIO by default). The page I link may even be able to solve it for you immediately, but we'll debug anything you find after stepping through it. But you can see the full list of problem scenarios in this page: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1031947/faq-my-c2000-sci-is-not-transmitting-and-or-receiving-data-correctly-how-do-i-fix-this Please let me know (1) if you can provide scope captures during the failure scenario, and (2) which of the issues in the above link most similarly mirrors what you are seeing. Regards, Vince

Forum Post: TMS320F280049C: How to make I2C send ACK signal

$
0
0
Part Number: TMS320F280049C Dear team: When using the C2000 library function, my customer found that the hardware I2C does not seem to be a function for the host to send ACK signal. I2C_getData(I2CA_BASE); If the above function is called to read I2C messages, the hardware will automatically send a NACK. But the time sequence my customer needs is continuous reading: After receiving, an ACK signal should be sent until it is accepted and calls the "i2c_sendnack (i2ca_base);" function. But now as soon as the information is read, the hardware will automatically send a NACK signal. Best regards

Forum Post: RE: LAUNCHXL-F28379D: SCI port as UART to communicate data between LaunchPad and Arduino Board

$
0
0
Hi Maynard, Thanks for your question! To answer your question, it should be possible to communicate with any UART protocol device using SCI, as long as the device is able to use the same baud rates that the F28379d can use . I emphasize that last point, because at higher baud rates, the SCI peripheral has less granularity in its baud rates. Please view the baudrate registers for SCI for details on how to calculate available baud rates. Now regarding the example desired, we have something similar in the example called "sci_ex2_loopback_interrupts.c" located in C2000Ware, under the following directory: C2000Ware_VERSION#\driverlib\f2837xd\examples\cpu1\sci\sci_ex2_loopback_interrupts.c It is relatively close to what is desired, but loopback will need to be disabled. It essentially loops back any data it receives from itself. So to modify for your desired example, it should be trivial to remove the TX interrupt and instead use a timer interrupt to do an "SCI_writeCharArray" every 5 seconds (see the "timer" folder instead of the "sci" for timer examples). You can then just use the existing sciaRXFIFOISR interrupt and convert from string to float inside of it. Regards, Vince

Forum Post: RE: TMDSCNCD28388D: Ethernet Activity LED not Working

$
0
0
Mike, the green LED indicates speed of the link. 10M is off, 100M is green on. What mode are you operating in? Please also consider what speeds are supported by the device you are communicating to. Regards, Cody

Forum Post: TMDSHVMTRINSPIN: hvkit motor control ground question

$
0
0
Part Number: TMDSHVMTRINSPIN Hi i'm student of Konkuk University, Korea. i'm studying motor control and use TMDSHVMTRPFCHVKIT, TMDSHVMTRINSPIN to rotate motor. few weeks ago i got ground to ground short (maybe... but motor was okay, all insulation was fine. But I saw spark on motor case) how can it cause? (i guess ground short) And i also heard HVKIT is floating ground. so ground voltage will become fluctuate like picture(under) i want to ground Inverter and PMSM case to earth ground. So i measured DC voltage BS2 and BS6 between earth ground with multi meter. (under) It was about 374mV, and peak was 3V between earth ground. (I think it was because of MCU input voltage 15V) So i want to try and i want to ask "Can i ground motor shield to DC supply shield ground?, and inverter BS6" i think this can decrease fluctuation of inverter Is it okay? i am worrying about Inverter fail. Thanks
Viewing all 233822 articles
Browse latest View live


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