Hi TI,
After reconfigure my board, my program is still be blocked by the TTIDCSTATUS WaitDrdy(TADS1256 *pADS). It is the function call from the dc_configure() in my main.c.
I am wondering What else I should do in addition to configuring DCP generator and modify the .cdb file by adding _DCPDISP_dispatchEdmaIsr? I mean, do I need to add any function to configure the External Interrupt #5 for ADC board or configure the timer?
I wanna upload my project file to any TI engineers. Could any one give me your email, tonylou.tw@gmail.com. Hope TI engineers can take a look on my program and test it. This simple program directly copied from the DCP tutorials is supposed to work.
Thanks.
Following is the hardware setting and DCP software setting. --- DCP Software SettingDefault Setting except one: I choose Intertupt as Ext Int 5.Because the DC_INTb (5-6k) ---(Pin 48)--- DC_EINT5 (6416T)
--- Hardware Setting on the ADC board
Top position on the 5-6K Interface Board, which means connection with J16.
S1 ( AIN0-1 Input Select Switch ) - Middle position of the switch, which makes AIN0 connected to +2.5V and AIN1 connected to Ground.S2 ( AIN2-3 Input Select Switch ) - Middle position of the switch, which makes AIN2 connected to +2.5V and AIN3 connected to Ground.S3 ( Reference Input Select ) - Up position of the switch, which makes VRP connected to +2.5V and VRN connected to AGND.S5 ( System Clock Select ) - Left position of the switch, which means digital power supply is onboard 7.68MHz crystal. J4 - default setting - Short the pin #1 and the pin #2. Short the pin #3 and the pin #4. J6 - SYNC'/PWDN' - Short SYNC'/PWDN' with DVDDJ7 - RESET - Short RESET' with DVDDJ8 - CS - Short CS with GNDJ9 - default setting - Don't short any pins.J10 - default setting - Short the pin #1 and the pin #2. Short the pin #3 and the pin #4. Short the pin #5 and the pin #6.
Chun-ming (Tony)
Tony,
The settings for the EVM are OK, but the interrupt used is interrupt EINT6. If you look at the schematic, EVM_INTb goes to W9 and has the signal name DC_INTc afterwards, which connects to pin 67 of the J19. Pin 67 is DC_EINT6 on the C6416 DSK.
I'm going to send you an example project to your e-mail address, which should work for you. Please have a look at the main.c file, as the header describes the correct jumper settings on the 5-6K interface card as well.
Richard