2008年8月22日

Blackfin BF533 SPI 调试日志

摘要: 最近参加ADI的UDC(University Design Competition)比赛,调试触摸屏,用的是BF533,调试SPI调试了半天,问亿旗,只是搪塞回答了一下,后来问中国ADI的DSP技术支持,他们还在开发板上调试了我的代码,真负责,原来是我没有加ssync();这条语句。不过,现在触摸屏还是有问题,BF533不能和它通信目前。//** file: spi.h//** target: ADSP-BF533//** creat time: 2008-8-19#ifndef _SPI_H#define _SPI_H#define SPI_SEL_LOW *pSPI_FLG ... 阅读全文

posted @ 2008-08-22 10:04 yanhc 阅读(885) 评论(0) 推荐(0) 编辑

BF533和触摸屏接口芯片TSC2200调试日志

摘要: 问了一下亿旗,终于调出来了,下面是部分源代码://************************************************////** file: spi.c//** target: ADSP-BF533//** creat time: 2008-8-19#include <ccblkfn.h>#include <cdefBF533.h>#include "sys_func.h"//SPI interface funtionvoid SPI_Init(void){ *pSPI_BAUD = (unsigned short)(G 阅读全文

posted @ 2008-08-22 10:03 yanhc 阅读(390) 评论(0) 推荐(0) 编辑

C Bit Fields——C Language Reference(from msdn)

摘要: C Language ReferenceC Bit FieldsIn addition to declarators for members of a structure or union, astructure declarator can also be a specified number of bits, called a"bit field." Its length is set off from the declarator for the fieldname by a colon. A bit field is interpreted as an integr 阅读全文

posted @ 2008-08-22 10:00 yanhc 阅读(421) 评论(0) 推荐(0) 编辑

导航