Jump to content
43oh

omerdf

Members
  • Content Count

    20
  • Joined

  • Last visited

  1. i checked it again and shorted it to the ground and still no luck
  2. Hello ,I'm using MSP430F5131 Microcontroller of TI.I also use a MSP-FET Emulator in order to program that device.i have written a code in Code Composer Studio (Defined the properties of CCS's project to the devices im using).I compiled the program and no errors has found.Then i connected the MSP-FET to the board according to the datasheet SLA138H , page 26 . (The board supplies the 3.3V so i connected it to pin 4 in the JTAG connector of the MSP-FET). I didn't connect the TEST/VPP and didnt connect the the resistor R2 330Ohms as instructed in that datasheet coz i dont need to use the fuse blow
  3. The problem is related to the regulator that supplies only 0.7V and it supposed to supply at least 1.8V...now im checking if the problem is that specific device or another device that connected to the 3.3V rail.
  4. Actually the whole PCB gets hot , i think you are right about the short circuit - i guess one of the regulator is shorted
  5. In the msp430 family datasheet they mention a unused pins , they say that if AVcc and AVss are not in use they should be connected to DVcc and DVss - i think they get their supply from the digital pins. I found another problem though , i use a regulator of 3.3V which supplies my msp430 , although i noticed that this regulator supplies only 0.7V and i know that the MSP430 got to have at least 1.8V - so maybe thats the problem.
  6. 1) I have connected : - RST/NMI/SBWTDIO of the MCU to TDO/TDI pin 1 of the MSP-FET. - TEST/SBWTCK of the MCU to TCK pin 7 of the MSP-FET. - a 3.3V that is supplied from a regulator in the PCB to VCC_TOOL pin 2 of the MSP-FET. - GND of the PCB to GND pin 9 of the MSP-FET. 2) In the IAR - Options - FET Debugger , i have unchecked the Target VCC. so you say that AVcc and AVss must be connected even if i dont use any analog options at all? it just allows the MSP-FET to download the program? 3) Yes i have specified the exact MSP430 5131. 4) Yes i have designed the board ac
  7. Hello, I'm using MSP430F5131 and trying to program it by IAR Embedded Workbench while using the MSP-FET debugger. A short background of the PCB: After i compiled the code in IAR with not errors found , i connected the MSP-FET to the MSP430 in a Spi-Bi-Wire connection according to the datasheet. The MSP430 is placed in a PCB which includes 12V input voltage and 2 regulators of 5V and 3.3V . The MSP430 I/O's are connected according to the datasheet (including external pullup resistors and capacitors) along with the Spi-Bi-Wire connections. I energized the PCB with a 12V supply voltage
  8. Hello , I am using MSP430F5131, IAR Workbench compiler and i have purchased MSP-FET. i have successfully compiled my code in IAR Workbench , although when i try to download the program through the MSP-FET using the IAR Workbench (i have clicked on download and debbug and it has started to initialize the device) i encountered this error : Fatal error: Could not find device (or device not supported) Session aborted! Thanks in advance
  9. Before i program my MSP430 by MSP-FET. Could you take a look at my code again (after it has been compiled successfully) , according to the requirements i have mentioned above: #include "msp430.h" #include "intrinsics.h" // defining flags as volatile(coz we use these variables in the main and in the ISR as well): volatile unsigned int timerCount = 0; //defines the millisecond counter volatile unsigned int normalPulse1=0; //defines another flag to indicates when 1 second has passed for normal pulse1 volatile unsigned int badPulse1=0; //defines another flag to indicates when 1 second has pa
  10. Alright ill prepare my PCB and try to program the MSP430. ill let you know if its generate the 1pps.
  11. Alright so ill start with the hardware setup. I've already purchased the MSP-FET and i have the PCB ready . so according to the wiring schematic that attached to this post , i would like to download the program i have written into the MSP430 micro controller, how should i connect the MSP-FET to the PCB (or directly to the micro controller) ? thanks. PCB electrical wiring.pdf
  12. alright it worked well thanks . I have compiled the code using IAR and no errors have found. now i would like to simulate the code and see a graph that show me the 1pps . how can i do that using IAR? how can i force inputs and outputs? thanks.
  13. Why can't i just do this? : (this is the error i get after compiling the code in IAR embedded workbench: Error[Pe101]: "CBCTL0_L" has already been declared in the current scope (at line 136 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.4\430\inc\io430f5131.h") C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.4\430\inc\msp430f5131.h 205 ) #pragma vector = TIMER0_D0_VECTOR //GENERATES 1PPS EVERY 1s for normal pulse __interrupt void TIMER0_D0 (void){ //NORMAL PULSE 1 AND 2: if (++timerCount > 500) { // c
  14. thanks . ok ill explain a little : The system includes a toggle switch that can switch between 3 modes : ON / BAD / OFF of pulse : 1) when the toggle switch is in ON mode the micro controller will generate a normal 1 pulse per second 1(1Hz) with a duty cycle of 250ms through P2.4 . 2) when the toggle switch is in BAD mode the micro controller will generate a bad pulse which means (0.5Hz) 1 pulse per 2 seconds with a duty cycle of 250ms through P2.4. 3) OFF supposed to shut down the pulse I want both pulses to be accurate while using the external clock of 12.8MHz. th
×
×
  • Create New...