58 Commits

Author SHA1 Message Date
sakumisu
b462daf57e update(cherryusb): add config for mcxn947 usbdev and usbhost 2024-09-02 10:15:43 +08:00
下里巴人
9e690694c7
[bsp][nxp][mcxa153] add spi1 driver entry 2024-08-28 21:07:05 -04:00
yandld
32635bb53a fix formmating issue 2024-08-27 00:44:34 -04:00
yandld
0179d7427a frdm-mcxn236
add uart5
add can support
add wdog support
2024-08-27 00:44:34 -04:00
yandld
6ef77d7d32 add wdog driver and refine default project 2024-08-27 00:44:34 -04:00
yandld
8ba75bddc3 [bsp][mcxc] initial commit for frdm-mcxc444 2024-08-25 10:55:17 -04:00
hywing
d3b9480658 [bsp][nxp][mcxa153] add i2c driver 2024-08-21 17:35:19 -04:00
Yilin Sun
fea231407b bsp: nxp/mcx/mcxn/mcxn236: Remove invalid SPI8 entry.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-19 16:04:28 +08:00
Yilin Sun
42239863cf bsp: nxp/mcx/mcxn/mcxn947: Remove invalid SPI8 entry.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-19 16:04:28 +08:00
Yilin Sun
a5780a341c bsp: nxp/mcx/mcxn: SPI: Use updated DMA mux enum.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-19 16:04:28 +08:00
Yilin Sun
fd3f603b27 bsp: nxp/frdm-mcxn947: FS: use generic SPI API.
This patch replaces SPI flash mount procedure with generic SPI API. This
patch also try to format the external flash on the first mount failure,
in case of empty or invalid flash content is present on the external SPI
flash.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 20:20:34 -04:00
Yilin Sun
12214dc18c bsp: nxp/frdm-mcxn947: WiFi: use generic SPI API.
This patch changed SPI initialization API to standard RT-Thread SPI API.
The current code contains a minor bug which does not wait for WiFi
module ready before stack initialization, this is also fixed.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 20:20:34 -04:00
Yilin Sun
e6cf0bc97d bsp: nxp/mcxn947: Updated SDK to release v2.16.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 20:20:13 -04:00
Yilin Sun
0864456947
bsp: nxp/mcx: Use standard SPI CS pin. (#9312)
* bsp: nxp/mcx/mcxn: SPI: Added missing bracket and re-format code.

The closing bracket is missing from SPI6 struct.
Introduced since commit fc1cfd6d3627ba8460d514e7913bd307e8b1d567 .

Use standard rt_spi_device->cs_pin instead of user_data pointer.

---------

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 16:47:16 +08:00
Rbb666
fd111e7af4 [bsp][nxp/mcxa153]添加spi缺失的文件路径 2024-08-12 17:23:40 +08:00
hywing
836865f404 [bsp][nxp][mcxa153] driver code formatted 2024-08-12 17:23:40 +08:00
hywing
6d000573b6 [bsp][nxp][mcxa153] fix compiling problem 2024-08-12 17:23:40 +08:00
hywing
187ce18695 [bsp][nxp][mcxa153] add spi driver 2024-08-12 17:23:40 +08:00
hywing
61a2bf6154 [bsp][nxp][mcxa153] add pwm driver 2024-08-12 17:23:40 +08:00
Rbb666
59f1146fae 优化mxca153 adc驱动,支持电压读取 2024-08-04 22:55:21 +08:00
Rbb666
f4cb323919 优化flash部分驱动+完善注释+格式化部分代码 2024-08-01 09:41:04 +08:00
Rbb666
b06843b91c 更新MCXA153-SDK-V2.16.000 2024-07-31 22:34:46 +08:00
LZerro
04b77e409e [bsp][NXP]Fix .md picture mistakes 2024-07-08 22:06:53 +08:00
LZerro
b47b6df927 [bsp][Infineon]&[NXP] Add README_EN 2024-07-08 22:06:53 +08:00
Abner
099e24951c
[BSP][nxp]增加wifi_weather_sample.c (#9118)
* [BSP][nxp]增加wifi_weather_sample.c

* [BSP][nsp]增加wifi_weather_sample.c
2024-06-28 22:37:22 +08:00
andeyqi
840eef1124 [bsp][nxp] Delete mcxn947 sdk unused path. 2024-06-27 23:04:56 +08:00
andeyqi
e69a7ccfa3 [bsp][nxp] Update mcxn236 & mcxn947 LFLAGS config. 2024-06-27 23:04:56 +08:00
Jisheng Zhang
7523f40701 [bsp][nxp][frdm-mcxn236] remove sdio and eth
there's no sdio/eth in HW, remove it
2024-06-26 23:54:42 +08:00
Jisheng Zhang
63578802b9 [bsp][nxp][frdm-mcxn236] fix SW btn
This is the SW2 button, a.k.a wakeup button on the board. Another
choice is SW3 a.k.a ISP button which is connected to P0_6.
2024-06-26 23:54:42 +08:00
Jisheng Zhang
0f8f0620c3 [bsp][nxp] s/libraries/Libraries
The upper/lower case matters under *nix
2024-06-26 23:54:42 +08:00
andeyqi
4d00fd19da [bsp][nxp mcxn236]Delete unused code with pin_mux.c . 2024-06-26 17:25:18 +08:00
andeyqi
e390290482 [bsp/mcxn236]Port gcc&mdk project. 2024-06-26 01:22:15 +08:00
hengchuan.qi
8524781cb3 [bsp][mcxn236] Add software i2c driver. 2024-06-26 01:20:59 +08:00
andeyqi
053373c3ac
adapter frdm-mcxn236 iar project (#9083)
* adapter frdm-mcxn236 iar project

* formate MCXN236 bsp
2024-06-25 01:33:30 +08:00
latercomer
fe3c4d456e bsp中option env语句替换为新语句,并同步更新了source "$xxx"语句 2024-06-20 14:40:42 +08:00
Siwei Xu
3f434feec9 [bsp][nxp] Add select BSP_USING_PIN for SPI and RW007 driver 2024-04-20 23:46:39 -04:00
Abner
cd77f988cd
[bsp][nxp]修改 drv_filesystem_spi_flash 驱动 (#8811)
Co-authored-by: yandld <1453363089@qq.com>
Co-authored-by: Meco Man <920369182@qq.com>
2024-04-18 21:00:49 -04:00
Abner
a2bec29019 [bsp][nxp]增加了drv_filesystem_spi_flash驱动 2024-04-16 18:48:37 +08:00
Abner
bbac8e954d [bsp][nxp]增加了drv_filesystem_spi_flash驱动 2024-04-16 18:48:37 +08:00
yandld
47d9c03937 update spi flash mount 2024-04-16 18:48:37 +08:00
Abner
d5aff0c963 [bsp][nxp] 增加drv_spi_sample_rw007驱动 2024-04-12 18:35:31 +08:00
Abner
98c6a741c5 [bsp][nxp] 增加drv_spi_sample_rw007驱动 2024-04-12 18:35:31 +08:00
Siwei Xu
dd55489839 [bsp][nxp] Add SPI1 config for FRDM-MCXN947 board 2024-04-06 13:18:06 -04:00
xhackerustc
e0e9eb8b15
[nxp/mcxn] add SPI6 support (#8704)
* [bsp][nxp] add missing drv_spi.h

Otherwise when building spi users such as u8g2, gcc will complain can't
find the drv_spi.h.

* [bsp][nxp] enable spi6

* [bsp][nxp] add spi sample code which uses spi6 to loopback

Connect spi6's MISO <--> MSIO, I.E P3_20 and P3_22 with Dupont Line
The sample usage and output would be:

msh >spi_sample
spi rbuf : 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f

spi loopback mode test over!
2024-04-04 20:08:39 -04:00
Zhang
447a10c964 [bsp][nxp] mcxn947基础上去除多余修改: 2024-04-03 17:57:46 -04:00
Zhang
42e01a80a0 [bsp][nxp]基于MCXN947的spi_driver添加spi7读写W25Q64_Flash: 2024-04-03 11:12:19 +08:00
zealsoftstudio
79e2946467
[nxp/mcxn] support Ethernet 2024-04-01 18:44:26 -04:00
ShaquilleLiu
99dafb1fef
[bsp] frdm-mcxn947 增加dac驱动 (#8667) 2024-03-24 22:52:11 -04:00
Siwei Xu
809c3687fa [bsp][nxp] Fix menuconfig error in scons created project 2024-03-24 22:27:58 +08:00
Meco Man
3782127116 [bsp] format drivers code 2024-03-24 09:18:25 +08:00