IMX93evk zephyr RS485

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX93evk zephyr RS485

478 Views
zefox
Contributor II

Hi,

 

I have been working on this issue for 2 days now and I am not progressing anymore. I am trying to use OSDP in Zephyr through the control_panel example. I have provided my files in the zip I attached below. 

My wiring is as follows:

zefox_0-1759829994100.png

 


I have checked that the GPIO17 is indeed multiplexed correctly. This is correct.
I have tried using pull-down resistors (10K) on the DE&/RE pin. Didn't do anything.
I have tried sending test data directly using the serial driver in Zephyr. Didn't work.

I can tell it is sending correctly because my reader is correctly receiving a message. But the DE pin always stays high. This means it won't receive anything. Which is exactly what I am observing. 

I have had this issue with the STmicroelectronics UART driver as well where the hardware-controlled DE pin had the same issue. 

How do i fix this issue

0 Kudos
Reply
1 Reply

451 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @zefox 

Unfortunately, this channel does not provide support to Zephyr.

 

Best regards,

Salas.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2181107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMX93evk%20zephyr%20RS485%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20been%20working%20on%20this%20issue%20for%202%20days%20now%20and%20I%20am%20not%20progressing%20anymore.%20I%20am%20trying%20to%20use%20OSDP%20in%20Zephyr%20through%20the%20control_panel%20example.%20I%20have%20provided%20my%20files%20in%20the%20zip%20I%20attached%20below.%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20wiring%20is%20as%20follows%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zefox_0-1759829994100.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zefox_0-1759829994100.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F359728i9A722B0349B9C870%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22zefox_0-1759829994100.png%22%20alt%3D%22zefox_0-1759829994100.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CBR%20%2F%3EI%20have%20checked%20that%20the%20GPIO17%20is%20indeed%20multiplexed%20correctly.%20This%20is%20correct.%3CBR%20%2F%3EI%20have%20tried%20using%20pull-down%20resistors%20(10K)%20on%20the%20DE%26amp%3B%2FRE%20pin.%20Didn't%20do%20anything.%3CBR%20%2F%3EI%20have%20tried%20sending%20test%20data%20directly%20using%20the%20serial%20driver%20in%20Zephyr.%20Didn't%20work.%3C%2FP%3E%3CP%3EI%20can%20tell%20it%20is%20sending%20correctly%20because%20my%20reader%20is%20correctly%20receiving%20a%20message.%20But%20the%20DE%20pin%20always%20stays%20high.%20This%20means%20it%20won't%20receive%20anything.%20Which%20is%20exactly%20what%20I%20am%20observing.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20had%20this%20issue%20with%20the%20STmicroelectronics%20UART%20driver%20as%20well%20where%20the%20hardware-controlled%20DE%20pin%20had%20the%20same%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20i%20fix%20this%20issue%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181390%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX93evk%20zephyr%20RS485%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181390%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252157%22%20target%3D%22_blank%22%3E%40zefox%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnfortunately%2C%20this%20channel%20does%20not%20provide%20support%20to%20Zephyr.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ESalas.%3C%2FP%3E%3C%2FLINGO-BODY%3E