This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

libuarte and buffer ?

Dear Members,

I want to pass rxBuffer for processing,

 main()
 .
 .
 //nrf_libuarte_async_tx(&libuarte, GPS.rxBuffer, sizeof(GPS.rxBuffer));	//working	but can't be read by GPSNEO_Process ??	
			
			 GPSNeo_Process();
			 
why it can not be passed ?
it has been defined,


typedef struct 
{
	uint8_t		rxBuffer[256]; 
	uint16_t	rxIndex;
	uint8_t		rxTmp;	
	//uint16_t		rxTmp;	
	uint32_t	LastTime;	
	
	GPGGA_t		GPGGA;
	
}GPS_t;		

void	GPSNeo_Process(void)
{
	char	*str;
	
	
	
	
	if( (nrf_systick_val_get()-GPS.LastTime>50) && (GPS.rxIndex>0))
	
	.
	.
	.
	.
	}
	

Is it because of my Systick not yet running properly ?

thanks

Parents Reply Children
No Data
Related