Part Number: TMS320F28075
Other Parts Discussed in Thread: TMS320F28379D, C2000WARE
Tool/software:
Hi Team,
I am working on the TMS320F28075 IC and have designed a custom microcontroller card, ensuring that all necessary connections required for the IC to function are made as per the datasheet.
Previously, I successfully ran the code on the C2000 LaunchPad (TMS320F28379D). However, now I am debugging the same code on my custom board using JTAG TMS320-XDS100-V2. All JTAG connections have been made as per the datasheet, and when tested in CCS, the target status shows no errors and connects properly.
Observations:
-
Code Behavior:
- The code successfully builds and debugs, but no expected output is observed.
- For example, when setting GPIO20 high, there is no change on the pin.
- I have tested multiple GPIOs and encountered the same issue.
-
Power Consumption:
- Idle state (no code flashed): 30mA
- During flashing via JTAG: Spikes to 120mA
- After flashing: Drops to 70mA
- Compared to the C2000 LaunchPad, in which the input current increased further after flashing, which is not happening on my custom board.
Assistance Required:
- Could you help me understand what might be going wrong and what debugging steps I should take?
- Since this is an independent board based on TMS320F28075 (100-pin), do I need to add any additional initialization lines in the code to ensure proper execution and code retention after debugging?
Below is the relevant portion of my code:
#include "driverlib.h"
#include "device.h"
void main(void)
{
//
// Initialize device clock and peripherals
//
Device_init();
Device_initGPIO(); // Initialize GPIOs
//
// Configure GPIO20 as a GPIO output
//
GPIO_setPinConfig(GPIO_20_GPIO20); // Ensure GPIO20 is in GPIO mode
GPIO_setPadConfig(20, GPIO_PIN_TYPE_STD); // Standard push-pull
GPIO_setDirectionMode(20, GPIO_DIR_MODE_OUT); // Set as output
//
// Set GPIO20 High
//
GPIO_writePin(20, 1);
//
// Infinite loop
//
while(1);
}
Best regards,
Tasmiya
