Hi Jagadish, I placed the global variables in different sections and used the GROUP command to control their order. It works as expected, although it's a bit tedious. Thanks, Hanson.
↧
Forum Post: RE: TMS570LC4357: How to Control the Order of Global Variables in Custom Memory Sections
↧
Forum Post: RE: MSPM0G3507-Q1: error detect for stop bit in LIN mode
Hi Fan, I'm sorry to tell the error detect for stop bit in LIN will not supported in further devices that support LIN by UART. And related description could be found in RTM. This error detect for stop bit in LIN function will be supported in the future devices that support LIN by unicomm. Best Regards, Pengfei
↧
↧
Forum Post: RE: TM4C1294NCPDT: SPI Flash Read & Write
Yes, Here with the "driverlib/ssi.h" , created function for flash write which mentioned below, void EEPROM_PageWrite(uint32_t address, char *data, uint32_t length) { uint32_t i; // Send Write Enable command EEPROM_WriteEnable(); // Begin write operation EEPROM_CS_LOW(); // Send Page Program command SSIDataPut(SSI3_BASE, MX25_CMD_PP); while (SSIBusy(SSI3_BASE)); // Send address (24-bit address, MSB first) SSIDataPut(SSI3_BASE, (address >> 16) & 0xFF); while (SSIBusy(SSI3_BASE)); SSIDataPut(SSI3_BASE, (address >> 8) & 0xFF); while (SSIBusy(SSI3_BASE)); SSIDataPut(SSI3_BASE, address & 0xFF); while (SSIBusy(SSI3_BASE)); // Write data for (i = 0; i 0) { line_buffer[line_index] = '\0'; snprintf(log_buffer, sizeof(log_buffer), "Line: %s\r\n", line_buffer); UART2Write(log_buffer, strlen(log_buffer)); line_index = 0; } } else { line_buffer[line_index++] = read_buffer[i]; } } current_address += PAGE_SIZE; bytes_read += PAGE_SIZE; } } Here, The mentioned MX25_CMD_PP (0x02) , MX25_CMD_WREN(0x06) write_enable with these command able to enable the address for the corresponding function on the flashchip MX25L51245G. Setting the PAGE_SIZE as 264. For the Flash read, void EEPROM_Read(uint32_t page, char *buffer, uint32_t length) { uint32_t address = page * PAGE_SIZE; uint32_t i, rx_data, dummy; EEPROM_CS_LOW(); // Send Fast Read command SSIDataPut(SSI3_BASE, MX25_CMD_FAST_READ); while (SSIBusy(SSI3_BASE)); // Send address (24-bit address, MSB first) SSIDataPut(SSI3_BASE, (address >> 16) & 0xFF); while (SSIBusy(SSI3_BASE)); SSIDataPut(SSI3_BASE, (address >> 8) & 0xFF); while (SSIBusy(SSI3_BASE)); SSIDataPut(SSI3_BASE, address & 0xFF); while (SSIBusy(SSI3_BASE)); // Send dummy byte (required for Fast Read) SSIDataPut(SSI3_BASE, 0xFF); while (SSIBusy(SSI3_BASE)); // Clear RX FIFO while (SSIDataGetNonBlocking(SSI3_BASE, &dummy)); // Read data for (i = 0; i < length; i++) { SSIDataPut(SSI3_BASE, 0xFF); // Dummy byte to clock out data while (SSIBusy(SSI3_BASE)); SSIDataGet(SSI3_BASE, &rx_data); buffer[i] = (char)(rx_data & 0xFF); } // Null terminate the buffer buffer[length] = '\0'; EEPROM_CS_HIGH(); }
↧
Forum Post: RE: MSPM0L1306: How do I obtain the correct bin file?
Hi Dennis, This approach has not resolved my issue.
↧
Forum Post: RE: EK-TM4C1294XL: TM4C1294NCPDT || OTA Queries
Hi Charles, Thanks. I have implemented some logic to check if a valid image is present at 0x00004000, My current application should point to it and move the vector table to that new address. If a valid image is not found, the OTA process will handle it and point to the new address. I have one more query. Why is the boot_demo1 example not executing once I power off and on the board? It is stored in flash at 0x00004000, so why is it not being pointed to after a power cycle? Is it searching for an image at 0x00000000?
↧
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
Hi, Have you developed it based on Launchpad before? I just want to make sure whether the reason is cased by hardware. If you use the demo code in SDK, it seems the software is ok and PWM can be outputted normally. Regards, Zoey
↧
Forum Post: RE: TMDS243EVM: If the ports order of ethercat IN and OUT can be configured? if yes, how to configure it?
Can you elaborate more via block diagram the use case. One option is to use below config, but you will need a PHY daughter card to be built for this. AM243EVM R5_0 R5_1 S-Device#1 S-Device#2 ICSSG1 ICSSG0 (via expansion header) M-Device -> IN OUT -> IN [quote userid="624520" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1471505/tmds243evm-if-the-ports-order-of-ethercat-in-and-out-can-be-configured-if-yes-how-to-configure-it"] TMDS243EVM for ethercat IN and OUT have already been configured, can I modify it? [/quote] No, you can not modify the notion of IN and OUT ports.
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
Have you developed it based on Launchpad before? > Never. I just want to make sure whether the reason is cased by hardware. > I can't tell whether the hardware is normal or not Now, I try to run the basic example 'Out of Box' on EVM, but I got this error. I connect the EVM with USB cable and the settings of EVM is like this Maybe I should run this example normally before starting running PWM example. (sad)
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
Hi, No, you do not need to use out_of_box code example. Please import ...\ti\mspm0_sdk_2_03_00_07\examples\nortos\LP_MSPM0C1104\driverlib\timx_timer_mode_pwm_edge_sleep to your project and download it to your self hardware to see if it can output PWM. And by the way, could you please share you schematic of your own board? Regards, Zoey
↧
↧
Forum Post: RE: MSPM0L1304: Error in the "printf" output
Hi, Keith , Bruce and Christian I don't recommend to use default printf in L1306, it only has 4KB RAM. ------------------------- Here is a tinyprintf option: It can be used in both G and L series. And no heap needed. e2e.ti.com/.../3681.TinyPrintf_5F00_uart_5F00_rw_5F00_M0G3507_5F00_nortos_5F00_ticlang.zip This demo uses UART to output the log. Now, we don't have the tinyprintf output to debug port demo. If you find the debug log port interface, I am glad to hear from you~ Regards, Helic
↧
Forum Post: Issue Loading Program to Bank 7 Using TI Uniflash (Version 8.0.0.4026)
Part Number: TMS570LC4357 Other Parts Discussed in Thread: UNIFLASH Tool/software: Hi, team: I’m using TI’s Uniflash to load a program to my device. I can successfully load the same .bin file to Bank 0 and Bank 1 , but when I try to load it to Bank 7 , the operation fails. The starting address and load length are both 64-bit aligned. Any help is appreciated! Best regards, Hanson Liu
↧
Forum Post: TMS320F2800137: Periodic reset of chip
Part Number: TMS320F2800137 Tool/software: Dear Experts, At present, when we are conducting small batch verification, there are two chips running for a period of time, and after restarting, there is a periodic reset of the chip's IO port; After investigation, we found that NMI is repeatedly resetting, and the software has not configured this register, so it is unclear what caused it; At present, the BOOT pins of the chip are in a pull-up state and initialized to IO in the software; We would like to inquire about the reasons for the repeated reset of the chip and hope to receive a response. Thank you
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
Is it ok to download pwm_edge_sleep from 'Create New Project' ? And I only change the MCU layout to WQFN-20(RUK) Then, here are the schematic of our board MCU PD (connect to FAN_PWM and FAN_TACH) pin table from HW RD Regards, Cecilia
↧
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
Yes,it is ok. But for the green hand, we recommend to download our SDK and import it directly. It can avoid to set up environment. Please have a try in this way. Hopefully it can save you time and succeed to output PWM. Regards, Zoey
↧
Forum Post: LAUNCHXL2-570LC43: Document of Rev (B)
Part Number: LAUNCHXL2-570LC43 Tool/software: We have received a Rev (B) LaunchPad kit. The available documentation, however, pertains to Rev (A1). Could you please provide information regarding the changes between these two revisions?
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
So after downloading the code example, you can not see any PWM in the MCU right?
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
How do I know for sure?
↧
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
Could you please connect oscillograph to check whether GPIO is toggled?
↧
Forum Post: RE: MSPM0C1104: Add TIMER-PWM in my project but not working
I have no oscillograph on hand. Is there any other way to know for sure ?
↧
Forum Post: RE: SYSCONFIG: SysConfig crash when enabling clock tree for MSPM03519
Hi Eugene, So error is appeared when you save the sysconfig file right? Please check whether there is any error (red) when you configure sysconfig and attach the change you make for clock tree. Best Regards, Pengfei
↧