找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[N76E003] Use GPIO to Access SPI Flash

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2022-6-27 15:36:22 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
Application: This code uses GPIO as SPI Master to read or write SPI Flash.
BSP Version: N76E003 BSP Keil C51 v1.0.6
Hardware: NuTiny-SDK-N76E003 v2.0
This example is used MCU's GPIO to simulate the SPI host to read and write SPI flash. In the case that the hardware SPI of the MCU is insufficient, if you want to read and write SPI flash, you can use the software GPIO to simulate the SPI host. The speed of reading and writing SPI flash depends on the speed at which the CPU runs.

In this example, the test result is output with N76E003 serial port 0 (TX is P06), and the serial port baud rate is 9600.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1212182228

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU