Commit Graph

66 Commits

Author SHA1 Message Date
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
kk 2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
Siwei Xu b6f725c7e4 [bsp][nxp] Fix scons command can not found 'sdk_dist' 2024-03-23 14:44:28 -04:00
ShaquilleLiu 0b0baf2e4f
[bsp][nxp]修复frdm_mcxn947上 adc设备无法注册及编译不过问题
驱动的Kconfig中添加 BSP_USING_ADC0 宏信息
芯片级的SConscript中添加缺失的 fsl_lpadc.c 和 fsl_spc.c
2024-03-23 14:43:57 -04:00
Jisheng Zhang 15190b5972 [bsp][nxp] fix link error when enabling SPI
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.o: in function `spixfer':
rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c:150:(.text.spixfer+0x102): undefined reference to `LPSPI_MasterTransferEDMA'
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c:160:(.text.spixfer+0x16c): undefined reference to `LPSPI_MasterTransferEDMA'
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.o: in function `rt_hw_spi_init':
rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c:211:(.text.rt_hw_spi_init+0x22e): undefined reference to `LPSPI_MasterTransferCreateHandleEDMA'
2024-03-21 23:12:56 -04:00
Meco Man 3f26998f9c [bsp] update projects 2024-03-21 11:23:29 +08:00
StackYuan a582c0cc31 [fix] NXP bsp for RT-Thread 5.1.0 fixed up. 2024-03-19 08:13:00 -04:00
Zhang 55a5c20661 [bsp][nxp] 在FRDM-MCXN947上增加UART5/UART2 2024-03-11 18:05:00 +08:00
Meco Man 46967ef56f [bsp][nxp][mcx] move mcxa/n to nxp/mcx folder 2024-03-10 23:19:22 -04:00