# Parallel BUS problem

**URL:** <https://forum.sierrawireless.com/t/parallel-bus-problem/2394>\
**Category:** General\
**Created:** [August 4, 2008, 1:08pm UTC](https://forum.sierrawireless.com/t/parallel-bus-problem/2394 "2008-08-04T13:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzsolt](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mzsolt](https://forum.sierrawireless.com/u/mzsolt)\
**Post date:** [August 4, 2008, 1:08pm UTC](https://forum.sierrawireless.com/t/parallel-bus-problem/2394/1 "2008-08-04T13:08:09Z")

</div>

Hy all

I have a big problem width q2687h parallel bus . I use R7.1a FW .

I subs to parallel bus width success . I not get any error code . The write and read is working fine .  
But i not get any signal on A25 and A24 . The A1 line is working fine .

I investigate the problem and found a anomaly . I write zero to the address pin mask and A1 always  
working . I write 0x07ffffff to mask A1 is always working but A25 and A24 not . Maybe look like  
i set any one to address mask , not get any changes .

I modified the setting to CS2 from CS3 and CS2 output is comming out on the A24 line normaly .

Why not work the A25 and A24 line .

Here my init proc and after the wite proc

```auto
adl_busParallelSettings_t local_setting =
	{
	ADL_BUS_PARALLEL_WIDTH_16_BITS, //width
	ADL_BUS_PARALLEL_MODE_ASYNC_INTEL, //mode
	{0x00 , 0x00}, // NC , NC
	{2, 3, 1, 3, 0, 0, 0, 0}, //read timing
	{2, 3, 1, 3, 0, 0, 0, 0}, //write timing
	{
		ADL_BUS_PARA_CS_TYPE_CS, // CS
		3,																							
		{ 0x00,0x00 }
	},
	{ 0, 0 }, //PageCfg
	{ 0, 0, 0, 0, 0 }, //Synch Cfg
	0x07FFFFFF, //Address pin
	};

	local_handle = adl_busSubscribe ( ADL_BUS_PARALLEL , 1 , &local_setting );
```

```auto

           local_ret = adl_busDirectWrite ( local_handle , local_address , 1 , local_sendbuff );

           //local_address is now 0x03000002
```

---

<div class="post-metadata">

**Author:** ![mzsolt](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mzsolt](https://forum.sierrawireless.com/u/mzsolt)\
**Post date:** [August 6, 2008, 9:01am UTC](https://forum.sierrawireless.com/t/parallel-bus-problem/2394/2 "2008-08-06T09:01:49Z")

</div>

Ahh et finaly i found the problems .

Problem 1 : In the original external storage sample have a syntaxys problem in the bus init  
parameter setting . After the address mask found a extra “,” . If remove these  
the parameter is become working .

problem 2 : The businit (i dont know why ) not accept the hexadecimal settings only decimal .

problem 3 : In the sample have 0x07FFFFFF mask setting . The cpu accept the but not using 😃 that .  
If use the corret 0x03FFFFFF that working fine on 2687 . If use 0x07FFFFFF working only  
width WMP100 .

```
                I tested on both type . (WMP100 and 2687H)

                Now is working allbus is fine . :smiley: :smiley: :smiley: :smiley:
```
