My apologies. I forgot to include the UART Init function. Yes, I have enabled the interrupt through this init call: static int32_t InitUartParams ( UART_Params* params /// writeDataMode = UART_DATA_BINARY; params->readDataMode = UART_DATA_BINARY; params->readReturnMode = UART_RETURN_FULL; params->readEcho = UART_ECHO_OFF; params->readMode = UART_MODE_CALLBACK; params->readCallback = Rs485UartReadCallback; params->baudRate = RS485_UART_BAUD_RATE; } } return returnVal; }
↧
Forum Post: RE: TM4C129ENCPDT: UART Read Callback mode - how to get ISR to fire even when in a different task?
↧
Forum Post: RE: TMS320F28379S: Issue with Serial Flash Programming using SCI Bootloader example from C2000ware
Hi, Some suggestions: - If you wish to use SCI boot mode with standalone load of the kernel, you should use the serial_flash_programmer.exe - Check that your GPIOs are set appropriately for SCI communication - What GPIOs are the kernel communicating with? Thanks, Charles
↧
↧
Forum Post: RE: MSP430F5342: MSP430F5342
Hi Irfan, The programming configuration files of the MSP430F5342 System Controller for the ZCU111 are something you have to request from Xilinx. You can program the MSP430F5342 through JTAG by using a JTAG programmer. You can use either an MSP-FET or MSP-GANG. Best Regards, Diego Abad
↧
Forum Post: RE: TIDM-02000: Query Regarding Slope Compensation in 3kW DC/DC Converter Design (Based on TIDM-02000)
[quote userid="608824" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1465785/tidm-02000-query-regarding-slope-compensation-in-3kw-dc-dc-converter-design-based-on-tidm-02000/5646024#5646024"] this phenomenon is occuring contineously as soon as we start the experiment, and its periodic in nature.[/quote] That is not what was initially posted being the issue. [quote userid="639503" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1465785/tidm-02000-query-regarding-slope-compensation-in-3kw-dc-dc-converter-design-based-on-tidm-02000"]he converter experiences a short circuit after running for about 30 minutes under full-load operating conditions.[/quote] Then not actually a short circuit and CMPSS current limiting is not fully regulating HV drive current CBC during perceived overload condition. Expecting CMPSS DACL output to ever operate during HV zero crossing negative over current event seems futile. Relative to how other forums configure CMPSS DACL output to detect zero crossing negative current events from DACH zero crossing positive events. Hence if AC input line disturbance during sine wave negative half cycle it will pass down through T1 primary and beyond. So current detection HV circuit into DACL has to monitor negative zero crossing power line events for CMPSS DACL output XBAR signal driving PWM2-A/B DACL trip H or L events. PWM DAC trip timing also and seemingly correlates with dead band generator , where PWMA drive is inverted to create PWMB drive and relative to AC current produce by zero crossing switched H bridge primary T2. PWM drives should be somewhat synchronous to AC line disturbance events, <=1µs CBC fault trips both PWMnA and PWMnB.
↧
Forum Post: RE: TMDSCNCD28379D: How to ADC setup properly?
Hi Matthew, Do you mean check here for the predefines? Disassembly is automatically generated. It is jumping around between the code lines and the disassembly lines. Only the function, main (), works normally in order but it is not running in order inside of all the functions. If I add more lines in the functions, sometimes CCS goes frozen and most of the time it is good. It would be dangerous to use it on my project. What can I do with it? Thanks, Hongmei Wan
↧
↧
Forum Post: RE: TM4C129ENCPDT: UART Read Callback mode - how to get ISR to fire even when in a different task?
Hi Noah, I think you would need to call UART_read() in order for the Rs485UartReadCallback to be called. Can you try a simpler program where you call UART_read to see if the callback is called. It is easier to isolate the problem.
↧
Forum Post: RE: MSPM0G1507: Problem with eeprom emulation type B
My point about the flash addresses was to ensure that when you interact with the EEPROM emulation region in your application code, make sure that you always have the correct address. I see your attached linker, memory dumps, etc. My question was basically just are you checking to make sure data is written where it is supposed to be, and the correct addresses are erased when you use an erase command. Just a simple thing to check over. As for the contents of flash, I see your point about the 4 bytes being zero, it looks like the eeprom emulation region is being initialized properly as far as I can tell. To your point about copying the data to a new sector on startup - it is possible that the error occurs here, but the default library has error checking and should return an error in the event that one of these operations fails, so you should be able to tell if this happens, as long as you monitor the error flags and save them somewhere, stop execution, or something else. To be totally clear - what should happen after a reset is that the device checks the EEPROM emulation area and copies the data over to the new EEPROM emulation area, so your data shouldn't be lost, it should just be in a new place, unless it was corrupted. Again then you should see an error of some sort. For the order of information in the data item - are you considering that the flash memory is little endian? I think the docs line up with the data. You might also want to add some breakpoint or while(1) loop inside of an error check so if you detect an error you get stuck and can see it with the debugger if you haven't already
↧
Forum Post: RE: TIDM-02000: Query Regarding Slope Compensation in 3kW DC/DC Converter Design (Based on TIDM-02000)
Genatco, this is a DC to DC application. There is no zero crossing events because there is no AC current. The transformer current does go through positive and negative cycles, but the current signal is rectified before it is delivered to the MCU.
↧
Forum Post: RE: MSPM0L1227: aeabi_uidvmod.S was not found
I am a bit confused about the call stack that eventually calls this function, and correct me if I am wrong but it sounds like you are not sure where it comes from either? So in the application code you just read some data out from memory with a pointer and at that line you get this error? Maybe it would be more clear if you posted the code snippet that generates this error. You shouldn't need any sub-calls to read out from memory with a pointer so I think I am missing something. Also, did the customer write this code out or is this based on one of our examples?
↧
↧
Forum Post: RE: TMS320F28388D: TMS320F28388D
[quote userid="640530" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1468626/tms320f28388d-tms320f28388d/5646862#5646862"]You mean to say to give the full path to Build Command tab[/quote] Yes. [quote userid="640530" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1468626/tms320f28388d-tms320f28388d/5646862#5646862"]Please note already the Build directory is the workspace. And in the workspace I have kept the Makefile. And in the Build --> C2000 Compiler --> Include Options I have included the whole workspace.[/quote] These do not apply. For the utility specified in the build command ("make" in your case), if the path to it is not specified also, then CCS will look in the below locations for "make": - The project build configuration subfolder - Directories specified in the system path (i.e. "PATH" environment variable on windows) If it can not find it in those locations then it will not be able to run.
↧
Forum Post: RE: MSP430F6775A: Registers
The user guide has always worked for me.
↧
Forum Post: RE: MSP430F6736: EVM430-F6736 project compilation error
Ok, thanks for the update, let me know if you run into any other issues after running it.
↧
Forum Post: RE: TMS320F2800137: Universal Motor Control Project & Lab for linear motor
[quote userid="51246" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1470632/tms320f2800137-universal-motor-control-project-lab-for-linear-motor/5645933#5645933"]Thanks for your response. Can you tell me which specific parts of SW needed to be changed?[/quote] Need to add new function for linear motor, not only change the codes. [quote userid="51246" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1470632/tms320f2800137-universal-motor-control-project-lab-for-linear-motor/5645933#5645933"]My linear motor has a limited travel range. So I can’t follow the velocity open loop testing on the application. Am I correct?[/quote] Correct. [quote userid="51246" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1470632/tms320f2800137-universal-motor-control-project-lab-for-linear-motor/5645933#5645933"]The linear motor also can’t turn PID in the continue one direction running. What I saw the other drivers will use a sine wave as speed target to make the motor rotate forwards and backwards to limit the total travel distance. Do you have any user manual or example for me to follow?[/quote] Currently, No. You can find such reference documentation on some of the engineering website. [quote userid="51246" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1470632/tms320f2800137-universal-motor-control-project-lab-for-linear-motor/5645933#5645933"]I also want to have the position loop, do you have any example?[/quote] It could be the similar speed or current loop control. You can also get some reference as mentioned above.
↧
↧
Forum Post: RE: TM4C1294NCPDT: SPI Flash Read & Write
Can you share your code? I'm still not clear how you are writing and reading the SPI flash and how you output the logs via UART. What is MX25_CMD_WREN? How would I know what this function is doing? This must be your own function, certainly not a TivaWare SDK function.
↧
Forum Post: RE: TMDSHVMTRINSPIN: Is it possible to tune the output bus voltage of the PFC stage (i.e. DC bus voltage of the inverter)?
[quote userid="633649" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1454963/tmdshvmtrinspin-is-it-possible-to-tune-the-output-bus-voltage-of-the-pfc-stage-i-e-dc-bus-voltage-of-the-inverter/5646281#5646281"]Is there provision in the kit to disable/disconnect the PFC-boost circuitry?[/quote] Yes. You can refer to the guide of the kit. You can disable the PFC. [quote userid="633649" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1454963/tmdshvmtrinspin-is-it-possible-to-tune-the-output-bus-voltage-of-the-pfc-stage-i-e-dc-bus-voltage-of-the-inverter/5646281#5646281"]Is it a hardware switch? Or is it something to be controlled through the firmware?[/quote] As mentioned above. Please find the details in the kit's guide.
↧
Forum Post: RE: TMS320F28384D: FSI: Buffer operation, Buffer Overrun, and Buffer Underrun
fsi_ex8_ext_p2pconnetion_Xx project does not treat the buffer as circular. To your first comment: My understanding is that setting the length to six should set the outgoing message to 6 words. If all messages were six words, the buffer will wrap on the third message, as the buffer is 16 words. Right? Regarding Tx Underrun: Are you saying a Tx Underrun is triggered with a length of zero? Regarding Tx Overrun: Are you saying a Tx Overrun is triggered when over 16 words are loaded in into the buffer regardless of the position of the buffer pointer? Or data is loaded from the buffer ptr location wraps and then goes past the buffer ptr? Now can you address my original questions in the context of receiving? Regards
↧
Forum Post: RE: MSP430F5342: Help installing MSP430-SDK — MSP430-SDK for MSP430 Microcontrollers on computer without internet connection
My internet connected computer is only for email and web browsing it does not have CCS.
↧
↧
Forum Post: RE: MSPM0L1306: mspm0l1306 XDS110 Pinout
We have no space for an on-board XDS110 but need capability for an off-board XDS110 th be connected for field upgrades, and for Production programming. What is the XDS110 pinout for the board? Also can I buy a mating cable for field use? Sorry I was so long getting back to you. The board designer didn't get to need the info yet Eric Kruegle/edulicki@avidasw.com
↧
Forum Post: RE: F29H859TU-Q1: Error: makefile:164: recipe for target 'post-build' failed and gmake[2]: [post-build] Error 1 (ignored)
Hello, I have been unable to reproduce this issue so far. Can you check that you have the correct path for "C:\Users\ay220418\workspace_ccstheia\timer_academy_lab\RAM\C29-cert-pad.bin" as well? And have you already tried deleting and redownloading CCS just to sanity check? Best Regards, Allison
↧
Forum Post: RE: TMS320F28388S: CLA Task Code Missing
Hi Ed, I am still looking into this issue. To verify, in this project, are you using the solution provided in this thread for the compiler options: (+) TMS320F28388S: Can CLA Files be Built in a C++ Project? - C2000 microcontrollers forum - C2000 ︎ microcontrollers - TI E2E support forums to compile C++ code for the CLA? Best Regards, Delaney
↧