RT1170 , usb showing " kStatus_USB_TransferFailed,", while receiving

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RT1170 , usb showing " kStatus_USB_TransferFailed,", while receiving

933件の閲覧回数
sajithdevidas
Contributor III
I'm working with the NXP RT1170 controller, using the MCUXpresso IDE. My goal is to send and receive messages from an MQTT cloud using AT commands.
Initially, I used USB drivers for Quectel and directly sent AT commands through USB using Tera Term. By connecting the USB cable directly from my PC to the Quectel's USB port, I successfully sent AT commands to the Quectel module. This setup worked fine, and I could send and receive messages from the MQTT cloud without any issues.
Now, I'm trying to achieve the same through my RT1170 controller, which has a USB interface on my custom board . My aim is to send AT commands via this interface. I'm using "host_cdc_bm_cm7_host_cdc_bm_cm7" example,
However, when I attempt to connect the USB device (which is the EC200U module) through my program, it detects the VID and PID as PID=0xA4A7 and VID=0x525. The enumeration process is successful, and the device attaches with an interface count of only two - one for the device class and another for the communication class. The device seems to attach successfully, and I can send the 'AT' command through USB. The program indicates that the sending transfer is successful, but I'm not sure if the commands are actually reaching the EC200U module. Furthermore, when I try to receive data from the EC200U module, the reception fails.
 
 
sajithdevidas_1-1706537344403.png

 

 
0 件の賞賛
返信
1 返信

916件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sajithdevidas,

Are you following the specifications shown on AN13940? Here is the link to this application note: https://www.nxp.com/docs/en/application-note/AN13940.pdf

Please look into it and make sure you are following the setup as mentioned there. Also note that this application note comes with a software bundle (AN13940SW.zip). This bundle includes a project for the EC200A using the RT1060, but I believe it will still prove to be a very useful reference for your RT1170 based application. Here's the download link: https://www.nxp.com/docs/en/application-note-software/AN13940SW.zip

BR,
Edwin.

0 件の賞賛
返信