terminally ill PIC32MZ1024EFE, I put my PicKit 3 into Programmer-To-Go mode. The reluctant PIC32
2019-03-29 06:08
(u16 Xpos, u16 Ypos){ LCD_WriteReg(R32, Xpos); LCD_WriteReg(R33, Ypos);}问程序中R32,R33在ILL9329芯片资料中不是横,纵坐标
2020-03-31 04:11
- as in specific IRQ's of that card..etc.I guess ill try it without adding a k2 to the install machine
2018-09-30 10:52
has fallen ill (long term).So, I have to take over and start again.Is there C code for this Cypress
2019-03-21 07:59
嗨,我从Digikey那里得到了STEVAL-ISA164V1板。 我需要使用SWIM接口使用ST-Link v2对STNRG388A控制器进行编程。我已经尝试了整个STM8控制器列表,但ST-Link无法识别连接的设备。请告诉我,如何在STNRG388A中上传固件(.hex)文件。我需要在电路板上上传默认固件任何帮助将非常感激。 - 问候Sohaib #steval-isa164v1 #programmer#st-linkv2 #stnrg388a以上来自于谷歌翻译以下为原文 Hi,I got the STEVAL-ISA164V1 board from Digikey. I need to program STNRG388A controller with ST-Link v2 using SWIM interface.I have triedwith the whole list of STM8 controllers one by one, but ST-Link is unable to recognize the connected device.Please tell me, how can i upload firmware(.hex) file in STNRG388A. I need to upload default firmware in the boardAny help would be really appreciated.--RegardsSohaib #steval-isa164v1 #programmer #st-linkv2 #stnrg388a
2019-06-17 08:12
ADFM BITSIN ADCON寄存器的使用是什么?1 =右对齐。当转换结果被加载时,六个最有效位的ADRESH设置为“0”。0=左对齐。六个最低有效位的ADRESL设置为“0”时,转换结果被削弱。在什么基础上,我应该去右对齐或左对齐。 以上来自于百度翻译 以下为原文 what is the use of ADFM bits in ADCON register?? 1 = Right justified. Six Most Significant bits of ADRESH are set to ‘0’ when the conversion result isloaded.0 = Left justified. Six Least Significant bits of ADRESL are set to ‘0’ when the conversion result isloaded. on what basis I should go for right justified or left justified.
2019-01-02 16:52
我直接用IO口时序驱动,但是9325的ID一直读不出来,是不是读写函数有问题?希望有人能指导一下,谢谢#include "share.h"/********************************************************************** 函数:ILI9325_Write_Reg() 函数作用:向ILI9325寄存器写入16bit数据 参数: uint16_t reg_addr-----------------------------------寄存器地址 uint16_t reg_value--------------------------------------16bit数据 返回值:无 上一版本:无 当前版本:1.0 作者:anobodykey 最后修改时间:2015-07-27 说明: ILI9325地址和数据都是使用PB口通信,因此PB口是 复用的,需先写寄存器地址再写入数据 **********************************************************************/void ILI9325_Write_Reg(uint16_t reg_addr, uint16_t reg_value){ ILI9325_nCS_Set_Low;//拉低片选,使其有效 ILI9325_RS_Set_Low;//拉低RS信号,选择index寄存器 ILI9325_nWR_Set_Low;//拉低写使能,使其有效 GPIO_Write(GPIOD, reg_addr); //写寄存器地址 ILI9325_nWR_Set_High; ILI9325_RS_Set_High;//拉高RS信号,选择control寄存器 ILI9325_nWR_Set_Low; GPIO_Write(GPIOD, reg_value); ILI9325_nWR_Set_High; ILI9325_nCS_Set_High;}/********************************************************************** 函数:ILI9325_Read_Reg() 函数作用:从ILI9325寄存器读取16bit数据 参数: uint16_t reg_addr-----------------------------------寄存器地址 返回值:16bit数据 上一版本:无 当前版本:1.0 作者:anobodykey 最后修改时间:2015-07-27 说明: PB口工作在推挽输出模式,读取寄存器数据时需 设置成上拉输入模式才可读取 **********************************************************************/uint16_t ILI9325_Read_Reg(uint16_t reg_addr){ GPIO_InitTypeDefGPIO_InitStruct; uint16_t reg_value = 0; ILI9325_nCS_Set_Low;//拉低片选,使其有效 ILI9325_RS_Set_Low;//拉低RS信号,选择index寄存器 ILI9325_nWR_Set_Low;//拉低写使能,使其有效 GPIO_Write(GPIOD,reg_addr );//写寄存器地址 printf("reg_addr=%X\r\n",GPIO_ReadOutputData(GPIOD)); ILI9325_nWR_Set_High; ILI9325_RS_Set_High;//拉高RS信号,选择control寄存器 //将PD口设置为输入口读取寄存器数据 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_All; GPIO_InitStruct.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_Init(GPIOD, &GPIO_InitStruct); ILI9325_nRD_Set_Low; reg_value = GPIO_ReadInputData(GPIOD);printf("reg_value=%X\r\n",reg_value); ILI9325_nRD_Set_High;//HAL_Delay(40); ILI9325_nCS_Set_High; //将PD口恢复成推挽输出模式 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_All; GPIO_InitStruct.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOD, &GPIO_InitStruct); return reg_value;} /********************************************************************** 函数:HAL_ILI9325_MspInit() 函数作用:初始化与ILI9325 连接的io口资源 参数:无 返回值:无 上一版本:无 当前版本:1.0 作者:anobodykey 最后修改时间:2015-07-27 说明: MCU与ILI9325连接的io口均作为推挽输出口 **********************************************************************/void HAL_ILI9325_MspInit(void){ GPIO_InitTypeDef GPIO_InitStructure; RCC_APB2PeriphClockCmd( RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_APB2Periph_GPIOC | RCC_APB2Periph_GPIOD | RCC_APB2Periph_GPIOE, ENABLE); /****配置LED所在外设的脚为输出****/ GPIO_InitStructure.GPIO_Pin=GPIO_Pin_11| GPIO_Pin_12| GPIO_Pin_13; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;//I/O口的方向 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //I/O口的最高输出速度 GPIO_Init(GPIOA, &GPIO_InitStructure);//初始化外设PD的4、5、6、7端口GPIO_InitStructure.GPIO_Pin=GPIO_Pin_All; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;//I/O口的方向 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //I/O口的最高输出速度 GPIO_Init(GPIOD, &GPIO_InitStructure);//初始化外设PD的4、5、6、7端口GPIO_InitStructure.GPIO_Pin=GPIO_Pin_8 | GPIO_Pin_9; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;//I/O口的方向 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //I/O口的最高输出速度 GPIO_Init(GPIOC, &GPIO_InitStructure);//初始化外设PD的4、5、6、7端口} /********************************************************************** 函数:ILI9325_Init() 函数作用:ILI9325初始化 参数:无 返回值:无 上一版本:无 当前版本:1.0 作者:anobodykey 最后修改时间:2015-07-27 说明:**********************************************************************/void ILI9325_Init(void){ HAL_ILI9325_MspInit(); ILI9325_nRST_Set_High; HAL_Delay(50); ILI9325_nRST_Set_Low;//复位ILI9325低电平有效 HAL_Delay(100); ILI9325_nRST_Set_High; //总线处于空闲状态 ILI9325_nCS_Set_High; ILI9325_RS_Set_High; ILI9325_nRD_Set_High; ILI9325_nWR_Set_High; HAL_Delay(50);}
2015-11-15 13:20
overwhelmed by the modelling possibilities for such an ill constrained sample set.When the 8720A
2019-07-26 16:01
("444\r\n");return ERR_SFN_ILL_LEN; //Ŀ¼Ãû³¤ÓÚ8.3£¬Òà·ÀÖ¹dirnameÒç³ö}#elseif(index>
2020-02-24 21:26
大家好,我试图与RC522 RFID阅读器芯片建立小终端(来自易趣网的一个小小的模块)和一个OLED显示器(SSD1306同时SPI总线但在udb模式因为没有片选线)当然,强大的PSoC 4 ^。^我的问题:我有一个小小的阿杜伊诺,它的效果和预期一样。RFID读写器连接OLED上钩了,编写的软件和它的作品。所以我有一个明确的工作阅读器和显示器。我迷上了显示器的PSoC和开始写的软件来控制它。长篇小说很多失败,但现在终于奏效了。我还得设法用一些显卡的功能界精灵和工作(也是一个小的字体)。但是读者拒绝工作。我甚至不知道通信工程预期由于在接收缓冲区总是不期望值。主要是0xE0。有人设法得到这个读者与spi_scb组件的工作吗????我试图通过好的静态bitbanging但MHM我不知道发生了什么事。 以上来自于百度翻译 以下为原文Hello folks, I try to build a little terminal with the rc522 rfid reader chip ( on a tiny module from ebay ) and a OLED Display ( SSD1306 also SPI bus but in UDB mode because no chip select wire ) and of course the MIGHTY PSOC 4 ^.^ My problem: I have a tiny Arduino due which works as expected. RFID reader hooked up OLED hooked up, Software written and it works. So i have a definite working Reader and Display. I hooked up the Display to the PSOC and started to write the Software to control it. Long Story many failures but finaly it works now. Also i got it managed to work with some GFX functions like circles Sprites and and and ( also a little Font ). But the reader refuses to work. I even dont know if the communication works as expected because in the rx buffer are always values which are not expected. 0xE0 mostly. Has anybody managed to get this reader working with a SPI_SCB component ??? I make a try with good old static BitBanging but mhm I dont know what happens.
2019-01-14 13:15