Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

CC2570 start problem

Rank

Total Posts: 1

Joined 0

PM

Hello.

I try to unsuccessfully startup CC2570 in byte mode. After do my init procedure chip don't set low state on SEN. Scheme is identical with cc2570 documentation from TI (figure 12, page 16).
http://www.ti.com/lit/ds/swrs095a/swrs095a.pdf

Chip is connected to LPC1114, inputs with internal pullups.

void AntInit(void)
{
GPIOSetDir
(ANT_SRDY_PORT,ANT_SRDY,1);     //output
GPIOSetDir(ANT_MRDY_PORT,ANT_MRDY,1);     //output
GPIOSetDir(ANT_SEN_PORT,ANT_SEN,0);       //input
GPIOSetDir(ANT_RESET_PORT,ANT_RESET,1); //output
ANT_RESET_H();
ANT_SRDY_H();
ANT_MRDY_H();
//DO_ANT_RESET();
//waitms(500);
}

int CallAnt
(void)
{
uint8_t    data[10]
;

ANT_MRDY_H();
waitms(1);
ANT_SRDY_L();    
waitus(400);
ANT_MRDY_L();
waitms(1);
ANT_SRDY_H();

while((
ANT_TEST_SEN()));

DO_SRDY_PULSE();                       //H->L->H
SSP_Receive(ANT_SPI_PORTdata 1);
ANT_MRDY_H();
return(
data[0]);


And the second:
Should external cristals work after power-up? I haven't any oscilation on both (32M, 32k).


PiotrW      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hello,

Yes, the external crystals should work after power up. Before you go further, you should figure out why your crystals are not oscillating. It seems as though there is something wrong with your hardware. This should be sorted out before going any further.

Best regards,

Kassandra