본문 바로가기

삽질기초/HW35

Encoder Signal Generator - tms320f283335 encoder pulse generator A & B signal. PWM1A, PWM2A - Set Phase reg : 90 deg /* ==============================================================================System Name: YPEMC_encoder pulse generator File Name:encoder_gneerator.c Target: TMS320F28335 Note: encoder pulse generatorduty ratio 0.5, 1024 pulse, frequency change a/ab/bz UVW==============================================================.. 2012. 4. 12.
DSP library http://www.ti.com/tool/controlsuite 2012. 3. 12.
DSP2833x _IO 테스트 소스. #include "DSP28x_Project.h" #include void Delay_loop(void); long Delay_length = 2142856;//150MHz 의 SYSCLK, 0.2s 지연 void main(void) { DINT; IER = 0x0000; IFR = 0x0000; InitSysCtrl(); // SYSCLKOUT (CLKIN) = (30000*10)/2 = 150000 : 150 MHz // InitPll(DSP28_PLLCR,DSP28_DIVSEL); 10 2에서 설정. // peripheral clocks 설정. EALLOW; //GPxMUXn : 핀 기능설정, adc는 따로지정되어 있음. 0: 출력 GpioCtrlRegs.GPAMUX1.all = 0x00000000.. 2011. 11. 8.
dsp-errer Failed Software Reset: Error 0x00000024/-1137 Error during: Register, Execution, It appears that the target is being held in reset. This may be due to Wait-In-Reset (WIR) configuration set by the EMU0=0 and EMU1=1 pin settings. If this is the case, DISCONNECT all CONNECTED devices including icepick and then select RETRY to clear the WIR configuration. If this is a multi-core system, the master C.. 2011. 7. 29.
orcad layout 라우팅 문제 라우팅시 이상하게 선이 두개 생긴다거나 선이 근처에 갔는데 근처의 핀에 붙지 않는다거나 하는 문제가 발생. 1. m버튼을 눌러서 Minimize Connection. 2. Nets 설정(Shift+N) 에서 Reconn Rule을 고쳐줘야한다. 해당 net을 더블클릭 후 Reconn Rule 버튼을 부르고, Std. Orthog를 체크하고 Minimize Connection. 하면 해결. 2011. 7. 22.
orcad - capture err [DRC0037] Net has two or more aliases - possible short? - 하나의 선(net)에 두개이상의 이름을 사용한 경우. - 이름을 하나만 적어준다. [DRC0009] No matching off-page connector - 이건 연결된게 없다는거.(off-page connector[ >> ] 사용시) [DRC00031] Package has same name but different source library. - 간혹 예전 회로를 긁어서 복사해 쓰는 경우가 있는데 그럴때 라이브러리 경로가 달라서 나오는 에러코드. - 라이브러리를 바꿔주거나 현재 라이브러리 창에서 새로 다 그려주면 됨. - 커패시터나 저항이 몇백개면 대략 난감 ㄷㄷ - 그라운드 이름도 요주의!! 2011. 7. 14.